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

[Solved] Radscheduler Cells

1 Answer 138 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ZX
Top achievements
Rank 1
ZX asked on 14 Apr 2009, 07:42 AM
Hi,

1) When i click on the date number in "month view", it will redirect me to day view page. 
Was it possible to disable this?  And also if it is possible to set the page that i want to be redirected to instead of day view page.

2) Currently when i click on the "subject /appointment" (hyperlink) in "month view" it will open a new window. If there will be always one appointment shown, was it possible to make the whole cell hyperlink itself? So that user can click the whole cell instead of just clicking on the "subject /appointment" (text).

http://server3.uploadit.org/files/carion-Queries.jpg 
Highlighted in Red refer to question 1)
Highlighted in Green refer to question 2)



1 Answer, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 14 Apr 2009, 04:13 PM
Hello,

You can cancel the redirect to day view by handling the NavigationCommand event:

protected void RadScheduler1OnNavigationCommand(object sender, SchedulerNavigationCommandEventArgs args)
{
    if (args.Command == SchedulerNavigationCommand.SwitchToSelectedDay)
    {
        args.Cancel = true;
    }
}


Currently, this is only possible using server-side code, but we will add client-side option to do so in the next service pack release.

As for the second question, you can handle the timeSlotClick event to perform custom actions when the cell is clicked.

All the best,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
ZX
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or