CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Setting Default Date for Input Textbox

Print topic Send  topic

Author Message
spankey

Posts: 8
Posted: 11/25/2007, 11:35 AM

Have a Start Date textbox and End Date textbox to set search parameters. CCS allows me to set the Default value for End Date to today's date using "CurrentDate" Property for the Textbox. I need to set the Start Date Textbox to "Today's Date -30 days". There doesn't seem to be a simple way to add this in the textbox property in CCS

I have just started learning VB.net. Reading the CCS documenation leads me to believe that I need to add a "Before Show" event and code. Tried several variations of the code listed below with no success. Any help would be appreciated

Dim s_date as DateTime
s_date.text = Now() -30
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.