Print Page | Close Window

Is there anyway to....

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=3617
Printed Date: 21 November 2024 at 10:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is there anyway to....
Posted By: Matt
Subject: Is there anyway to....
Date Posted: 07 February 2006 at 11:48am

Is there a a method or property I can set so that when in month view, the day selected via a mouseclick is not highlighted?

Thanks

Matt




Replies:
Posted By: sserge
Date Posted: 08 February 2006 at 6:29am
Hi Matt,

There are no such method, but you can catch SelectionChanged event and reset selection when necessary (if month vew is active).

--
WBR,
Serge


Posted By: WaaZ
Date Posted: 19 February 2006 at 6:16am

Hi Matt,

Correct me if I am wrong, but you want to let ur selection remain the same when u r in a month view. This means that when u click on the control, the selection does not change.

Before changing to Month view, Just before changing viewType to month view, Capture the startDate, EndDate and isAllDay using:

CalendarControl.ActiveView.GetSelection

Then, in ur mouseDown and mouseUp, you check the viewType.

If (CalendarControl.viewType == CalendarViewType.xtpCalendarMonthView)

{

CalendarControl.ActiveView.SetSelection(tempStartDate,tempEn dDate,isAllDay);

}

 

thnx.




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