S
Scal
Hello everyone;
I try to create a web user control that has a Repeater (not that hard)
to which I can add programmatically a new Repeater into ItemTemplate
part.
The point being to be able to build the following structure:
http://pascalc.nougen.com/stuffs/tmp.html
As you can see, basically I need to add a repeater to each
ItemTemplate to add a LinkButton when in 1st level parent/child
relation plus a TextBox control to put text in as element and repeat
the whole Repeater layout each time a relation is found (nesting
repeaters).
How do I get the structure to build the html output you see in the
HTML file is a SQL select that query has a database table and adds a
relation to the ID + Parent_ID columns (parent/child relation)
I get the result as an XML using myDataset.GetXml();
Currently I build this structure by parsing the XML data returned by
the dataset and use JavaScript to programmatically insert new elements
and child. I need to have these elements to be asp.net controls for
easier form processing when I will hit a save button; requesting each
TextBox web controls and not the "old" way (looping the request.form
to get each input data).
Any help/direction to accomplish this will be appreciated.
I try to create a web user control that has a Repeater (not that hard)
to which I can add programmatically a new Repeater into ItemTemplate
part.
The point being to be able to build the following structure:
http://pascalc.nougen.com/stuffs/tmp.html
As you can see, basically I need to add a repeater to each
ItemTemplate to add a LinkButton when in 1st level parent/child
relation plus a TextBox control to put text in as element and repeat
the whole Repeater layout each time a relation is found (nesting
repeaters).
How do I get the structure to build the html output you see in the
HTML file is a SQL select that query has a database table and adds a
relation to the ID + Parent_ID columns (parent/child relation)
I get the result as an XML using myDataset.GetXml();
Currently I build this structure by parsing the XML data returned by
the dataset and use JavaScript to programmatically insert new elements
and child. I need to have these elements to be asp.net controls for
easier form processing when I will hit a save button; requesting each
TextBox web controls and not the "old" way (looping the request.form
to get each input data).
Any help/direction to accomplish this will be appreciated.