Web Control and CSS Class

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
 
A

Alex Meleta

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
 
M

marss

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top