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

Loading Panel & web user controls

1 Answer 60 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Iulian Ilies
Top achievements
Rank 1
Iulian Ilies asked on 08 Aug 2011, 09:18 PM
Does anyone have any experience using AjaxManager & AjaxLoadingPanel with web user controls?
Basically I have two user controls and I need to parial update one of them as a response to an event raised by the other.
The partial update happens but it's the loading panel that it's not displayed.
It seems that I cannot attach my sample application  but imagine something like that:
I have a RadMenu with 4 options (Red, Green, Blue, Clear) and a simple asp:panel. Whenever I click on a button the panel changes is background color accordingly. When I use them like that in a page and ajaxiify the whole thing the color of the panel will change within a partial update and the loading panel image will be displayed.
Then I created 2 user controls, one encapsulates the menu and raises an event ColorChageRequested and the other contains the panel. With this configuration the partial update happens but the loading panel won't show.
Then I tried 2 more combination the RadMenu with the second user control and the first user control with asp:Panel and the same thing, the partial update happens without the loading panel being displayed.
It seems that whenever a user control is involved the loading panel is not displayed.
Does anyone see what is wrong with this? Do I need to implement anything within the user controls in order to achieve what I want?
Thanks
Iulian

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 11 Aug 2011, 04:22 PM
Hello Lulian,

I assume the cause of the problem is that you have not specified the dimensions of the control the loading panel should show over.

Please try setting the width and height of the asp:Panel and let me know whether it helps.

Best wishes,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Ajax
Asked by
Iulian Ilies
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or