Hi Telerik team,
I am using view as below:
How to do the following things in in controller in asp.net mvc2 ?
I am using view as below:
<div class="editor-label">
<%
= Html.LabelFor(m => m.UserName) %>
</div>
<div class="editor-field">
<%
= Html.TextBoxFor(m => m.UserName) %>
<%
= Html.ValidationMessageFor(m => m.UserName) %>
</div>
How to do the following things in in controller in asp.net mvc2 ?
Textbox1.Focus();
Textbox1.Attributes.Add("Value", cookie1.Values["PassWord"].ToString());
Label1.Visible =
true;
Label1.Text = "test";
if (page.IsPostBack)
{
-------------
}
How to set css class for a label and textbox in view in asp.net mvc2 ?
With regards
Dayana