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

sharepoint web part using AJAX enabled rad grid

1 Answer 87 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Kripa
Top achievements
Rank 1
Kripa asked on 02 Dec 2009, 12:25 PM
Hi,

I have created a web part (which is in fact a smart part where the webpart will load a user control) for a sharepoint site. Inside the user control i have a RadGRid (Rad controls version 2009.1.527.20). Now my problem is that i am constantly getting the exception 'Script control 'RadGrid1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
' at the following line of code 

_control.RenderControl(writer); Here _control is the user control.

Please let me know how to get around this exception. Also do let me know in case u require anyother info or if i am missing something.

Thanks
Kripa

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 03 Dec 2009, 02:08 PM
Hello Kripa,

The error description contains the key to the problem - the exception is thrown by the RenderControl method of the user control. Could you explain why you need this call and where you are executing it? I'd also suggest that you open a formal support ticket and send your files attached to it so that we can take a closer look at your implementation and give you more concrete details.

Thanks.

Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Sharepoint Integration
Asked by
Kripa
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or