ASPxClientReportDesigner.RemoveParameterType(String) Method

Removes the specified parameter type from the Web End-User Report Designer.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll

Declaration

public void RemoveParameterType(
    string parameterType
)
Public Sub RemoveParameterType(
    parameterType As String
)

Parameters

Type Name Description
String parameterType

A string that specifies a parameter type to be deleted.

Call the RemoveParameterType method to remove one of the parameter types available for end-users.

<script type="text/javascript" id="script">
    function init(s) {
        // Remove a date-time parameter type.
        s.RemoveParameterType("System.DateTime");
    }
</script>

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server" ClientInstanceName="designer">
     <ClientSideEvents Init="init"/>
</dx:ASPxReportDesigner>

To register custom parameter types in the End-User Report Designer, use the ASPxClientReportDesigner.AddParameterType method.

See Also