Skip to main content
A newer version of this page is available. .

ASPxPivotGrid.SaveLayoutToString() Method

Saves the pivot grid layout to the specified string.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v18.2.dll

Declaration

public string SaveLayoutToString()

Returns

Type Description
String

A String that specifies the string to which the pivot grid layout is written.

Remarks

Use the SaveLayoutToString method to write the pivot grid layout to a string. The layout can then be read using the ASPxPivotGrid.LoadLayoutFromString method.

The ASPxPivotGrid.OptionsLayout property controls whose settings should be saved to the string.

Note

The expansion states of field values are not saved by the SaveLayoutToString method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SaveLayoutToString() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also