Wednesday, 7 January 2009     | Register
Forum
SearchForum Home
  DatePicker  Cultures and Date Formats  Calendar Contro...
 Calendar Control
 
 24/03/2007 7:35:16 AM
admin
35 posts


Calendar Control
Hi
 
Just downloaded your calendar control and I think it rocks!
 
Just one point, what are the settings for the different date formats?
 
I want to set uk date so when I set "dd-mm-yy" I get a selected date displayed as 24-00-07. 
 
Any help would be appreciated.
 
Also can you bind the calendar to a date in an edit item template column of a detailsview?
 
Thanks a lot!
 24/03/2007 7:35:46 AM
admin
35 posts


Re: Calendar Control
 Modified By admin  on 24/03/2007 7:35:59 AM)

Hi,

 

To change the date formats set the culture of your application: http://msdn2.microsoft.com/en-us/library/bz9tc508(VS.80).aspx

 

You can bind the datepicker by binding the date column of your datasource to the datepicker’s DateValue property. The syntax is roughly

 

DateValue=’<%#  Bind(“your_date_column”)  %>’

 

Regards,

 

Liam McLennan.

  DatePicker  Cultures and Date Formats  Calendar Contro...
Copyright 2007 by Eclipse Web Solutions Pty Ltd   |  Privacy Statement  |  Terms Of Use