in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

This Blog

Syndication

The ASPx Blog - Mehul Harry's DevExpress Blog

Redirect Callback using an ASPxHttpHandler Module

Check out this three minute video on how to redirect from within an Ajax callback. Normally, to redirect, you would call the HttpResponse.Redirect method and pass the URL you want to redirect the current page to. But the Redirect method doesn’t work in a callback.

Here’s where the ASPxHttpHandler Module, with its multiple uses, comes to the rescue. With the ASPxHttpHandler Module, you can just check the IsCallback method, then set the HttpResponse.RedirectLocation property and you’ve got a seamless redirection. Click the image below to learn more. Then drop me a line here and let me know what other approaches you could use to get this redirection.

 

image

Comments

 

Rick said:

Thanks for this tutorial. I had been wondering how to do that until i read this.

August 23, 2008 9:07 AM
 

tule mon said:

good tutorial - I was stuck until I found this

Thanks

September 18, 2008 6:50 PM
 

Kevin Jullion_1 said:

awesome stuff, was just what I was looking for just now and the example was clear and concise enough to make it very easy to implement...thanks guys!

October 31, 2008 4:54 PM

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED