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

Panel overflowing container element

2 Answers 181 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
fred williams
Top achievements
Rank 1
fred williams asked on 01 Aug 2016, 08:13 PM

I have a grid inside a content placeholder in a masterpage. The css for the parent div of the grid is set to overflow-x:auto, so the grid scrolls horizontally. I added an ajax loading panel and set the ScrollBars property to auto, but the loading panel still overflows the grid container element. it begin at the beginning of the container element where the grid begins but it goes all the way to the end of the page. 

 

How can I get the loading panel to stay within the width of the grid's container div?  

2 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Aug 2016, 08:36 AM
Hello Fred,

Place the grid within an asp:Panel and ajaxify it instead the grid. This way, the loading panel will be displayed only over the container. Alternatively, you can try to place the grid within a RadAjaxPanel with fixed height and width sizes and set its loading panel property accordingly.

Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
fred williams
Top achievements
Rank 1
answered on 04 Aug 2016, 01:44 PM
Thanks this worked. The loading panel is now displayed nicely within the asp panel. Thanks!
Tags
AjaxLoadingPanel
Asked by
fred williams
Top achievements
Rank 1
Answers by
Eyup
Telerik team
fred williams
Top achievements
Rank 1
Share this question
or