This is a migrated thread and some comments may be shown as answers.

refreshScheduler javascript error

1 Answer 41 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 20 Feb 2009, 02:52 PM

I followed the example code to replace the edit form in the documentation. It all works fine except that I cannot get the scheduler to refresh after the radwindow closes.

I added an alert to the given javascript function:

function refreshScheduler()  
{

    alert('about to refresh scheduler');
    var ajaxManager = $find("RadAjaxManager1");
    ajaxManager.AjaxRequest('RebindScheduler');
}

The alert displays but immediately afterward there is an "Error on page". Detail is "Object doesn't support this property or method.". The AjaxRequest event of the radAjaxManager never fires so the scheduler does not refresh.

Any ideas?
John.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Feb 2009, 01:28 PM
Hi John,

Following the ASP.NET AJAX naming convention, the methods should start with lower case:

ajaxManager.ajaxRequest('RebindScheduler');

Here is the client api reference for RadAjax:http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html.

The sample which you haver referred to is for Q1 2008 and we have updated the api since then.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
John
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or