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

Use own buttons instead of buttons in ShowViewTabs

3 Answers 44 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jonathan Levy
Top achievements
Rank 1
Jonathan Levy asked on 15 Jul 2010, 12:34 PM
Hi,

Is it possible to use my own buttons outside of the scheduler to switch the scheduler view?

I can hide them using the ShowViewTabs property but I'd like to be able to use my own buttons to fire off the same events that are fired by clicking day/week/month etc

Is this possible?

Cheers
Jon

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 15 Jul 2010, 01:16 PM
Hello Jonathan,

Yes, this possible. Simply set the SelectedView property in your button's event handler:

RadScheduler1.SelectedView = SchedulerViewType.MonthView;


Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jonathan Levy
Top achievements
Rank 1
answered on 15 Jul 2010, 01:17 PM
Ok cool.

So if I do an ajax call then I can change it using javascript buttons.

Cheers
Jon
0
Peter
Telerik team
answered on 19 Jul 2010, 09:07 AM

Yes, you can use the AjaxRequest server event of RadAjaxManager or RadAjaxPanel as shown in this help topic.


All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Jonathan Levy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jonathan Levy
Top achievements
Rank 1
Share this question
or