Click here to Skip to main content
15,992,684 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Web solution has two pages Audit summary aspx and Caseinformationopt2.aspx both page use Commanheader header user control.on Commanheader there is link 'Update Case Status' it is also user control with the help of this control i will update case status of cases in the system.On 'Update Case Status' control has btn_Save(); when call this method from Audit summary aspx status update properly it is redirect on Audit summary aspx. it is use Server.Transfer(HttpContext.Current.Request.Url.LocalPath); LocalPath shows /AuditSummary.aspx page properly.But when same case update from CaseInfromation page it will give me error beacuse of Caseinformationopt2.aspx page in Option2 folder. it also use Server.Transfer(HttpContext.Current.Request.Url.LocalPath) in local path it shows /option2/Caseinformationopt2.aspx. how solved this problem.
Posted
Comments
ravijain03 23-Apr-12 9:55am    
Instead of Server.Transfer(HttpContext.Current.Request.Url.LocalPath); use Response.Redirect(Page.AppRelativeVirtualPath); my problem solved

1 solution

Adding this to remove it from Unanswered queue. OP got it resolved by himself.
 
Share this answer
 

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