AjaxOptions.LoadingElementId Property
Gets or sets the id attribute of an HTML element that is displayed while the Ajax function is loading.
Namespace: System.Web.Mvc.Ajax
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public string LoadingElementId { get; set; }
public:
property String^ LoadingElementId {
String^ get();
void set(String^ value);
}
member LoadingElementId : string with get, set
Public Property LoadingElementId As String
Property Value
Type: System.String
The ID of the element that is displayed while the Ajax function is loading.
Remarks
You can use this property to specify an HTML element to display, such as an image or a text-based element that can display a message. The specified element is displayed when the OnBegin function is called. The element is hidden when the OnComplete function is called.
See Also
AjaxOptions Class
System.Web.Mvc.Ajax Namespace
Return to top