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

show wait cursor or rotator during tab change?

1 Answer 156 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Lee Morgan
Top achievements
Rank 1
Lee Morgan asked on 06 May 2011, 07:07 PM
I have an application that I would like to add some sort of wait indicator to during changes in tab selection.  Each tab has 15+ RadSlider controls on it, and upon first navigation to each tab the browser freezes for about 5 seconds then I get a wait cursor (the browser reports as not responding) for another 5+ seconds.  I would like to show some sort of visual indication from the beginning.  I have tried showing a modal popup, showing a spinner, and changing the cursor.  Anything that involves an update of the display never shows, however alerts do show.  Is there any way to force processing to pause and update the display during the OnClientTabSelecting event?

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 10 May 2011, 03:05 PM
Hi Mark Chamberlain,

You could set the style of the body element to have "cursor: wait" e.g.

document.body.style.cursor = "wait";


And unset the cursor, or set it to "auto", once everything is loaded.

You can find more information about the "cursor" style property here --
https://developer.mozilla.org/en/css/cursor.

Greetings,
Ivan Zhekov
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
TabStrip
Asked by
Lee Morgan
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or