just add them to your Controls collection (and render your children). you do
no need a placeholder, because your tab control can be placed on the form.
-- bruce (sqlwork.com)
"Marius Trælnes" <ma*******************@nospamc2i.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
| Hello Franck,
|
| This was not an answer to my question. How to make the tab control i know.
I
| asked about how to add existing user controls into the custom tab control.
| Forget the tab control if that is confusing. How to add existing user
| controls into some dynamic generated html then. What is the best approach?
|
| Thanks for trying though...
|
| Marius
|
| "Franck Quintana" <la*****@wanadoo.fr> wrote in message
| news:41**********************@read.news.fr.uu.net. ..
| > Hi,
| >
| > My suggestion is the next.
| > I think a tabbed control is "just" a serie of labels displayed in a
| peculiar
| > way.
| > That is to say, a tabbed control can be composed of
| >
| > <ul><li>tab1</li><li>tab2</li><li>tab3</li></ul> (this example was the
| > choice of Scott Watermasysk
http://www.scottwater.com)
| >
| > After that, you must specify styles for each tag (this is the hard work)
| and
| > create a style for selected tab if you want to handle a persistable
| > seletected tab or when the mouse pointer hovers it.
| >
| > I suggest you to take a look at scott site because i think it's a very
| good
| > example of how to use css.
| >
| > Hope this helps!
| > Regards,
| > Franck Quintana
| > Active+ Software
| >
http://www.activeplus.com
| >
| >
| > "Marius Trælnes" <ma*******************@nospamc2i.net> wrote in message
| > news:ei**************@tk2msftngp13.phx.gbl...
| > | Hello!
| > |
| > | I am about to make a class/control that creates tabbing functionality.
| The
| > | result is in HTML/CSS/JavaScript output.
| > |
| > | My question is: Within the tabs I want to simply add user controls and
| > | without loosing viewstate etc etc. How can this be done? What is best
| > | practice?
| > |
| > | I guess the answer for my question lies in how I design/develop the
tab
| > | class/control. One solutions might simply to have a placeholder
created
| > for
| > | each tab (and then the usercontrol to be in that tab added to the
| > | placeholder).
| > |
| > | Any comments/suggestions appreciated.
| > |
| > | Marius
| > |
| > |
| >
|
|