asp.net mvc - Where is the Source Code for Html.TextBoxFor -


i browsing source code of asp.net mvc 3 downloaded codeplex. m particularly interested in seeing source code of typed helper methods textboxfor , dropdownlistfor failed locate them in inputextensions.cs , elsewhere. plz can point out can find required code. purpose see how these helper methods add html 5's data-* attributes different input elements on form.
regards
adeel

get reflector (version 6. should somewhere available free), open system.web.mvc.dll , search inputextensions

or

get mvc source code, open in visual studio, , search inputextensions

edit: misread question..

i guess looking inputextensions.cs line: 371

tagbuilder.mergeattributes(htmlhelper.getunobtrusivevalidationattributes(name, metadata)); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -