G
Guest
Hi,
I have a page that will need to dynamically use 4 different user controls
based on a Query String passed to it.
Currently I have the @Register for each control and the <tagprefix: tagname>
in a case statement depending on the quesry string. However, when the page
is loaded, all 4 user controls seem to be compiled and instantiated when the
page runs. Therefore causing various problems when submitting the page.
Is there a way to conditionally load a user control based on a querystring?
Thank you in advance
David
I have a page that will need to dynamically use 4 different user controls
based on a Query String passed to it.
Currently I have the @Register for each control and the <tagprefix: tagname>
in a case statement depending on the quesry string. However, when the page
is loaded, all 4 user controls seem to be compiled and instantiated when the
page runs. Therefore causing various problems when submitting the page.
Is there a way to conditionally load a user control based on a querystring?
Thank you in advance
David