Rank: Newbie Groups: Member
Joined: 7/17/2009 Posts: 1
|
Hi,
I'm going through the process of editing all instances of the calendar control in my site and wanted to remove duplicate code.
Basically i want to remove the declarations for css classes like <SelectedDayStyle CssClass="SelectedDayStyle"/>
Where the class name is exactly the same as the property anyway
I do NOT want to use a skin for this process, I was hoping that there was a default value for the property?
Thanks, Rich
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can try to create a new class that inherits from DatePicker and then code a default value on your inherited class. There isn't any setting for you to change the default value (null) on the DatePicker control.
Thanks!
|