Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
UltraTimeLineView end time
posted

Hi,

I'm wondering about how to set the end-time of the UltraTimeLineView. Start time works ok.

The idea behind the problem is that I need a timeline for a conference, and not the whole day, or even more than a day in the view.

As I said, the start date is correctly set, but the end date (in the timelineview) is just somehow 2-3 days later (even if it should be 10 hours later).

Tnx all.

My current code is:


//
m_TimeLine.PrimaryInterval = new TimeInterval(1, TimeIntervalUnits.Hours);

//
//calculate max time to display in timeline - maximum time + 5 min
DateTime maxEndTime = (m_ShowEndTime.Value > m_ShowRealEndTime.Value) ? m_ShowEndTime.Value : m_ShowRealEndTime.Value;

ultraCalendarInfo1.MinDate = m_ShowStartTime.Value;
ultraCalendarInfo1.MaxDate = maxEndTime;

 

 

 

Parents Reply Children
No Data