ChildControls disappear after Clicking

S

Sandy

Hi there,

I am developing my own TabControl. So I wrote a property "add", to
create tabs. The TabControl is made of Buttons and inherits the
WebControl Class. And it overrides my CreateChildControls Method.



If I create my Tabs in my base CustomControl Class with Me.add =
"Tab1", everything works fine.

Problem:
When I create my Tabs from ohter contexts, like in CodeBehind the
WebApllication starts normal, but as soon as I click to one of the
Buttons, the complete TabControl disappear.

I want to add my tabs from other contexts.


I'll hope anybody could help me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top