DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 10 Aug 2007 12:37:36 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Scal


Programmatically nested Repeaters: possible? how?   
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.
Date:Fri, 10 Aug 2007 12:37:36 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us