Usercontrol derived from Usercontrol - masterpage init is fired tw

G

Guest

Hello!

I created a master page and load usercontrols dynmamically during runtime.
So far so good. But for getting a unique frame with functionality buttons
like Add, save etc. I created a usercontrol "TemplateUserControl" with a
table, within this table a placeholder, where I wanna put in another user
control. So I get a unique look for all plus the benefit , that I can check
the permissions for the content in the Template control ( in one single
event).
In short; a template usercontrol that loads another usercontrol.
But, by doing this, the masterpage as initialized twice (init-event). I
don`t know why. Does someone out there know how to handle this??

Many thanks in advcance,


Stefan
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top