+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / JScript error when using RadAjaxManager, RadGrid in user control inside the 4.0 beta sdk sample site

JScript error when using RadAjaxManager, RadGrid in user control inside the 4.0 beta sdk sample site

3 posts, 0 answered
  1. Noam Kalter
    Noam Kalter avatar
    4 posts
    Registered:
    26 Apr 2010
    27 Aug 2010
    Link to this post
    Hi,
      I have a user control hosted inside the SitefinityWebApp (university) sample site that comes with the 4.0 Beta.
      when sending an ajax request (for example for filter) an exception occurs:
    Microsoft JScript runtime error: Object doesn't support this property or method
    the line is:

    c.get_request()._get_eventHandlerList()._list.completed.reverse();


    When the RadAjaxManager is not included it is working fine. The code also works fine (with RadAjaxManager) in a stand alone application.
    Thanks in advance for your advice.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    31 Aug 2010
    Link to this post
    Hi Noam Kalter,

    Thank you for using our services.

    We are currently experiencing issues with the proper initialization of the RadAjaxManager object within Sitefinity pages. Generally RadAjaxManager control should not be used on the UserControl instead it should be used on the master page level. This is because the AjaxManager should be initialized as early as possible in the page life cycle. You can find clarification on this use here. However since we are currently experiencing issues with this control on Sitefinity 4.0 pages you will receive such error messages. We are currently working towards resolving the problems with RadAjaxManager.


    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Noam Kalter
    Noam Kalter avatar
    4 posts
    Registered:
    26 Apr 2010
    31 Aug 2010
    Link to this post
    Thank you so much.
3 posts, 0 answered