How to use Server.Transfer or Response.Redirect from ajax UpdatePanel?
Asked
Active
Viewed 4,771 times
1
-
1Please describe the problem you are having in more detail. – Oded Feb 05 '10 at 11:49
3 Answers
1
Without being harsh, it really doesn't make sense to be able to. I think some reading about AJAX would make it clear.
But you could write following to the browser.
<script type="text/javascript">window.location = "URL"</script>

はると
- 1,489
- 8
- 20
0
Never mind, i just found out myself
use javascript inside ur Updatepanel like the code below.
c# code:
String TransferPage = "window.open('Gallery-Page.aspx','_self');";
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "temp", TransferPage, false);
Even u can give hyperlink instead of "Gallery-Page.aspx"
Thanks,
Asem Ibohal

Asem Ibohal
- 59
- 2
- 6
0
UpdatePanel supports Response.Redirect. It works OK for me. What error do you get?

thorn0
- 9,362
- 3
- 68
- 96