We have a number of web pages that spend some time doing some background processing, and would like to have a transparent "loading..." gif or progress bar shown on the web page to give the web user some feedback that something is happening. I note that a number of the Infragistics examples do this, but I cannot see how and I cannot find any documentation on it's implementation. Any help would be most appreciated.
The infragistics controls have a 'progress indicator' built into them. The WebTab, and WebAsyncRefreshPanel can be used as AJAX Containers which will give you async capabilities and also give you an automatic progress indicator. The grid has it's own progress indicator as well, for when it is performing an Async task. And as a final option, the Microsoft AJAX UdatePanel also provides progress bar functionality. If you're coding your own ajax, you may be better of simply showing a hidden div when the request is opened, and hidding the div again when the response has been received.
-Tony
Hi Tony,
how can I show the "progress indicator" for every click on the new selected tab. I think this will be showed for every postback. On my webtab control is a custom progress indicator initialized.
function UltraWebTabObjekte_InitializeTabs(oWebTab){
TabProgess = $E("TabProgess")
oWebTab.loadAllUrls = true;
oWebTab.getProgressIndicator().setTemplate(TabProgess.innerHTML);
}
For the tab change I call these method:
function _setTab(){
var _tab = _uwtab.oWebTab.Tabs[M2Office.Enums.EnumTabName.ToString(_oas.EnumSelectedWebTabKey)];
if(_tab != null){
if(_uwtab.oWebTab.selected === _tab.index){
_uwtab.oWebTab.selected = -1;
_uwtab.oWebTab.setSelectedTab(_tab);
...
After this call will be fired the AfterAsynchResponse event. I think, here must be show my progress indicator, but this do not work. It's works fine, when I before fire the __postback method.
Thanks
Rene,
I'm getting a little lost myself trying to understand what's happening. The WebTab has it's own built-in progress indicator. Do you want to use that, or your own? Are you enabling Async functionality on the WebTab? Perhaps you can post the tab, and progress indicator code along with what you're trying to accomplish. You can also submit a support request to our Dev Support group (http://ko.infragistics.com/gethelp)