Hi All,
The asp.net ajax controls documentation has a great example of how to show a loading panel on initial page load. What would we have to do to have some text under the animated gif changing based on some server side work?
So it would look like.
[Loading.gif]
Loading frames...
then...
[Loading.gif]
Adding Layers...
then....
and finally showing the page.
Something like
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
{
if (e.Argument == "InitialPageLoad")
{
//simulate longer page load
System.Threading.Thread.Sleep(2000);
Label lbl = (Label)RadAjaxLoadingPanel1.FindControl("labelLoading");
lbl.Text = "Adding Layers...";
System.Threading.Thread.Sleep(2000);
Panel2.Visible = true;
Is there a way to have the server send the new label text back to the client and have it refreshed? It looks like one can either poll from the client, or push from the server (reverse ajax) what's the Telerik way to accomplishing this?
Thanks!