Solved

programatically navigate to a new content page in c#

Posted on 2015-02-23
3
65 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
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
OriNetworks earned 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
exporting html table data 4 28
VS 2015 is giving [No relevant source lines] 2 30
Running powershell scripts from ASP.NET 6 31
Amazon S3 .Net error 5 21
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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