sharepoint web part using AJAX enabled rad grid

2 posts, 0 answers
  1. Kripa
    Kripa avatar
    4 posts
    Member since:
    May 2008

    Posted 02 Dec 2009 Link to this post

    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

  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 03 Dec 2009 Link to this post

    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.

Back to Top