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

Loading Panel to match resized control

2 Answers 32 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 2
Matt asked on 14 Jun 2011, 04:44 PM
I am using the RadAjaxManager / RadAjaxProxyManager to update a datalist.  I have added a MinDisplayTime so the user has time to see the notification of the update.

However the RadAjaxLoadingPanel's height is set to the initial size / height of the datalist so there is an ugly transition as the datalist grows or shrinks underneath the LoadingPanel.

What is the best way to avoid this transition?  Can the LoadingPanel match the height of the element being updated?

Or is there a way to use something like jQuery to animate the transition of both elements?

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 20 Jun 2011, 09:43 AM
Hi Tony,


Indeed, the RadAjaxLoadingPanel get its dimensions when the ajax request starts based on the current dimensions of the updated control and they cannot be changed on later stage. Therefore I would suggest that you show the loading panel over the whole page in order to overcome the described issue.

Kind regards,
Maria Ilieva
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.

0
Maria Ilieva
Telerik team
answered on 20 Jun 2011, 09:43 AM
Hi Tony,


Indeed, the RadAjaxLoadingPanel get its dimensions when the ajax request starts based on the current dimensions of the updated control and they cannot be changed on later stage. Therefore I would suggest that you show the loading panel over the whole page in order to overcome the described issue.

Kind regards,
Maria Ilieva
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
Matt
Top achievements
Rank 2
Answers by
Maria Ilieva
Telerik team
Share this question
or