I have a dropdown list in my SharePoint Webpart and upon selection of a value from the dropdown list (selectindexchanged) I am showing a aspnet treeview. The issue I face is the TreeView control takes a while to load content. I wonder if there is any jQuery that I could utilize that keeps the end user abreast that the request is in progress utilizing a progress bar etc.
I cannot use AspNet Ajax as TreeViews cannot be rendered in Ajax. Please if you can provide any jQuery code it would be great.
Below is an excerpt of my HTML that I have in my user control:
<td width="70%" id="div_DCL">
<asp:DropDownList ID="ddl_DCL_ModifiedDate" runat="server" OnTextChanged="DCL_ModifiedDate_Changed" AutoPostBack="true">
<asp:ListItem Value="7" Text="Modified Within Last Week" Selected="True"></asp:ListItem>
<asp:ListItem Value="30" Text="Modified Within Last Month"></asp:ListItem>
<asp:ListItem Value="180" Text="Modified Within Last 6 Months"></asp:ListItem>
<asp:ListItem Value="365" Text="Modified Within Last Year"></asp:ListItem>
<asp:ListItem Value="3650" Text="Modified Longer Than a Year"></asp:ListItem>
</asp:DropDownList>
<br />
<asp:TreeView ID="tvDocumentLibrary" runat="server"></asp:TreeView>
</td>