How to Design TextBox Control in Mvc3

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 802
How to Design TextBox Control in Mvc3
====================================
@model MvcApplication1.Models.Class1
<h2>@ViewBag.Message</h2>

@{
Response.Write(ViewBag.Test);
}

<div>
@Html.TextBoxFor(m => m.CityName, new { @style = "width:500px;color:red;", @id = "txtcity" })
</div>

Comments or Responses

Login to post response