CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Calendar Prev/Next month

Print topic Send  topic

Author Message
laneoc

Posts: 143
Posted: 05/14/2015, 10:14 AM

I'm using the default calendar gadget. I'd like to enable the dates for the previous month and next month.

Example: the calendar gadget shows...

  
     May 2015  
26 27 28 29 30  1  2  
 3  4  5  6  7  8  9  
10 11 12 13 14 15 16  
17 18 19 20 21 22 23  
24 25 26 27 28 29 30  
31  1  2  3  4  5  6  

I want the user to be able to select April 26th thru 30th or June 1st thru 6th. Those dates are *shown* but they are not *selectable*.

Do-able?

Lane O.
_________________
Lane
View profile  Send private message
ceinj

Posts: 10
Posted: 05/14/2015, 5:42 PM

From a flexible design standpoint I allows use separate start and end date fields - each with its own datepicker button (automatically generated by CCS).

While your described method is more complex to code and needs to return 2 date strings, it doesn't work if you ever want to include a range of more than a week when it covers more than 1 month.
View profile  Send private message
laneoc

Posts: 143
Posted: 05/14/2015, 6:25 PM

Let me clarify...

I want the user to be able to pick a single date.

The CCS gadget prevents the user from picking a date from the end-of-April or beginning-of-June days displayed. It forces the user to pick a May date or click the month selector.

I want the user to be allowed to select one of those dates.

Lane

_________________
Lane
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.