Redirect in AJAX
-
hi, anybody know how to use response.redirect in AJAX update Panel
-
hi, anybody know how to use response.redirect in AJAX update Panel
<asp:UpdatePanel ID="udpAdd" runat="server"> <ContentTemplate> <asp:Label ID="lblOffId" runat="server" Width="30px"></asp:Label> <asp:Button runat="server" ID="Button1" Text = "Click me" OnClick="Button1_Click" /> </ContentTemplate> </asp:UpdatePanel> protected void Button1_Click(object sender, EventArgs e) { Response.Redirect("Default.aspx"); }
------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates
-
hi, anybody know how to use response.redirect in AJAX update Panel
there is a problem with Ajax update pannel and thats why you cannot use Response.Redirect. to use this you have to take your button out of Update Pannel
Usman Munier Xavor Corporation Pakistan