Click here to Skip to main content
16,016,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi coders,

I have two page

Home.aspx and UpdateItem.aspx

I am redirect to update page by clicking link on Home page and update details in UpdateItem page when i click on update button i want to redirect to Home.aspx page with URL as Home.aspx in browser currently when i click on update button on UpdateItem.aspx page it is redirecting to home with same UpdateItem.aspx?RequestNumber=... details.

How to show only Home.aspx and not UpdateItem.aspx?RequestNumber=...

What I have tried:

Rite now i am using server.transfer(); to redirect from update page to redirect it to home page.

Any suggestion appreciated !!!
Posted
Updated 7-Aug-16 19:32pm

1 solution

use Response.Redirect("Home.aspx") for redirecting to home.aspx page.
 
Share this answer
 
Comments
amitesh1989 8-Aug-16 6:04am    
Thanks :)

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



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