How to disable validators using the XSP.partialRefreshPost method?

前端 未结 3 1944
旧时难觅i
旧时难觅i 2020-12-07 04:15

I am using XSP.partialRefreshPost to trigger a partial refresh from client side Javascript. I would like to be able to do the partial refresh without triggering the validato

3条回答
  •  暖寄归人
    2020-12-07 04:37

    The parameter valmode sets the validation mode and has the following options:

    0 for no validation

    1 for execution of converters only

    2 for execution of converters & validators

    For older versions (<8.5.2) it is just true or false.

    EDIT: This works for ClientSide Validation only.

提交回复
热议问题