Welcome Guest Search | Active Topics | Sign In | Register

Calendar default style Options
RichAdams
Posted: Friday, July 17, 2009 6:50:55 AM
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
eo_support
Posted: Friday, July 17, 2009 8:01:50 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.