Skip to main content

MVCxDocumentViewerParameter.SetConvertBack(Func<Object, Object>) Method

Restores the value of a report parameter from the client-side.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetConvertBack(
    Func<object, object> jsObjectToPoco
)

Parameters

Name Type Description
jsObjectToPoco Func<Object, Object>

A function that transforms the client-side dynamic object to an object of the custom type.

Remarks

A report service serializes custom parameter types to a JSON string. Use the SetConvertBack method to restore a custom type back from this string.

See Also