Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VisibleDateChanged (Read 3578 times)
DavidF
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Jul 22nd, 2015
VisibleDateChanged
Jul 22nd, 2015 at 2:10pm
Print Post  
I've spotted what might be a bug with the VisibleDateChanged event. I'm using this to trap when the Month Prev/Next buttons have been selected.

When the event is triggered I am calling 'GetFirstVisibleDate' and GetLastVisibleDate' to get the respective dates. However, it returns the First and Last dates before the VisibleDateChange has happened. How can I get the dates 'after' the Visible Date Change has happened?

E.g. If I'm on July in Month View and click the '>>' button, GetFirstVisibleDate will return 01/07/2015 and GetLastVisibleDate will return 31/08/2015, even though the Visible month is now August and it should return 01/08/2015 and 30/09/2015.

Edit: GetFirstDate and GetLastDate also get the same dates as above. Also not updating after the calendar has changed.
« Last Edit: Jul 22nd, 2015 at 4:07pm by DavidF »  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: VisibleDateChanged
Reply #1 - Jul 23rd, 2015 at 6:31am
Print Post  
Hi,

I cannot reproduce this using the most recent build of the component. What is the version of the control you are using in your application? Have you changed the value of any property?

Regards,
Meppy
  
Back to top
 
IP Logged
 
DavidF
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Jul 22nd, 2015
Re: VisibleDateChanged
Reply #2 - Jul 23rd, 2015 at 8:15am
Print Post  
I am using 4.1.0.20363.
I haven't changed the value of any property.

Update: We have upgraded to version 5.1 and it is now working. Thanks.
« Last Edit: Jul 23rd, 2015 at 9:45am by DavidF »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint