Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project upon login i am redirecting to another page for that i have given Response.Redirect('Default.aspx",false) but it is not redirecting to the next page . but when i replaced it with Server.Transfer it is working fine. Now please tell me why the Response.Redirect is not causing postback and how to handle it
Posted
Comments
Ambesha 22-Oct-12 3:05am    
Please share your calling page hirechary.

try this,
Response.Redirect("Default.aspx");

hope it works fine.
all the best :)
 
Share this answer
 
Is that other page is located in the same project or project. if yes then it should work. else use server.transfer..
 
Share this answer
 
If the called url on same hirechery then it should work,
Thanks,
Ambesha
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900