Hi,
I've been developning a custom webpart for sharepoint using the Telerik TreeView control. In my development and test enviroments i have registerd the scriptmanager by adding it to the testpage/aspx-page. This works like a charm.
Then it was time for delpoyment on the production servers, and this is where the problems begin. In the masterpage of the production enviroment i have a scriptmanager. The Page where i add the new custom webpart, use this masterpage. But still i get an error sayin there is no scriptmanager on the page.
Trying for the quick-fix i add a scriptmanager directly to the page im adding the new webpart to. But no sigar, I get a error saying that i can only have 1 scriptmanager pr page.
So the problem is... I cant get the only one scriptmanager that i need to get the webpart going. And i cant remove the scriptmanager on the masterpage, as this is in use on numerous other pages in the portal.
What to do? and why is this happening?
Some practical information:
Treeview added in CreateChildControls event.
Have tried the useless SafeScriptManager from Microsoft SPG
Regards
Krister A Klaussen
I've been developning a custom webpart for sharepoint using the Telerik TreeView control. In my development and test enviroments i have registerd the scriptmanager by adding it to the testpage/aspx-page. This works like a charm.
Then it was time for delpoyment on the production servers, and this is where the problems begin. In the masterpage of the production enviroment i have a scriptmanager. The Page where i add the new custom webpart, use this masterpage. But still i get an error sayin there is no scriptmanager on the page.
Trying for the quick-fix i add a scriptmanager directly to the page im adding the new webpart to. But no sigar, I get a error saying that i can only have 1 scriptmanager pr page.
So the problem is... I cant get the only one scriptmanager that i need to get the webpart going. And i cant remove the scriptmanager on the masterpage, as this is in use on numerous other pages in the portal.
What to do? and why is this happening?
Some practical information:
Treeview added in CreateChildControls event.
Have tried the useless SafeScriptManager from Microsoft SPG
Regards
Krister A Klaussen