@model MvcApplication.Models.Models.DemoModel @{ bool IsShow= Model.Visible; } @if(IsShow) { Html.TextBoxFor(m=>m.CustomerName) } else{ Html.TextBoxFor(m =>m.CustomerName,new{disabled ="disabled") }
http://www.aspxtutorial.com/post/2010/11/24/Display-row-number-in-gridview-control.aspx
MVC 3 Razor TextBox max length@Html.TextBoxFor(model => model.Organization.OrganizationName, new { maxlength = 50 })
http://www.codeproject.com/Articles/28099/Refresh-Page-Issue-in-ASP-Net
DateTime Format in GridView ItemTemplate In Asp.net C#
http://hamidseta.blogspot.in/2011/06/datetime-format-in-gridview.html
http://afana.me/category/MVC.aspx
http://www.aspxtutorial.com/post/2010/11/24/Display-row-number-in-gridview-control.aspx
ReplyDeleteMVC 3 Razor TextBox max length
ReplyDelete@Html.TextBoxFor(model => model.Organization.OrganizationName, new { maxlength = 50 })
http://www.codeproject.com/Articles/28099/Refresh-Page-Issue-in-ASP-Net
ReplyDeleteDateTime Format in GridView ItemTemplate In Asp.net C#
ReplyDeletehttp://hamidseta.blogspot.in/2011/06/datetime-format-in-gridview.html
ReplyDeletehttp://afana.me/category/MVC.aspx
ReplyDelete