Hi all,
Head scratching :( I am trying to bind one value to label and back to model from label , but not working I can see the value in View but after post action controller method Model is not having that value.
Please suggest ! Can't Label values posted to the server like classic asp.net ?
public class MyModel
{
public MyModel()
{
}
public string FirstName {set; get;}
public string Desciptopn { set; get; }
public string EventDate2 { set; get; }
public bool Failed { set; get; }
}
<%
EventDate2.Text = Model.EventDate2;
%>
<asp:Label ID="EventDate2" runat="server" Text="Label"></asp:Label>