views:

399

answers:

3

Any help will be appreciaded.

A: 

See link below

http://asimsajjad.blogspot.com/2009/04/calling-dopostback-function-for-aspnet.html

hope that will help.

Asim Sajjad
+3  A: 

You can use the Triggers property of the UpdatePanel to register actions that trigger a full postback.

Add a PostBackTrigger object to that property, containig the ControlID of the control which needs to trigger a full postback.

<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
    <ContentTemplate>
        ...
    </ContentTemplate>
    <Triggers>
        <asp:PostBackTrigger ControlID="myFullPostBackControlID" />
    </Triggers>
</asp:UpdatePanel>
Thibault Falise
+2  A: 

From here:

Use the PostBackTrigger control to enable controls inside an UpdatePanel to cause a postback instead of performing an asynchronous postback.

 <Triggers>
    <asp:PostBackTrigger ControlID="controlID" />
 </Triggers>
Aseem Gautam
+1 - Too fast @Aseem!
thedugas