This is a migrated thread and some comments may be shown as answers.

popup editform on sharepoint

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
stonger
Top achievements
Rank 1
stonger asked on 26 Oct 2011, 03:30 PM
Hello,
i am getting this error on popup editform of radgrid (ajax):

Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type 

I am programming webpart for sharepoint and using radgrid with popup templated edit form. 

When edit template is populated with radcontrols I am having above error.
And when I am using regular asp controls, everything is OK.

Help please!


 


1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 31 Oct 2011, 12:37 PM
Hello,

 Currently there is a limitation in Sharepoint 2010 related to registering the client-side components of ajax controls that are initially not visible or hidden on the page. To avoid the error you should either manually register the missing scripts through the RadScriptManager as shown here:
http://www.telerik.com/help/aspnet-ajax/introduction-disabling-embedded-resources.html
or disable the script optimization in the whole Sharepoint environment with the following command:

set-spfarmconfig -ASPScriptOptimizationEnabledfalse

Greetings,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
stonger
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or