Print Page | Close Window

Prevent user from leaving Month View

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=7588
Printed Date: 16 June 2024 at 6:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Prevent user from leaving Month View
Posted By: apuhjee
Subject: Prevent user from leaving Month View
Date Posted: 12 July 2007 at 2:53pm
After a day has filled with events, a little triangle appears.  If the user clicks this, they are shown the Day View.  How can this feature be disabled or modified?
 
Thanks ~ jp
 



Replies:
Posted By: apuhjee
Date Posted: 25 July 2007 at 3:37pm
Been a couple of weeks since this post. Serge - could you please comment on this?

Thanks ~ jp


Posted By: barryna
Date Posted: 23 August 2007 at 3:41pm
I also really need to catch/disable this event.  Any suggestions?

-------------
Nick

http://www.filmcrave.com - http://www.filmcrave.com - http://www.filmcrave.com - Movie Reviews , http://www.filmcrave.com - Movie Lists , and much more!


Posted By: nighthawk
Date Posted: 24 August 2007 at 5:52am
Clicking the triangle does trigger the CalendarControl_ViewChanged() event.  When I wanted to disable the view change, I simply set a global variable to store the current calendar view and when the ViewChanged event fired, I set the calendar view back to what it was.

This event will also fire when you set the calendar view by code so you will need to use a global flag to not process the ViewChanged event when you are setting the view via code.

It would definitely be easier if CodeJock gave us a preference to disable it.  I would also like the option of having a vertical scrollbar appearing in the day cell so the user can scroll through all the events if there are too many to view normally.


Posted By: barryna
Date Posted: 24 August 2007 at 11:21am
That solution should work for me for now, thanks.  I agree with you, being able to disable the triangle and have the option of a vertical scrollbar in the day cell would be the optimal solution for me.  Let's hope they see this need and add it.

-------------
Nick

http://www.filmcrave.com - http://www.filmcrave.com - http://www.filmcrave.com - Movie Reviews , http://www.filmcrave.com - Movie Lists , and much more!



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