Solved

Server.Transfer going to the wrong page

Posted on 2006-11-03
2
189 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
Comment Utility
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
Comment Utility
Thanks buddha, that pointed me right to the problem!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now