Print Page | Close Window

switch to dayview with attached calendar

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=3761
Printed Date: 19 May 2024 at 1:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: switch to dayview with attached calendar
Posted By: sfn555
Subject: switch to dayview with attached calendar
Date Posted: 11 March 2006 at 2:55am
Hi,

When I use AttachToCalendar the Calendar switches to a view according
to the selection of the datepicker and vice versa.
Now I don't want the view to change when the user clicks on a
single day in the datepicker. Rather the calendar should stay in,
let's say, weekview just changing the displayed week.
Is there an easy way to accomplish this?

Thanks!



Replies:
Posted By: sserge
Date Posted: 11 March 2006 at 3:25am
Hi,

For accomplishing this you'll have to create your own CalendarController class with the modified logic. The easiest way would be to inherit your class from CXTPCalendarController and override a logic of event handler OnEvent_DatePicker() similar to how it is implemented in existing class.

Note that this solution is not for ActiveX version, which has AttachToCalendar method. No such solution available for ActiveX.

--
WBR,
Serge





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