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!

Nested controls

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
I have a dynamic control which creates elements depending on arguments given in the tag:

<Custom:someTag param_1=&quot;some value&quot; .../>

The ascx file contains a form - and depending on a value given I need to add a number of controls. this works fine if I want to just add the controls directly to the form, but in reality I need to be able to format the output.

Ideally I would like to add the controls to a HtmlTable, format it, and then add that as a control to the form. Trouble is, the form can't see the controls when I do that, because the controls are in one of the table cells.


Is it possible to make the parent control see all the nested ones?

<bb/>
 
I'm curious. Have you tried using panels? Daren J. Lahey
Just another computer guy...
 
Panels do the same thing - the form still does not see the controls contained by the panel as it's own.

<bb/>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top