search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Updating Navigator's SelectMode from codebehind

Asked by TeKilla
7 years ago.


Im having a strange issue using the Navigator. I have a function that change the settings of the scheduler depending on the view we want to have (day/week/month) and it is supposed to update the navigator selectmode according to the switched view.

To do so, I simply use :
navigator.SelectMode = NavigatorSelectMode.Month

But the change are not applied. I can't find any Update method like for the scheduler control.

What am I missing ?

Thank you!

Answer posted by Dan Letecky [DayPilot]
7 years ago.

At this moment the SelectMode has to be changed on the client side:

nav.selectMode = "month";

Another option is to place the DayPilotNavigator control inside an UpdatePanel.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.