ProgressBar oneed to add in Place holder using asp.net

Below code inside PlaceHolder Control, i have a Dynamic Gridview on server side here i need to add progress bar.  
Kindly guide me to resolve this issue.

Giude me hw to resolve


<table><tr>
                <td align="left" colspan="2" style="width: 100%;">
                    <asp:PlaceHolder ID="phDynamicGridHolder" runat="server"></asp:PlaceHolder>                </td>
            </tr></table>
LVL 1
elaxaAsked:
Who is Participating?
 
elaxaConnect With a Mentor Author Commented:
Problem resolved using below code
<asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdateProgress ID="updateprogress1" runat="server">
            <ProgressTemplate>
                <div id="Background">
                </div>
                <div id="Progress">
                    <img src="Image/progress.gif" style="vertical-align: middle" alt="" />
                    Fetching Records Please Wait...</div>
            </ProgressTemplate>
        </asp:UpdateProgress>

 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:PlaceHolder ID="phDynamicGridHolder" runat="server"></asp:PlaceHolder>
                        </ContentTemplate>
                        <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="btnSubmit" />
                         
                        </Triggers>
                    </asp:UpdatePanel>
0
 
Bob LearnedCommented:
Are you looking for a progress bar, like the JQuery UI progress bar, or a way to implement one in that HTML shown?
0
 
elaxaAuthor Commented:
<table>
    <tr>
         <td>
             <asp:button id=btnTest runat="server"/>
         </td>
   </tr>

    <tr>
         <td align="left" colspan="2" style="width: 100%;">
              <asp:PlaceHolder ID="phDynamicGridHolder" runat="server"></asp:PlaceHolder>                        </td>
      </tr>
</table>


When i click =btnTest button i need to populate dynamicgrid view in place holder before retreiving the value i need to show progress bar.

How to acheive guide me?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
Bob LearnedCommented:
If you have the AJAX Control Toolkit, with an UpdatePanel and an UpdateProgress, you can achieve the effect that you desire.

Introduction to the UpdateProgress Control
http://msdn.microsoft.com/en-us/library/bb386421(v=vs.100).aspx
0
 
elaxaAuthor Commented:
I implemented Ajax progress bar in placeholder then progress bar working fine but value not populated
0
 
Bob LearnedCommented:
"progress bar working fine but value not populated"
That doesn't make sense...
0
 
elaxaAuthor Commented:
Hi,

Thanks for your wonderful reply.

I need show progressbar before display the value in place holder.
0
 
Bob LearnedCommented:
Can you give me some more background details, about how that is supposed to work?  This might need to be a client-side script, but I am not sure that is necessary or not...
0
 
elaxaAuthor Commented:
After using async postback trigger its working fine
0
 
elaxaAuthor Commented:
After using async postback trigger its working fine,.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.