Below is a sample code demonstrating how to use Html attributes for TextBoxFor in ASP.NET MVC
How to use Html attributes for TextBoxFor in ASP.NET MVC ?
@Html.TextBoxFor(model => model.WebsiteURL, new { disabled = "disabled" })
Below is a sample code demonstrating how to use Html attributes for TextBoxFor in ASP.NET MVC
@Html.TextBoxFor(model => model.WebsiteURL, new { disabled = "disabled" })
Leave a Reply