|
Rank: Member Groups: Member
Joined: 1/26/2009 Posts: 13
|
Hi,
It seems that when CallbackPanel.Redirect() is called from code within a DropDownList_SelectedIndexChanged code block, the Redirect() does not happen.
The Redirect() function seems to work fine when used in all other cases.
Perhaps a bug? Or is this by design?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That does not seem to be by design. :) Which version do you use? With the latest build (.63) you should be able to call Response.Redirect instead of CallbackPanel.Redirect. Response.Redirect should work in all cases so I would expect it to work with DropDownList_SelectedIndexChanged as well.
Please let us know if the problem continues.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/26/2009 Posts: 13
|
Hi there,
I've updated to the latest build (.63) and I'm still getting the problem.
I've changed CallbackPanel.Redirect() to Response.Redirect() and not working. It works fine with Onclick events for Buttons for example, but SelectIndexChanged of a DropDownList does not..
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/26/2009 Posts: 13
|
Hi there,
Not a bug, I hadn't the AutoPostback on for some reason, all fixed! And btw, good job making Response.Redirect() work, helps make the Controls as transparent as possible when working with native .net.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Glad to hear it's working for you. Thanks for the update!
|
|