Suppose say, I show July 1 as current date and the duration is 30 days. But, when the page is loaded, I want the focus to be on July15th. Is there a way to do it?
You can use the following method:
DayPilotScheduler1.SetScrollX(new DateTime(2011, 7, 15));
I tried that but it's not working. Is that in any way affected by the Startdate property of the control??
I know it must be, but it's just that I'm not trying to set scroll position according to date but according to the time. For example, if the start date of the control is DateTime.Today then I want to set the scrollbar position according to a specific time of the day e.g., DateTime.Now, from server side.
How can I do that??