• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 76
  • Last Modified:

programatically navigate to a new content page in c#

I have a web site that uses master-content pages (1 master page, 2 content pages).  how can I navigate to the second content page from code behind in first content page?
0
dhenderson12
Asked:
dhenderson12
  • 2
1 Solution
 
OriNetworksCommented:
One way is to do

Response.Redirect("pagename.aspx");
0
 
dhenderson12Author Commented:
will that cause the master page to refresh?  or do I need to use frames?
0
 
OriNetworksCommented:
Redirect will change the url of the current page including the masterpage if it has one since masterpage is only a template for layout.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now