Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML and ASP.NET Controls..

Status
Not open for further replies.

PogoWolf

Programmer
Mar 2, 2001
351
US
Would there be a way to dynamicly create ASP.NET (1.1) controls though an XML file?

something like:
XML file:
<Items>
<control1>"<Input id=button1 type=button value='Fooa'>"/>
<control2>"<Input id=button2 type=button value='Foob'>"/>
<control3>"<Input id=button3 type=button value='Fooc'>"/>
</items>

and then in the code behind, create these controls on
the page?

TIA!!!




The PogoWolf
 
My Question isn't about something as simple as reading in the XML and displaying. IT's useing the XML to add controls to a form.. BUt I'm still looking though the google links.




The PogoWolf
 
It more or less as simple as that. Just read in the XML, then format it in the same way you normally would to create the control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top