This is a migrated thread and some comments may be shown as answers.

[Solved] LoadingPanel to show progress indicator?

6 Answers 254 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 Oct 2009, 11:56 PM
Hi:

I am working on an application that does some processing when the user clicks a button, and I'd like to show a progress indicator while the code runs. I followed the RadAjaxLoadingPanel example and got the indicator to show, but then the code doesn't work. So in the attached images 1 and 2 show what happens with no LoadingPanel, the user clicks Login and the code populates the drop-down.

When I add the Loading Panel it shows the indicator, 3.png, but then when it is finished the drop-down does not populate, see 4.png.

Can anyone make a suggesiton as to how I can get this to work?

Thanks in advance for any and all advice.

John.

6 Answers, 1 is accepted

Sort by
0
Thomas Salt
Top achievements
Rank 1
answered on 16 Oct 2009, 02:47 PM
If you could supply your code it would be easier to assist. Thank you.
0
John
Top achievements
Rank 1
answered on 17 Oct 2009, 01:03 PM
Hi:

I have attached the files...please note the authtentication and drop-down loading is done from a Dynamics CRM installation, but it should be relatively easy to modify to have the drop-down populate some other way no? Note I had to change the file extensions to ".png"

John.
0
John
Top achievements
Rank 1
answered on 17 Oct 2009, 01:12 PM
HI:

I changed the code in the cmdLogin method to this:

    Thread.Sleep(5000);
    for (int i = 0; i < 25; i++)
    {
      drpActiveRfps.Items.Add(i.ToString());
    }


Same result, the drop-down does not populate...

John.
0
Iana Tsolova
Telerik team
answered on 18 Oct 2009, 09:04 AM
Hi John,

I suggest that you try setting the LoadingPanelId of the RadAjaxPanel and remove the RadAjaxManager. Another option is to replace the RadAjaxPanel with ASP:Panel and ajaxify it with the RadAjaxManager as described here.

Regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Thomas Salt
Top achievements
Rank 1
answered on 19 Oct 2009, 02:26 PM
The images you posted do not work.  Thank you.
0
John
Top achievements
Rank 1
answered on 20 Oct 2009, 12:07 PM
Hi:

That seemed to work, thanks!

John.
Tags
Ajax
Asked by
John
Top achievements
Rank 1
Answers by
Thomas Salt
Top achievements
Rank 1
John
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or