|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
It appears the Callback panel redirect can not handle relative urls which could be a useful feature for people like me who place folder within folder etc.
As a regular Response.Redirect("~/TEST/TEST.aspx") CallBackPanel.Redirect("../../../TEST/TEST.aspx")
It would be easier if we could use ~ instead of ../ X times
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
Thanks for the suggestion. I believe Response.Redirect also works with the latest CallbackPanel control. Have you tried that?
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
Yes i have. I was under the impression though that it was best to use the callback panels redirect option is this not the case anymore?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
That is not the case any more. CallbackPanel.Redirect was implemented before Response.Redirect was supported. Once Response.Redirect was supported, CallbackPanel.Redirect has no more use. We do believe it makes sense to extend it support relative path as Response.Redirect does because the method is already there though.
Thanks!
|
|