header image
Home
NinethSense
My Favorites
Blog
Reach Me
 
My Microsoft
My OpenSource
My Electronics
My Misc Tech
My Project Management
 


Home arrow My Misc Tech arrow Microsoft arrow DatePicker Control
DatePicker Control PDF Print
Written by Praveen V Nair   
Apr 30, 2007 at 05:12 AM

Author: PraVeeN - Microsoft MVP

DatePicker usercontrol for ASP.NET 2.0

I dont know where I got the basic script for a dropdown calender javascript script. Anyway, I converted that javascript to an ASP.NET 2.0 user control.

 

DatePicker Control

I tested the user control with IE6.0 SP2, Mozilla Firefox 2.0 and Nescape 7.2 and working fine. As an addition, IE will show a nice shadow (see image above) also.

I havent converted the usercontrol to dll so there will be a problem if you use multible folders for web forms in your applcation for I put an 'ImageURL' property for setting the image. You can get or set values with 'Value' property.

Date format, validation etc. are not integrated and surely I relize it as demerits. Also I tried placing this DataPicker control on a datagrid/gridview but it fired much javascript errors :(. Hope I will get time to solve this issues soon.


Download Asp.net DatePicker Control

 

 

<Previous   Next>
Microsoft MVP
MSDN
ASP.net forums
  PHP Kerala Forums
PIT Solutions 
http://www.technoparktoday.com