473,395 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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,

Miguel

Sep 28 '07 #1
2 1696
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

Sep 29 '07 #2
On 28 , 19:21, shapper <mdmo...@gmail.comwrote:
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

Sep 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
4
by: thomson | last post by:
Hi all, i do have a user control with 4 buttons, and all the events are firing properly, My problem is that i need to right an event handler in the user control, which gets fired after a...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
0
by: Tony Johansson | last post by:
Hello! I have a very specific question and that is about how to inherit a visual control for example the control System.Windows.Forms.TextBox without causing the environment to delete the...
4
by: Tony Johansson | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file called A One project that build a user control dll. Here we have a class called B One project...
0
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something...
4
by: Dave Calkins | last post by:
I have a native Win32 C++ app built with Visual Studio 2005. I'd like to make use of a property grid control in this app. For an example of this, in Visual Studio, see the properties control...
2
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
4
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.