Wednesday, March 28, 2012

Web Control and CSS Class

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,

MiguelHi shapper,

Quote:

Originally Posted by

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

Quote:

Originally Posted by

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
>


On 28 , 19:21, shapper <mdmo...@.gmail.comwrote:

Quote:

Originally Posted by

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

0 comments:

Post a Comment