?
Solved

programatically navigate to a new content page in c#

Posted on 2015-02-23
3
Medium Priority
?
70 Views
Last Modified: 2015-02-24
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
Comment
Question by:dhenderson12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
OriNetworks earned 2000 total points
ID: 40627316
One way is to do

Response.Redirect("pagename.aspx");
0
 

Author Comment

by:dhenderson12
ID: 40627322
will that cause the master page to refresh?  or do I need to use frames?
0
 
LVL 17

Expert Comment

by:OriNetworks
ID: 40627418
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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question