Welcome Guest Search | Active Topics | Sign In | Register

Using a global skin file for DatePicker Options
mnewhart
Posted: Sunday, September 18, 2011 1:50:51 PM
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!
eo_support
Posted: Monday, September 19, 2011 9:01:30 AM
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!


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.