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

[Solved] Change to Timeline View Instead of Day View When Date Header is Clicked

4 Answers 77 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 1
Troy asked on 11 Jun 2009, 01:15 PM
When you cick a date in the month view, it always goes to the day view. I'd like it to goto the timeline view and select the appropiate day. How can I accomplish this?

4 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 11 Jun 2009, 02:08 PM
Hi TROY,

Please, try the following:
  protected void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)  
    {  
        if (e.Command == SchedulerNavigationCommand.SwitchToSelectedDay)  
        {  
            e.Cancel = true;  
            RadScheduler1.SelectedDate = e.SelectedDay;  
            RadScheduler1.SelectedView = SchedulerViewType.TimelineView;  
        }  
         
    } 


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.
0
Troy
Top achievements
Rank 1
answered on 11 Jun 2009, 02:14 PM
Thanks, that worked. And is there an easy to to distinguish a selected day in the month view. LIke, I have it selecting the current date on load, but its not highlighted or anything.
0
Accepted
Peter
Telerik team
answered on 11 Jun 2009, 02:32 PM
Hello TROY,

Please, check if you can use this kb article:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx




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.
0
Troy
Top achievements
Rank 1
answered on 11 Jun 2009, 03:19 PM
Thank you for the quick response. Worked great.
Tags
Scheduler
Asked by
Troy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Troy
Top achievements
Rank 1
Share this question
or