How to allow the Html action to a property in Asp.Net MVC ?

Posted by Goud.Kv under ASP.NET MVC category on | Points: 40 | Views : 1009
The below code snippet is to allow and perform the html action for a stored value.

In the Model class of your application,

public class myModel {
public string EmbedCode { get; set; }

Setting '[AllowHtml]' to a property allows Html Action to perform.

Comments or Responses

Login to post response