By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,673 Members | 1,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,673 IT Pros & Developers. It's quick & easy.

Web user control - Server.execute

P: n/a
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.Add(LoadControl("/controls/HeaderHTML.ascx"));
//Load Body
Server.Execute(strPageUrl);
//Load Bottom of the page
this.Controls.Add(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
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.