I'm trying to display a progress bar or animation for an update panel that takes a while to load. The update panel is housing a chart that uses multiple chart areas, and the code behind is building these chart areas during the update.
I'm not sure what I'm missing using the UpdateProgress control. i know i should be adding an actual image in the progress template, but i'm holding off on that just trying to get the text to display as i have seen in some examples i have found.
sidenote* would it better to use updateprogress, or updatepanelupdateanimation extender?
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<div style="float:left; width:200px;">
<asp:TextBox ID="tbTestPassDate" runat="server" Width="150px"></asp:TextBox>
<asp:CalendarExtender ID="tbTestPassDate_CalendarExtender" runat="server"
Enabled="True" TargetControlID="tbTestPassDate" PopupButtonID="bCalendar" Format="d, MMMM yyyy">
</asp:CalendarExtender>
<asp:ImageButton ID="bCalendar" runat="server"
ImageUrl="~/Resources/Calendar_scheduleHS.png" />
</div>
<div style="float:left;">
<asp:Button ID="bGo" runat="server" Text="Go" width="70px" onclick="bGo_Click"/>
</div>
<div style="clear:both;"></div>
<div style="width:1024px;">
<asp:UpdatePanel ID="ReportUpdatePanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Chart ID="RunStatsChart" runat="server" Width="1024px" Height="600px"
ClientIDMode="Static" >
</asp:Chart>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="bGo" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="ReportUpdatePanel">
<ProgressTemplate>
loading please wait..
</ProgressTemplate>
</asp:UpdateProgress>
</div>