Version

Ajax Indicator Support for WebDataTree

The WebDataTree™ 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.

In Visual Basic:

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

In C#:

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