code_junkie

Master Pages and Postback in ASP.NET

Nov 13th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <asp:UpdatePanel id="MyUpdatePanel" runat="server" ChildrenAsTriggers="True">
  2. <ContentTemplate>
  3. ...Stuff you want updated
  4. </ContentTemplate>
  5. </asp:UpdatePanel>
  6.  
  7. <asp:UpdatePanel id="MyUpdatePanel" runat="server">
  8. <ContentTemplate>
  9. ...Stuff you want updated
  10. </ContentTemplate>
  11. <Triggers>
  12. <asp:AsyncPostBackTrigger ControlID="MyButtonControl" EventName="Click" />
  13. </Triggers>
  14. </asp:UpdatePanel>
Add Comment
Please, Sign In to add comment