Event weekday click

2 posts, 0 answers
  1. Regula
    Regula avatar
    44 posts
    Member since:
    Sep 2005

    Posted 15 Sep 2011 Link to this post

    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
  2. Regula
    Regula avatar
    44 posts
    Member since:
    Sep 2005

    Posted 15 Sep 2011 Link to this post

    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;           
            }


Back to Top