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

radloading panel and an asp:panel

3 Answers 39 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
andieje
Top achievements
Rank 1
andieje asked on 29 Jun 2009, 11:13 PM
Hi

I have a page which consists of a form/submit button and then a panel which displays the 'results' of the form submission. This asp panel is not visible when the page is first loaded. when the submit button is pressed, the panel is made visible and the results are calculated and shown in the panel. The page is controlled by the ajax manager so that the panel is made visible via a partial postback

 the rad loading panel for the asp panel is not shown when the page is submitted. I thought the answer might be that the asp panel is not visible when the page is submitted. SO i made the asp panel visible when the page is first loaded. The panel then contained labels and a grid without any data in them. The loading panel still was not displayed. However when i explicitly set the size of the panel, the loading panel was then shown. You have to set both the height and the width but then you get the loading panel

This behaviour makes no sense to me. I understand the loading panel not being shown when the panel was not visible but I do not understand why the loading panel was not shown when the panel was visible with controls in it. And i do not understand why setting the asp panel height and width then made the loading panel work.

hope you can clarify this for me

thanks

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 Jun 2009, 09:38 AM
Hello Andieje,

RadAjaxLoadingPanel doesn't support the UpdatePanel out-of-the-box. However you can show it manually as I suggested in the following link:
Loading panel with asp:UpdatePanel

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
andieje
Top achievements
Rank 1
answered on 30 Jun 2009, 06:36 PM
Hello

I am not using an UPdatePanel. I am using a standard asp:panel. Please can you explain/clarify the behaviour I described in my initial post.

thanks
0
Dimo
Telerik team
answered on 01 Jul 2009, 01:32 PM
HI,

By default, the RadAjaxLoadingPanel assumes the dimensions of the updated control. If the updated control has no child controls (and as a result its height is zero), then the RadAjaxLoadingPanel's height will also be zero and you will not see it.


Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
andieje
Top achievements
Rank 1
Answers by
Daniel
Telerik team
andieje
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or