C
Chris Kettenbach
Good Morning,
I have a user control I dynamically load in the page_init event into a
asplaceholder control. This page also has another placeholder I would
like to dynamically load controls into when the user takes an action on my
first dynamically loaded control.
Control 1 is a couple of asp:button controls. I am able to tap into their
events, but in the code behind, I want the click event of one of the buttons
to load another user control into the 2nd placeholder control on the page.
Does this make sense. I am sure it's some kind of "parent" or "page"
reference to reference placeholder #2. Also with I need to remove a
previosly loaded control from the placeholder when I wish to change the
control in it?
Any and all suggestions are welcome.
Kind Regards,
Chris
I have a user control I dynamically load in the page_init event into a
asplaceholder control. This page also has another placeholder I would
like to dynamically load controls into when the user takes an action on my
first dynamically loaded control.
Control 1 is a couple of asp:button controls. I am able to tap into their
events, but in the code behind, I want the click event of one of the buttons
to load another user control into the 2nd placeholder control on the page.
Does this make sense. I am sure it's some kind of "parent" or "page"
reference to reference placeholder #2. Also with I need to remove a
previosly loaded control from the placeholder when I wish to change the
control in it?
Any and all suggestions are welcome.
Kind Regards,
Chris