AntiXssLibrary, Version=4.3.0.0, Culture=neutral, PublicKeyToken Error

AntiXssLibrary, Version=4.3.0.0, Culture=neutral, PublicKeyToken Error

gunseligunseli Posts: 14Questions: 8Answers: 0

Hello,

I am using datatable editor. I get this error when I leave a column empty. There is no problem when I fill it.

An example column:

                      .Field(new Field("Price")
                      .Validator(Validation.Numeric())
                     .SetFormatter(Format.IfEmpty(null)))

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,109 Site admin
    Answer ✓

    Add .Xss(false) to your field to workaround then.

    It's odd though - I don't know why what would happen there. Have you got the AntiXssLibrary installed?

    Allann

  • gunseligunseli Posts: 14Questions: 8Answers: 0

    Hi,

    Problem solved with .Xss(false) . Thank you..

This discussion has been closed.