Solved

Server.Transfer going to the wrong page

Posted on 2006-11-03
2
192 Views
Last Modified: 2006-11-18
I'm working on an existing ASP.NET 2003 application and noticed that they use Server.Transfer to move to another page in the application.  

The problem is, I added a button to a form in the app that does a Server.Transfer to a new page.  When it executes, it does not go to the page specified, it goes to a different page.  Is anyone aware of any framework issues that need to be setup to allow a page to call another page? I know that the Server.Transfer doesn't actually display the right page name, but it's not going to the right place either.

Thanks so much!
0
Comment
Question by:MrDeveloper
2 Comments
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 500 total points
ID: 17867576
hi,

check any other response.redirect is there in the page load of the form from which ur caling the server.tranfer

also chek in the called form whether any code is there which is causing redirection

better put a break point in the page load of the called form

b u d d h a
0
 

Author Comment

by:MrDeveloper
ID: 17876867
Thanks buddha, that pointed me right to the problem!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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