In this tutorial I will show you that how can we enable & disable validator controls using javascript. Lets say bellow is the control which I want to disable <asp:requiredfieldvalidator id="reqValidator" display="Dynamic" runat="server" errormessage="It is required" controltovalidate="mtTextbox" /> to...
If we want to call action of same controller with parameters then from view the we use @Html.ActionLink("LinkText","ActionName","ControllerName",new{id = idValue}) e.g. @Html.ActionLink("Edit","Edit","Home",new{id = 3}) then link generated will be “http:localhost/Home/Edit/3” If we use same structure for calling action from...