Issues with the CMSDESK (Sys.ArgumentException: Value must be null for Components that are not Contr

Pedro Graca asked on October 8, 2015 15:47

Good afternoon,

After recoding my CMSAbstractLayoutWebPart tens of times because I thought it was my fault that the widgets in it where not reordering, I noticed in the console that whilst on the cms on the page and design tabs I get the following error Sys.ArgumentException: Value must be null for Components that are not Controls or Behaviors. Parameter name: element

I assume this error is preventing the rest of the javascript running. Does anyone have experience with this sort of error?

Edge: SCRIPT5022: Sys.ArgumentException: Value must be null for Components that are not Controls or Behaviors.Parameter name: elementScriptResource.axd (4624,23)

Chrome: ScriptResource.axd?d=Ry27Zmqk4PbGnGHSG9wx2yVpE_1jrrzvy6NRsZPVzvU8CSNTTUn7l_AgmYnyJJDXwf5B2ASdSaco3A…:847 Uncaught Sys.ArgumentException: Sys.ArgumentException: Value must be null for Components that are not Controls or Behaviors.Parameter name: element

Thank you, Pedro

Correct Answer

Timothy Fenton answered on November 24, 2015 19:17

Could you please check, if your master page uses ajaxToolkit:ToolkitScriptManager, and if so if it has ScriptMode=”Release” set?

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on October 8, 2015 15:54

Did you recently upgrade to 8.2 from and earlier version?

0 votesVote for this answer Mark as a Correct answer

Gina MacIntyre answered on November 24, 2015 15:15

I am seeing the same issues on my project that is a fresh install of 8.2 with hotfix 46. I see the console errors mentioned above when I am working on the design tab trying to add or remove webparts from webpartzones.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.