CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP.NET - InMotion Framework

 Have Calendar show a different date than today

Print topic Send  topic

Author Message

Posts: 122
Posted: 03/06/2013, 5:27 PM

I need a Calendar that instead of showing today's date, it would show let's say 30 days (or 1 month) from today. The Calendar shows 1 month at a time.

Where can you set what date to default to?

For example:
The Calendar would normally show March 2013
(because we're March 6th)
I need it to show April 2013 because I want to show 30 days from today (April 6th).

Anyone know how to do this?
View profile  Send private message

Posts: 191
Posted: 03/06/2013, 6:26 PM


Substitute the page and control name with yours. When initializing the page you could check for the existence of the parameter and if it doesn't exist, add it and redirect back to the same page.

View profile  Send private message

Posts: 122
Posted: 03/06/2013, 6:27 PM

Thanks! it works great!

So basically on a BeforeShow event, I would check to see if the parameter exists. And if it doesn't, I would create it by adding 30 days to Today's date, and refresh the page with the new parameter, right?
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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login

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