Export (0) Print
Expand All

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)

function get LoadingElementId () : String 
function set LoadingElementId (value : String)

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.

Show:
© 2015 Microsoft