Dynamically created User Controls on WebTab: Event wiring

2 replies. Last post: September 9, 2009 11:50 PM by Gordon Tumewu
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
matthiasmaxMember

Hi,

I use a WebTab with Contentmode = Inline with dynamically created user controls. What doesn’t work is the event wiring. The events of for example a button on a user control isn’t fired. This is only when I use the WebTab.

When I use a dynamically loaded user control on a normal place holder on a form the event of the button is fired.

Please see the attached project to see what I mean. How can I use the WebTab and still have the events fired in the user controls?

I read on the net that it has to do with the page life cycle and therefore I added the code in Page_Init not in Page_Load.

The attached file is the working one. What I need is a solution where user controls are loaded into the Webtabs INCLUDING event functionality.

Thank you

All times are GMT -5. The time now is 2:22 PM.
Previous Next