In an ASP.NET Dynamic Data web site/project, all the templates have CSS classes like CssClass="DDFilter"
, but I can't find these styles anywhere. Are they served dynamically from a handler or something, or do I have to provide them all myself?
views:
18answers:
1
A:
You can find the default under Site.css
which is automatically made when you create a Dynamic Data project. The Site.css file is located under the root (after creation between global.asax and Site.master)
Grz, Kris.
XIII
2010-06-29 10:22:18
Site.css contains none of the classes used in the templates.
ProfK
2010-06-29 11:18:32
@ProfK What gives you that idea? I can clearly see after creating a test site that the site.css file contains the definition for the DDFilter class. It's being used by Boolean.ascx, Enumeration.ascx, Foreignkey.ascx. Also when I simply run that test application and use the IE8 built in developer toolbar I can inspect the elements and the loaded Site.css which is the only css file loaded.
XIII
2010-06-29 11:33:07
@XIII, thanks, you made me create a new site, and the new site.css has the required classes. Somehow my previous one was overwritten by a previous version site.css.
ProfK
2010-06-29 17:41:21
@ProfK: glad you got it working.
XIII
2010-06-29 18:32:11