JScript error when using RadAjaxManager, RadGrid in user control inside the 4.0 beta sdk sample site - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

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
  • 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.
  • 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.
  • Thank you so much.