I need to create dynamic fields (text boxes, combo) based on the entries in an XML file < P> I read the ATTRIBUTES XML tag and it has to create the type of control and add assumptions for it. Can someone say how to use MVC3 to create dynamic controls, because I do not have separate classes for the model Because for every screen The XML file will change and I will have a screen that will generate this page for me ...
You can create your own HTML helper work to do this, it has built-in support such as For example your administrator html .extboxFor (x = & gt; x.id) . So, you can write your own
html.RenderFor ((=)> xmlDocumentBindedToyYourView)
Public Action Render () {XMLDocument xdoc; // Reading your XML Doctor .... See Return (ExDock); }
Comments
Post a Comment