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.