Determines if data-only or full update of grid's HTML content will take place during callback.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[C1CategoryAttribute("Category.Callback")]
[DefaultValueAttribute(false)]
[JsonAttribute(true, true, false)]
[LayoutAttribute(LayoutType.Behavior)]
public virtual bool OptimizeDataOnlyRendering { get; set; }
Visual Basic
<C1CategoryAttribute("Category.Callback")> _
<DefaultValueAttribute(False)> _
<JsonAttribute(True, True, False)> _
<LayoutAttribute(LayoutType.Behavior)> _
Public Overridable Property OptimizeDataOnlyRendering As Boolean
	Get
	Set

Field Value

The default value is false.

Remarks

Data-only rendering is used with callbacks. When enabled, server sends only necessary data or HTML code portions to a client as a result of callback thus performing smart update. Data-only rendering is used for page, sort, delete, filter. If for any reason you need full or partial update of C1GridView HTML code, set this property to false.

See Also