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

Event weekday click

1 Answer 36 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Regula
Top achievements
Rank 1
Regula asked on 15 Sep 2011, 03:13 PM
Hi

I have a radscheduler in a weekday view. When the user clicks in the weekday name the radscheduler render all the appointments for that day, eg, if I click in "Tuesday" the form makes a postback and automatically displays the events only for "Tuesday". How can I detect this event? I wish to save in a state variable if the user is seeing the whole week or only one day


Thanks

1 Answer, 1 is accepted

Sort by
0
Regula
Top achievements
Rank 1
answered on 15 Sep 2011, 04:24 PM
Never mind.

Found that with the event NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) I can intercept weekday click.

e.g.:

 protected void sch1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)
        {
            DateTime ViewDay = e.SelectedDate;           
        }


Tags
Scheduler
Asked by
Regula
Top achievements
Rank 1
Answers by
Regula
Top achievements
Rank 1
Share this question
or