Version

Ajax Indicator Support for WebDropDown

The WebDropDown™ control’s AJAX Indicator displays a wait notification for end users whenever the control is waiting for a callback to complete. By default, the AJAX indicator is shared with other Ultimate UI for ASP.NET AJAX controls; however the shared AJAX Indicator settings can be overridden on the control level. The wait message is configurable to show text or an Image by, using the Text or the ImageUrl property settings. You can also set the screen location of the indicator by using the Location property. For more information on the AJAX Indicator please see the AJAX Indicator topic.

By default the WebDropDown uses the Ajax Indicator if the LoadingItemsMessageText and LoadingItemsTemplate properties are not set.

In Visual Basic:

' Enable Ajax Indicator at control level
Me.WebDropDown1.AjaxIndicator.Enabled = Infragistics.Web.UI.DefaultableBoolean.[True]
' Set the Ajax Indicator’s wait message
Me.WebDropDown1.AjaxIndicator.Text = "Ajax Call Wait"
' Set the Ajax Indicator’s Location
Me.WebDropDown1.AjaxIndicator.Location = Infragistics.Web.UI.RelativeLocation.AboveCenter
' Set the location of the Ajax Indicator specific to the control.
Me.WebDropDown1.AjaxIndicator.RelativeToControl = Infragistics.Web.UI.DefaultableBoolean.[True]

In C#:

// Enable Ajax Indicator at control level
this.WebDropDown1.AjaxIndicator.Enabled = Infragistics.Web.UI.DefaultableBoolean.True;
// Set the Ajax Indicator’s wait message
this.WebDropDown1.AjaxIndicator.Text = "Ajax Call Wait";
// Set the Ajax Indicator’s Location
this.WebDropDown1.AjaxIndicator.Location = Infragistics.Web.UI.RelativeLocation.AboveCenter;
// Set the location of the Ajax Indicator specific to the control.
this.WebDropDown1.AjaxIndicator.RelativeToControl = Infragistics.Web.UI.DefaultableBoolean.True;