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)
'Declaration Public Property LoadingElementId As String Get Set 'Usage Dim instance As AjaxOptions Dim value As String value = instance.LoadingElementId instance.LoadingElementId = value
Property Value
Type: System.StringThe ID of the element that is displayed while the Ajax function is loading.
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.
Show: