Rank: Newbie Groups: Member
Joined: 1/26/2009 Posts: 2
|
I am building several applications and each one has 50+ date field controls on many pages.
I want to create a .skin file and assign the SkinID property of the DatePicker but am having no luck. The only thing I can find in your help and forum is creating an ascx file but not a .skin file to use in my project. I don't want to have to "code" every control to "load" each DatePicker's skin. That is a true pain in the butt.
Is there a way to create a .skin file and put it in my app_themes skin directory and be able to use the SkinID property? If not, where is the documentation on using the ascx / control file it creates? Do I have to replace the Register directive at the top and replace this with the ascx file directive in order to use the date picker?
Let me know. thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe it's possible for you to create skin files for the DatePicker. When you use it that way, you would follow the same rules for ASP.NET skin file (instead of using our "Save as Skin" feature, that feature was for ASP.NET 1.1 because it did not have built-in skin support).
Having that said, it will be easier if you use CSS skins. You would first style the DatePicker with CSS classes instead of inline CSS text, you can then switch CSS rules with your theme CSS file.
Thanks!
|