1. Page Definition: <asp: updatepanel id = "updatepanel1" runat = "server">
<Contenttemplate>
-- Controls and other Div
</Contenttemplate>
<Triggers>
<Asp: asyncpostbacktrigger controlid = "btnprirefresh"/>
<Asp: asyncpostbacktrigger controlid = "delete"/>
</Triggers>
</ASP: updatepanel>
2. toolkitscriptmanager must be defined
(1). Use WebService
<Ajaxtoolkit: toolkitscriptmanager id = "scriptmanager1" runat = "server">
<Services>
<Asp: servicereference Path = ".../WebService. asmx"/>
</Services>
</Ajaxtoolkit: toolkitscriptmanager>
(2) WebService is not used
<Ajaxtoolkit: toolkitscriptmanager id = "scriptmanager1" runat = "server">
</Ajaxtoolkit: toolkitscriptmanager>
3. triggers
The control in triggers does not need to be written to updatepanel. As long as it is defined in triggers, this control also achieves the effect of putting it in updatepanel.
4. Common sense
Generally, you need to use triggers when adding or deleting data to updatepanel. you can press the button to put it into triggers,
This button is used to re-bind the dataset.