Tuesday, 13 March 2012

Error: Sys.ParameterCountException: Parameter count mismatch.

I had a gridview inside an update panel with a checkbox set to auto postback but every time it was clicked the parameter count mismatch error was being thrown by the ajax framework.

To get this working it was simply a case of setting the ScriptManager script mode to release so this error did not get thrown.

eg: