LoadingElementId Property

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)

public string LoadingElementId { get; set; }

Property Value

Type: System.String

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

Return to top
Show:
© 2016 Microsoft