• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 543
  • Last Modified:

UpdateProgress not display

Hi experts,
I have this code but when I click the treeview associated code runs correctly, but while he runs the updateprogress is not displayed.

Can help me?
<asp:UpdatePanel ID="upPrincipal" runat="server">
          <ContentTemplate>
           <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
            AssociatedUpdatePanelID="upPrincipal" DisplayAfter="100">
            <ProgressTemplate>
              <img src="imagens/ajax-loading.gif" alt="Carregando" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <div id="dGrid" style="width: 100%; text-align: center;">
            <asp:GridView ID="gvDocs" runat="server" BackColor="White" 
                BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                GridLines="Vertical">
                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="#DCDCDC" />
            </asp:GridView>
            
        </div>
        </ContentTemplate>
        <Triggers>
          <asp:AsyncPostBackTrigger ControlID="tvTipos" EventName="SelectedNodeChanged" />
        </Triggers>
        </asp:UpdatePanel>

Open in new window

0
fsouzabrasil
Asked:
fsouzabrasil
  • 2
1 Solution
 
Praveen VenuCommented:
can u try this



 
<asp:UpdatePanel ID="upPrincipal" runat="server">
          <ContentTemplate>
          
        <div id="dGrid" style="width: 100%; text-align: center;">
            <asp:GridView ID="gvDocs" runat="server" BackColor="White" 
                BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                GridLines="Vertical">
                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="#DCDCDC" />
            </asp:GridView>
            
        </div>
        </ContentTemplate>
        <Triggers>
          <asp:AsyncPostBackTrigger ControlID="tvTipos" EventName="SelectedNodeChanged" />
        </Triggers>
        </asp:UpdatePanel>
 
 
 <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
            AssociatedUpdatePanelID="upPrincipal" DisplayAfter="100">
            <ProgressTemplate>
              <img src="imagens/ajax-loading.gif" alt="Carregando" />
            </ProgressTemplate>
        </asp:UpdateProgress>

Open in new window

0
 
fsouzabrasilAuthor Commented:
don't work.

Thanks...
0
 
rajputamitdCommented:
I think there is some property where we can set the Time within which the progress bar is displayed.
0
 
rajputamitdCommented:
I mean in UpdatePanel.You can increase the time of it to make ur progress bar visible.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now