Sys.ParameterCountException: Parameter count mismatch

前端 未结 3 532
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-04 05:30

I face the following problem in firefox and google chrome :

Sys.ParameterCountException: Parameter count mismatch. 
相关标签:
3条回答
  • 2021-01-04 06:01

    Thats what happens when you call a public method of an ajax API with the incorrect number of parameters. For example, try Boolean.parse("true", "what?"). It only takes 1 parameter, you passed in 2 or your sending a null value.

    also your submit link ...../RequestList.aspx does not look like a proper address. so make sure you are not passing null or wrong parameters.

    0 讨论(0)
  • 2021-01-04 06:14

    Possibly worth wrapping your data: item in quotes

    data: action = 4
    

    becomes

    data: "action = 4"
    
    0 讨论(0)
  • 2021-01-04 06:16

    setting debug="false" in de web.config seemed to remove the error

    0 讨论(0)
提交回复
热议问题