Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ResourceView: TimelineSetting.Unit=Minute (Read 3888 times)
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
ResourceView: TimelineSetting.Unit=Minute
Jan 25th, 2010 at 1:41pm
Print Post  
Hello,

try the sample app "CustomItemTemplates" and replace the ResourceViewSettings:

Code
Select All
<planner:Calendar.ResourceViewSettings>




<planner:ResourceViewSettings CellSize="22" Timelines="2" RowHeaderSize="120" LaneSize="48">





<planner:ResourceViewSettings.TopTimelineSettings>






<planner:TimelineSettings Format="yyyy / MMMM" Unit="Month" ShowCurrentTime="True" />





</planner:ResourceViewSettings.TopTimelineSettings>






<planner:ResourceViewSettings.MiddleTimelineSettings>






<planner:TimelineSettings Format="yyyy-MM-dd (ddd)" Unit="Day" ShowCurrentTime="True" />





</planner:ResourceViewSettings.MiddleTimelineSettings>






<planner:ResourceViewSettings.BottomTimelineSettings>






<planner:TimelineSettings Format="HH&#13;:mm" Unit="Minute" UnitCount="15" ShowCurrentTime="True" Size="32">






</planner:TimelineSettings>





</planner:ResourceViewSettings.BottomTimelineSettings>






<planner:ResourceViewSettings.WeekendStyle>






<planner:CalendarStyle Background="Lime" />





</planner:ResourceViewSettings.WeekendStyle>




</planner:ResourceViewSettings>



</planner:Calendar.ResourceViewSettings> 



When running the app you'll quickly notice that when switching to resource view something odd is happening: The items are displaying wrong end times here and then especially when moving them around.
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: ResourceView: TimelineSetting.Unit=Minute
Reply #1 - Jan 25th, 2010 at 2:26pm
Print Post  
This looks like a bug. The developers are currently looking into it and I will let you know when we have a fix available.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: ResourceView: TimelineSetting.Unit=Minute
Reply #2 - Jan 26th, 2010 at 8:28am
Print Post  
Hi,

You can download a new build of MindFusion.Scheduling for WPF from the link below:

https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Wpf.2.0b.zip

In addition to the bug outlined in this topic, this build also addresses the following:
  • The ShowNavigationButtons and ScrollStep properties of TimetableSettings are now enabled.
  • WorkTimeStartHour and WorkTimeEndHour are no longer relative to the timetable's StartTime. Instead they are relative to the beginning of the day.
  • MonthRangeSettings.ScrollInterval should now work as expected.

    Thank you for your feedback.

    Regards,
    Meppy
  •   
    Back to top
     
    IP Logged
     
    springy
    Junior Member
    **
    Offline


    I love YaBB 1G - SP1!

    Posts: 76
    Joined: Jan 25th, 2010
    Re: ResourceView: TimelineSetting.Unit=Minute
    Reply #3 - Jan 26th, 2010 at 9:01am
    Print Post  
    Thanx again Smiley

    First new problem so far:
    Calling TimetableSettings.Dates.Clear() (DualView sample) throws an ArgumentException "-1 is not a valid value for property 'Column'" at
    Code
    Select All
       bei System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
       bei System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       bei MindFusion.Scheduling.x98e8d1d178b7bf76.xde47caab653e03da(UIElement x4bbc2c453c470189, Int32 xbcea506a33cf9111)
       bei MindFusion.Scheduling.Wpf.xf1578fff91162044.xe406325e56f74b46()
       bei MindFusion.Scheduling.Wpf.Calendar.xcbc511030aa1eefb()
       bei MindFusion.Scheduling.Wpf.Calendar.x295cb4a1df7a5add(x024c959b3158f23a x43163d22e8cd5a71, Object xd5c0c70f88c94f5c)
       bei MindFusion.Scheduling.Wpf.Calendar.EndInit()
       bei MindFusion.Scheduling.Wpf.Samples.CS.DualView.MainWindow.Selection_Changed(Object sender, EventArgs e) in C:\Program Files (x86)\MindFusion\MindFusion.Scheduling for WPF (Trial Version)\VS2008 (.NET 3.0)\Samples\C#\DualView\MainWindow.xaml.cs:Zeile 99. 
    
    
      

    /\/\arkus.
    Back to top
     
    IP Logged
     
    Meppy
    God Member
    *****
    Offline


    MindFusion support

    Posts: 1783
    Joined: Jul 20th, 2005
    Re: ResourceView: TimelineSetting.Unit=Minute
    Reply #4 - Jan 26th, 2010 at 9:46am
    Print Post  
    Try with this version instead:

    https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Wpf.2.0c.zip

    Regards,
    Meppy
      
    Back to top
     
    IP Logged
     
    Page Index Toggle Pages: 1
    Send TopicPrint