Welcome Guest Search | Active Topics | Sign In | Register

Possible Bug - CallbackPanel.Redirect() on DropDownList_SelectedIndexChanged Options
ibraheem
Posted: Sunday, February 1, 2009 9:03:44 PM
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!
eo_support
Posted: Sunday, February 1, 2009 9:13:03 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,090
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!
ibraheem
Posted: Tuesday, February 3, 2009 8:14:42 PM
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
ibraheem
Posted: Tuesday, February 3, 2009 8:18:09 PM
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.
eo_support
Posted: Tuesday, February 3, 2009 8:57:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,090
Glad to hear it's working for you. Thanks for the update!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.