AjaxOptions.InsertionMode Property

Gets or sets the mode that specifies how to insert the response into the target DOM element.

Namespace:  System.Web.Mvc.Ajax
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property InsertionMode As InsertionMode
    Get
    Set
public InsertionMode InsertionMode { get; set; }
public:
property InsertionMode InsertionMode {
    InsertionMode get ();
    void set (InsertionMode value);
}

Property Value

Type: System.Web.Mvc.Ajax.InsertionMode
The insertion mode ("InsertAfter", "InsertBefore", or "Replace").

Remarks

The default value of this property is "Replace".

See Also

Reference

AjaxOptions Class

System.Web.Mvc.Ajax Namespace