JScript error when using RadAjaxManager, RadGrid in user con

Posted by Community Admin on 05-Aug-2018 21:37

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

All Replies

Posted by Community Admin on 27-Aug-2010 00:00

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.

Posted by Community Admin on 31-Aug-2010 00:00

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.

Posted by Community Admin on 31-Aug-2010 00:00

Thank you so much.

This thread is closed