M
marss
Hello,
I have a question concerning UpdatePanel.
For example, I have two linkbuttons at the UpdatePanel. I want the
Button1 linkbutton to update controls within panel (the TextBox1
control in this case), and the Button2 linkbutton perform redirect to
another page. When I click on Button2 it returns a new page content as
the result of the asynchronous request.
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:LinkButton ID="Button1" Runat="server">Change
textbox</asp:LinkButton>
<asp:LinkButton ID="Button2" Runat="server">Redirect to another
page</asp:LinkButton>
</ContentTemplate>
</asp:UpdatePanel>
Is there any way to do ordinary postback by means of a control placed
on UpdatePanel? For some reason I can't remove Button2 out of the
UpdatePanel.
Thanks.
I have a question concerning UpdatePanel.
For example, I have two linkbuttons at the UpdatePanel. I want the
Button1 linkbutton to update controls within panel (the TextBox1
control in this case), and the Button2 linkbutton perform redirect to
another page. When I click on Button2 it returns a new page content as
the result of the asynchronous request.
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:LinkButton ID="Button1" Runat="server">Change
textbox</asp:LinkButton>
<asp:LinkButton ID="Button2" Runat="server">Redirect to another
page</asp:LinkButton>
</ContentTemplate>
</asp:UpdatePanel>
Is there any way to do ordinary postback by means of a control placed
on UpdatePanel? For some reason I can't remove Button2 out of the
UpdatePanel.
Thanks.