Panel overflowing container element

3 posts, 0 answers
  1. fred williams
    fred williams avatar
    55 posts
    Member since:
    Feb 2010

    Posted 01 Aug Link to this post

    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. Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 04 Aug Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. fred williams
    fred williams avatar
    55 posts
    Member since:
    Feb 2010

    Posted 04 Aug in reply to Eyup Link to this post

    Thanks this worked. The loading panel is now displayed nicely within the asp panel. Thanks!
Back to Top