Error in sandboxed Web Part: “The name initializecontrol() does not exist in the current context”

If you get the following error in a sandboxed Web Part:

“The name initializecontrol() does not exist in the current context”

Use

<sharepoint:scriptlink > 
for .css and .js.

Leave a Reply