loading panel position conditional?

4 posts, 0 answers
  1. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 16 Jun 2013 Link to this post

    I have some pages where only part of a control appears. For example, I have a grid where I only see the first 3 or 4 rows and the grid is very tall.  How can I set the loading panel position so it is center if I view the entire grid but in view if I can only see part of it. In this case I would want it to be show centered in the part of the grid I can view. If none of the grid was visible I would not need to see it.

    Could there be a property like  BackgroundPosition="Center" and BackgroundPositionKeepInView="true"

    This must be a common issue?
    Thanks,
    Marty
  2. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 19 Jun 2013 Link to this post

    Hi Marty,

    Check out the following live example which demonstrates how to achieve your requirement.

    Regards,
    Kostadin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 19 Jun 2013 Link to this post

    Kostadin,

    Thank you for the fast reply but that does not meet achieve my requirement. 

    I would like to set the loading panel at center but have the ajax manager determine on the client side if it should move it into view based on browser window size and position.

    If the panel is centered on a tall panel, in some cases you cannot even see the loading animation.

    I am surprised more people have not asked for this?

    Marty
  5. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 24 Jun 2013 Link to this post

    Hello Marty,

    In this case I would recommend you to review the following help article which describes how to center the loading panel on the screen.

    Regards,
    Kostadin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top