Print Page | Close Window

Null Selection?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=11744
Printed Date: 07 October 2024 at 7:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Null Selection?
Posted By: fergie
Subject: Null Selection?
Date Posted: 06 August 2008 at 10:51am
Is is possible to have no selection within the day view selection?
 
I have tried but am unable to now have a selection.
 
I Have tried the ResetSelection function but it still selects a cell.
 
I have tried setting StartDate and EndDate within the Selection Property to 0 and still no Joy?
 
Is what i want attempting to do possible?
 
Regards
David
 



Replies:
Posted By: Mr.Den
Date Posted: 07 August 2008 at 7:04am
How about:
 
CalendarControl.ActiveView.UnselectAllEvents
 
Is that what you are looking for?


Posted By: fergie
Date Posted: 08 August 2008 at 6:52am
Thank you for your suggestion but i believe that only unselects all events not selected times within the grid.
 
I have found a solution in that i apply the following code when the users chaneges dates times etc...
 
CalendarControl.DayView.ResetSelection
CalendarControl.DayView.Selection.Begin = 0
CalendarControl.DayView.Selection.End = 0


Posted By: Mr.Den
Date Posted: 10 August 2008 at 7:21pm
Yes, you are correct, that would have unselected all events, I misunderstood your question.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net