Hi,
I am trying out Timeline control to create a weekly employee schedule and I want to limit number of days to 7 days only. I am using calendar info component to bind the schedule using source as List<T>.
For some reason, the timeline is showing more days instead of 7 days only. Can you please tell me how to restrict timeline to 7 days only?
I just wanted to know if you were able to solve your issue based on my suggestions or you still need help?
Just let me know.
Thank you.
Hello ,
I have handled the SizeChanged event of UltraTimeLineView and I have put there the code, which I have wrote in load event of the form (ultraTimelineView1.ColumnWidth = ultraTimelineView1.Width / 7;). Now even if resize the UltraTimeLIneView, it displays 7 days. Please follow this suggestion and let me know if this is what you are looking for.
Please let me know if you have any further questions.
Your sample does not work :(
Try to do one thing in your sample, anchor the control on all sides and maximize it on the form. then Run the sample and maximize the form. You will see all days.
Also, I am binding my control with calendarInfo so what ever the solution is, i need it in context of binding with calendar info.
Let me know if you cannot reproduce the issue. I will upload a sample
I have implements a small sample based on my suggestions. Please run the sample and let me know if this is what you are looking for.
I tried it but its not working... it still shows more than 7 days eventhough i set the min and max day for a week