I have an UpdatePannel button and a text box. The button is inside the UpdatePannel control and the text box is outside the panel control, so when I click on the button, I want to print some text in the text box, which is under UpdatePanel control.
& lt; Asp: textbox id = "textbox3" runat = "server" & gt; & Lt; / Asp: text box & gt; & Lt; Asp: UpdatePanel ID = "Update Panel 1" Runat = "Server" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: Button ID = "Button 1" Runat = "Server" Text = "Button" /> & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel & gt; Any ideas ????
I want a text box outside the same update panel. Button should be in UpdatePannel.can, I have 2 UpdatePannels.one, second for textbox and button ???
Actually the text box should be inside or out of the update panel with the trigger of the update panel
& asp: UpdatePanel ID = "UpdatePanel1" runat = "server" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: Textbox ID = "Textbox 3" Run = "Server" & gt; & Lt; / Asp: text box & gt; & Lt; ASP: Button ID = "Button 1" Runat = "Server" Text = "Button" /> & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel & gt; OR
& lt; Asp: UpdatePanel ID = "Update Pencil 1" Runat = "Server" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: Textbox ID = "Textbox 3" Run = "Server" & gt; & Lt; / Asp: text box & gt; & Lt; / ContentTemplate & gt; & Lt; Trigger & gt; & Lt; Asp: AsyncPostBackTrigger ControlID = "Button1" /> & Lt; / Trigger & gt; & Lt; / ASP: UpdatePanel & gt; & Lt; ASP: Button ID = "Button 1" Runat = "Server" Text = "Button" />
Comments
Post a Comment