Version

AJAX Indicator Support

The WebHierarchicalDataGrid™ 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 About AJAX Indicator topic.

In Visual Basic:

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

In C#:

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