Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic one continuous block? (Read 3268 times)
Xray
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jul 4th, 2007
one continuous block?
Jul 4th, 2007 at 1:13pm
Print Post  
hi,

How i config the planner control (SingleMonth) to let the user select just one! continuous block of dates?

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: one continuous block?
Reply #1 - Jul 4th, 2007 at 1:18pm
Print Post  
You can select continuous block of dates interactively by clicking on the first date and dragging with the mouse towards the last date. In this case you have to ensure that Calendar.Selection.AllowMultiple is set to State.Enabled.

You can select the block programmatically by calling the Calendar.Selection.Set method and passing the first and the last dates of the block as arguments.

Meppy
  
Back to top
 
IP Logged
 
Xray
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jul 4th, 2007
Re: one continuous block?
Reply #2 - Jul 4th, 2007 at 1:30pm
Print Post  
thx for the quick response!

selecting by clicking on the first date and dragging with the mouse towards the last date works ok, but if the user then use the cntr key he can also select outer day's.

i want the user can select one range so i can generate a report with a start en end date.Smiley ex:01/01/2007 - 30/03/2007.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: one continuous block?
Reply #3 - Jul 5th, 2007 at 4:40am
Print Post  
We will implement a new feature, preventing users from selecting more than one range. I will let you know when it is ready.

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


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: one continuous block?
Reply #4 - Jul 5th, 2007 at 7:45am
Print Post  
Here is a new preliminary version of Planner.NET:

https://mindfusion.org/_planner/_Planner.NET_422pre_trial.zip

The Selection class now exposes a new property - Continuous, which when set to State.Enabled, prevents users from selecting multiple date ranges at the same time.

Meppy
  
Back to top
 
IP Logged
 
Xray
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jul 4th, 2007
Re: one continuous block?
Reply #5 - Jul 5th, 2007 at 11:02am
Print Post  
Works perfect!
Fantastic support!

thx,
Xray
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint