You should use TRIGGERS in UpdatePanel
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<!--Content--> </ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnSubmit" /> </Triggers>
</asp:UpdatePanel>
In trigger section, Use the ID of the button or any control that makes the content post.