Web Control and CSS Class

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I am creating a custom web control (Class Library - DLL) that uses CSS
Classes.

I want the user to be able to change those CSS classes if necessary.

Should I include the CSS Classes inside my .dll library? Is that even
possible?

Or should I just copy the CSS file to my Web Site Themes folder?

Thanks,

Miguel
 
Hi shapper,
Should I include the CSS Classes inside my .dll library? Is that even possible?
In Resources. But how users will change and obtain them?

As idea: you can create a module to provide the classes to a user by generation
a dynamic css-data (a css-generator). Where to store is not a problem in
this case, because the module is a "facade" for the user. Now provide a user
id (or such) for the module and it should generate user's custom data.

Regards, Alex
[TechBlog] http://devkids.blogspot.com
 
Hello,

I am creating a custom web control (Class Library - DLL) that uses CSS
Classes.

I want the user to be able to change those CSS classes if necessary.

Should I include the CSS Classes inside my .dll library? Is that even
possible?

Or should I just copy the CSS file to my Web Site Themes folder?

Thanks,

Miguel

Hi,
Some time ago I faced with problem of registration of stylesheets
created in runtime.
Here I described how to solve this problem.
http://marss.co.ua/StylesheetRegistration.aspx
Maybe you'll find it useful.

Regards,
Mykola
 
Back
Top