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

Get Scheduler SelectedView Client Side

1 Answer 117 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Albert
Top achievements
Rank 1
Albert asked on 21 Jul 2008, 01:49 PM

I have a Scheduler and several other controls on a page.  Sometimes I want scheduler events to invoke AjaxRequests and other times I would like the entire page to post back.  For example when a user changes the date on the scheduler I want the calendar control to update but when I change the view to Month view I would like the entire page to refresh.

I tried handling the AjaxManager's OnAjaxRequestStart() event so that I can determine the scheduler's current view however after getting reference to the scheduler it's SelectedView property returns null.  Here's an example:

function AjaxManager_RequestStart(sender, eventArgs)  
{  
    debugger 
    var scheduler = $find("<%= RadScheduler1.ClientID %>");  
    var currentView = scheduler.get_selectedView();  // selectedView is always null  

Is there another way to do this?  It would be nice if there was a client-side OnSelectedViewChanged event of the scheduler.

Al

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Jul 2008, 08:31 AM
Hi Albert,

This is a known issue which we have fixed for the upcoming Q2 2008 release tomorrow. Please, test with the latest version when it is available and let us know how it goes.


Cheers,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Albert
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or