Hi All,
What's the different between 1 & 2?
1. <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate> (Content) </ContentTemplate></asp:UpdatePanel>
2. <asp:UpdatePanel ID="UpdatePanel1" runat="server"> (Content) </asp:UpdatePanel>
Thanks,
Stard
1 is the correct syntax. UpdatePanels have only 2 controls which are allowed inside, <ConentTemplate> and <Triggers>. Add the updatepanel as you in example 1 and place your controls within the ContentTemplate
2 wouldn't work or compile as far as i know
No comments:
Post a Comment