Refers to the `HtmlHelper` class for ASP.
I want to write an HtmlHelper to render an ActionLink with pre-set values, eg. <%=Html.PageLink("Page 1", "page-slug");%> …
asp.net-mvc html-helper actionlink urlhelper html.actionlinkI want to add some custom attributes to the input generated by @Html.EditorFor, I tried the following: @Html.EditorFor(…
asp.net-mvc asp.net-mvc-4 html-helper razor-2Is there an equivalent for MvcHtmlString in ASP.NET 5 ? Otherwise, how can we render HTML output from my custom HTMLHelper …
html-helper asp.net-core asp.net-core-mvcIs there a way to get an @Html.DisplayFor value to show "NULL" in the view if the value of …
asp.net-mvc razor html-helperHopefully an easy question for you asp.net mvc gurus: I have a checkbox, created like this: <%=Html.CheckBox("…
asp.net-mvc checkbox html-helperTLDR: How can I create a URL in the Controller similar to how I can use the HtmlHelper to create …
cakephp html-helper cakephp-2.x cakephp-3.xI have a list of enums that I am using for a user management page. I'm using the new HtmlHelper …
c# asp.net-mvc razor enums html-helperThis is a follow on from the following question: MVC 3 + $.ajax - response seems to be caching output from partial …
asp.net-mvc-3 jquery html-helperIn the world of MVC I have this view model... public class MyViewModel{ [Required] public string FirstName{ get; set; } } ...and …
asp.net-mvc data-annotations html-helperWhat's up with this? The viewmodel variable is a bool with value true. <%= Html.HiddenFor(m => m.TheBool) %&…
asp.net-mvc html-helper html.hiddenfor