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

Javascript binding, and view switching

2 Answers 92 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevin Kutlesa
Top achievements
Rank 1
Kevin Kutlesa asked on 14 Jun 2011, 06:42 PM
Hi, good people at telerik.

For one of my current developments I've got a silverlight chart and we want the click on a datapoint on the chart to update a scheduler placed below the chart. We know how to obtain the information we need from the chart, but we have a few questions regarding the interaction from javascript with the radscheduler:

1) Is it possible to switch views (monthview to dayview or viceversa) from javascript?
2) Is it possible to change the date (specifically the month) from javascript? For our requirements, the date picker needs to be disabled
3) The chart will provide 2 pieces of data: Name and Value, is there a way to pass, through javascript, those values to the radscheduler binding method (those 2 values need to be passed to the database to filter data, which becomes the datasource for the radscheduler)?
4) If the previous is not possible, can we trigger an event in the radscheduler from javascript? this way we could use the event's sender as a carrier for those 2 values we need to pass.

Any help, advice and/or code would be greatly appreciated

As always, thanks in advance and for your time,
Kevin

2 Answers, 1 is accepted

Sort by
0
Kevin Kutlesa
Top achievements
Rank 1
answered on 15 Jun 2011, 01:46 PM
If by any chance the call to the binding method or the event firing don't work on the scheduler from javascript, is it possible to use a radajaxpanel for the same purposes, i.e. trigger events and in general allow us the perform server side operations?

Thanks in advance,
Kevin
0
Plamen
Telerik team
answered on 15 Jun 2011, 05:45 PM
Hello Kevin Kutlesa,

Please find attached a sample demo project using WebService.
Also you can take a look at the following help topic:
http://www.telerik.com/help/aspnet-ajax/scheduler-object.html.

All the best,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Kevin Kutlesa
Top achievements
Rank 1
Answers by
Kevin Kutlesa
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or