L
Lubo¹ ©lapák
Hi,
I have the main page "default.aspx". I have also UserControls
"content1.ascx" and "content2.ascx". How can I write in "default.aspx" this:
if true then
show content1.ascx
else
show content2.ascx
I know I create in HTML code of "default.aspx" this line:
'<content1:content1 id="content" runat="server" />' then in the page is the
content1, but how can i manage this dynamically?
I have the main page "default.aspx". I have also UserControls
"content1.ascx" and "content2.ascx". How can I write in "default.aspx" this:
if true then
show content1.ascx
else
show content2.ascx
I know I create in HTML code of "default.aspx" this line:
'<content1:content1 id="content" runat="server" />' then in the page is the
content1, but how can i manage this dynamically?