Apply tool tip to a field in mvc3 application

Total Post:104

Points:728
 1510  View(s)
Ratings:
Rate this:

I have a field "name" in my model as follows

[StringLength(50,MinimumLength=2)]

public string name{ get; set; }


And in view its like as follows

 <li>

     <label >
     NAME</label>
     @Html.TextBoxFor(x => x.name)
 </li>

Can anybody please help me to put a lengthy tool tip for this field. Its in MVC.

Answer