Good Morning,
I have a little problem with User control and Server.Execute method. This is
my code:
//Load Top of the Page
this.Controls.A dd(LoadControl( "/controls/HeaderHTML.ascx "));
//Load Body
Server.Execute( strPageUrl);
//Load Bottom of the page
this.Controls.A dd(LoadControl( "/controls/FooterHTML.ascx "));
The problem is that the runtime execute before the server.execute statement
and then the load the control.
How can i solve it?
Thanks
GvnnRulez
I have a little problem with User control and Server.Execute method. This is
my code:
//Load Top of the Page
this.Controls.A dd(LoadControl( "/controls/HeaderHTML.ascx "));
//Load Body
Server.Execute( strPageUrl);
//Load Bottom of the page
this.Controls.A dd(LoadControl( "/controls/FooterHTML.ascx "));
The problem is that the runtime execute before the server.execute statement
and then the load the control.
How can i solve it?
Thanks
GvnnRulez