Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Create a resource item by clicking and dragging (Read 9598 times)
SimonL
YaBB Newbies
*
Offline



Posts: 36
Joined: Aug 11th, 2006
Create a resource item by clicking and dragging
Aug 11th, 2006 at 3:43pm
Print Post  
Hi,

I've just downloaded your planner control for evaluation. Is it possible to create a new resource item in the resource view by clicking and dragging. We are creating a hotel booking system and want to give the user the opportunity to click on a particular free date and drag the mouse over the next 3 days for example and for a new resource item (i.e. the booking of the room) for those 3 days.

Hope this make sense.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #1 - Aug 14th, 2006 at 4:57am
Print Post  
The user interactions in Resource view are limited only to moving, resizing and deleting of existing items. Undecided We are planning on adding the ability to select and create new items interactively in one of our future releases.

Meppy
  
Back to top
 
IP Logged
 
Simon Lomax
Guest


Re: Create a resource item by clicking and draggin
Reply #2 - Aug 14th, 2006 at 5:39am
Print Post  
Any idea when this might be. I'm noty expecting a precise date but a rough idea would be very usefull.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #3 - Aug 14th, 2006 at 1:03pm
Print Post  
We are now preparing the new version 4.1 and we expect it to be ready until the end of August. As of yet, this feature is not planned to be included in version 4.1. We are releasing a new version every 2 months, thus the next version is likely to be out in October.

Meppy.

P.S. There is a slight chance that this feature appears in version 4.1 if our developers manage to handle the rest of the changes in time. Even if the feature is left for 4.2 we can create a custom build and send it to you as soon as we have implemented it.
  
Back to top
 
IP Logged
 
Simon Lomax
Guest


Re: Create a resource item by clicking and draggin
Reply #4 - Aug 15th, 2006 at 6:00am
Print Post  
Sounds good. I'm currently evaluating a number of "timeline" controls because we're about to start a hotel booking system for a client in September.

We need to display the booking of rooms as appointments/resources in a timeline type view. The control we use needs to have the following functionality:

1. Create an appointment/resource in the resource view by clicking and dragging.

2. The ability to right click on an appointment to popup a context menu.

3. The ability to highlight (Different colour?) a day or any number of days to indicate something special about that day.

4. The ability to hover over or click the days described above (or even the column header) to show a tooltip or something to indicate what is special about that day.

We currently use Janus controls but their timeline control lacks the above functionality. I've also looked at controls by DBi controls. They do seem to have the functionality but look very dated compared to your controls.

I like the sound of a custom build of your controls; very impressive. Whats the possibility of providing the functionality I've described.

regards,
Simon
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #5 - Aug 15th, 2006 at 7:23am
Print Post  
Thank you for your feedback. Here is what is currently supported by Planner.NET:

1. Create an appointment/resource in the resource view by clicking and dragging.

This is not yet supported, but we are already working on it. It is not currently possible to create an appointment merely by clicking and dragging, but we will add this functionaliy as well.

2. The ability to right click on an appointment to popup a context menu.

You need to handle the ItemClick event and display a context menu for the clicked item.

3. The ability to highlight (Different colour?) a day or any number of days to indicate something special about that day.

Likely possible. Planner.NET supports wide variety of appearance customization options, including custom drawing.

4. The ability to hover over or click the days described above (or even the column header) to show a tooltip or something to indicate what is special about that day.

Tooltips are currently supported only for items and column headers in the Timetable view. There are several click events though, that might be able to help in this regard. Can you please describe what do you mean under 'column headers'? Is this the timeline displayed at the top of the resource view?

As for the custom builds it is more like an intermediate versions containing features, which would be available in the next official release. These versions are used primarily for testing purposes by evaluators interested in those features.

Meppy
  
Back to top
 
IP Logged
 
Simon Lomax
Guest


Re: Create a resource item by clicking and draggin
Reply #6 - Aug 15th, 2006 at 9:09am
Print Post  
Tooltips are currently supported only for items and column headers in the Timetable view. There are several click events though, that might be able to help in this regard. Can you please describe what do you mean under 'column headers'? Is this the timeline displayed at the top of the resource view?

Yes, the timeline displayed at the top of the resource view. i.e. For a particular day in the time line (August 1st for instance), could we hover over the August 1st section and display a tooltip to indicate what is special about August 1st.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #7 - Aug 15th, 2006 at 11:21am
Print Post  
The resource view timeline does not currently support tooltips, but we will add this feature along with the other changes in the next release. I will send you a prerelease as soon as we are ready with the implementation of all requests.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #8 - Aug 17th, 2006 at 7:46am
Print Post  
You can download a prerelease of version 4.1 from the following link:

https://mindfusion.org/_planner/_Planner.NET_41pre_trial3.zip
(This is a temporary url and might not work in the future.)

The following features were added to the new version:

1) The Calendar.TooltipDisplaying event is now fired for the timelines of the resource view as well. You can check the Element property of the accompanying event data object. If the value is ResourceViewTopTimeline, ResourceViewMiddleTimeline or ResourceViewBottomTimeline, then the tooltip is being displayed for the corresponding timeline. You can then check the Time property of the same data object to determine which day in the timeline is being hovered, and display the appropriate tooltip by settings the tooltip text to the Tooltip property.

2) You can now create appointments in the Resource view interactively. This functionality is enabled by default. You can also create appointments now by merely dragging in the view. To do so, set the Calendar.EnableDragCreate to true.

Meppy
  
Back to top
 
IP Logged
 
Simon Lomax
Guest


Re: Create a resource item by clicking and draggin
Reply #9 - Aug 17th, 2006 at 9:22am
Print Post  
Meppy,

Thanks for that; but having a problem trying out the pre release version.
I copied the files to a folder. Started a new windows forms project in vs2005.

Added the calendar control to the toolbox by browsing to the folder with the pre release assemblies int. Tried to drag the control onto a form and received the following error: Couldn't get design time licence for mindfusion.scheduling.winforms.calendar .....

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #10 - Aug 17th, 2006 at 10:18am
Print Post  
My mistake here. It seems I have uploaded the Debug instead of the Trial version of the control. Can you please download it from the same link and try again.

Thank you.

Meppy
  
Back to top
 
IP Logged
 
SimonL
YaBB Newbies
*
Offline



Posts: 36
Joined: Aug 11th, 2006
Re: Create a resource item by clicking and draggin
Reply #11 - Aug 18th, 2006 at 1:21pm
Print Post  
[quote author=Meppy link=1155318211/0#8 date=1155800767]You can download a prerelease of version 4.1 from the following link:

[url]https://mindfusion.org/_planner/_Planner.NET_41pre_trial3.zip[/url]
[size=10][color=#ff6666](This is a temporary url and might not work in the future.)[/color][/size]

The following features were added to the new version:

1) The Calendar.TooltipDisplaying event is now fired for the timelines of the resource view as well. You can check the Element property of the accompanying event data object. If the value is ResourceViewTopTimeline, ResourceViewMiddleTimeline or ResourceViewBottomTimeline, then the tooltip is being displayed for the corresponding timeline. You can then check the Time property of the same data object to determine which day in the timeline is being hovered, and display the appropriate tooltip by settings the tooltip text to the Tooltip property.

I've added the following bit of code to the Calendar.TooltipDisplaying event

       If e.Element = MindFusion.Scheduling.WinForms.CalendarElement.ResourceViewBottomTimeline Then
           If e.Time.Day = 22 And e.Time.Month = 8 And e.Time.Year = 2006 Then
               e.Tooltip = "Special day!!!!"
           End If
       End If

It fires and e.tooltip is set, but no tootip is displayed. What am I doing wrong

2) You can now create appointments in the Resource view interactively. This functionality is enabled by default. You can also create appointments now by merely dragging in the view. To do so, set the Calendar.EnableDragCreate to true.

Excellent, but if I just click and don't drag an item is still created, how can I prevent this.

Meppy[/quote]
  
Back to top
 
IP Logged
 
SimonL
YaBB Newbies
*
Offline



Posts: 36
Joined: Aug 11th, 2006
Re: Create a resource item by clicking and draggin
Reply #12 - Aug 19th, 2006 at 11:21am
Print Post  
ok, worked this one out, ShowToolTips was set to false.

(1) The Calendar.TooltipDisplaying event is now fired for the timelines of the resource view as well. You can check the Element property of the accompanying event data object. If the value is ResourceViewTopTimeline, ResourceViewMiddleTimeline or ResourceViewBottomTimeline, then the tooltip is being displayed for the corresponding timeline. You can then check the Time property of the same data object to determine which day in the timeline is being hovered, and display the appropriate tooltip by settings the tooltip text to the Tooltip property.

I've added the following bit of code to the Calendar.TooltipDisplaying event

   If e.Element = MindFusion.Scheduling.WinForms.CalendarElement.ResourceViewBottomTimelin e Then
  If e.Time.Day = 22 And e.Time.Month = 8 And e.Time.Year = 2006 Then
     e.Tooltip = "Special day!!!!"
  End If
   End If

It fires and e.tooltip is set, but no tootip is displayed. What am I doing wrong )


But still need help with item 2 please.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Create a resource item by clicking and draggin
Reply #13 - Aug 21st, 2006 at 8:12am
Print Post  
Try this version:

https://mindfusion.org/_planner/_Planner.NET_41pre_trial5.zip
(This is a temporary url and might not work in the future.)

Items now should not be created when the user clicks without moving the mouse.

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