I want to set the value of a hidden field from a controller.How can i do this?
In view part i have given like this..
<div> @Html.Hidden("hdnFlag", null, new { @id = "hdnFlag" }) </div>