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

loading panel position conditional?

3 Answers 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 16 Jun 2013, 10:27 AM
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

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 19 Jun 2013, 02:27 PM
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.
0
moegal
Top achievements
Rank 1
answered on 19 Jun 2013, 05:55 PM
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
0
Kostadin
Telerik team
answered on 24 Jun 2013, 10:24 AM
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.
Tags
Ajax
Asked by
moegal
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
moegal
Top achievements
Rank 1
Share this question
or