Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Redirect with in the ajax service
i am using this code did not working properly

HttpContext.Current.Response.Redirect("Acces.aspx");
Posted

1 solution

You should not redirect from the Service.

Instead, return some value from Service, which tells you whether to redirect or not. If yes, then redirect by setting the window.location property if you want to do from client side. Else use Response.Redirect from Server side.
 
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