Is there anyway to.... |
Post Reply |
Author | |
Matt
Newbie Joined: 21 January 2006 Status: Offline Points: 9 |
Post Options
Thanks(0)
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
WaaZ
Senior Member Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 103 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |