ASP.NET - in how i use giff image ..when i uplod image in ajex panel giff image is show...

Asked By Sohaib Jamil on 24-Sep-12 12:27 PM
in how i use giff image ..when i upload image in file uploader then in ajex panel giff image is show for a moment and then redirect to default.aspx. thanks ...
Jitendra Faye replied to Sohaib Jamil on 25-Sep-12 12:16 AM
For this you can use UpdateProgress.

Use UpdateProgress like this-


    <form id="form1" runat="server">

      <asp:ScriptManager ID="ScriptManager1" runat="server" />

      <asp:UpdateProgress runat="server" id="PageUpdateProgress">





      <asp:UpdatePanel runat="server" id="Panel">


          <asp:Button runat="server" id="UpdateButton" onclick="UpdateButton_Click" text="Update" />





The following method should be added to your CodeBehind file:

protected void UpdateButton_Click(object sender, EventArgs e)




Hope this will help you.