Solved

Server.Transfer going to the wrong page

Posted on 2006-11-03
2
194 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 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