473,804 Members | 3,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Themes and Skins + Style-sheets: general question

We're replacing a CLASSIC ASP application.

In this application, we presented a dialogue box that allowed end users to
specify exactly how they wanted their screen to look. So, they could set
the font size, font colour, border widths/style/colour etc, etc.

This information was then held in a database.

When the ASP page was loaded, it used an INCLUDE function to include a file
"application.cs s.asp". This was effectively an ASP page that created a
style sheet whose values were populated from the database using an ADO
recordset, for example:
p {font-size:<%=rsCusto misation.fields .items("fontSiz e").value%>; }

What I'd like to do is to re-create this level of configuration in our site
using the ASP.NET 2.0 framework. Is it possible using Themes & Skins, or do
I have to engineer this myself?

Thanks

Griff
Feb 2 '06 #1
1 1146
>We're replacing a CLASSIC ASP application.

In this application, we presented a dialogue box that allowed end users to
specify exactly how they wanted their screen to look. So, they could set
the font size, font colour, border widths/style/colour etc, etc.

This information was then held in a database.

When the ASP page was loaded, it used an INCLUDE function to include a file
"application.c ss.asp". This was effectively an ASP page that created a
style sheet whose values were populated from the database using an ADO
recordset, for example:
p {font-size:<%=rsCusto misation.fields .items("fontSiz e").value%>; }

What I'd like to do is to re-create this level of configuration in our site
using the ASP.NET 2.0 framework. Is it possible using Themes & Skins, or do
I have to engineer this myself?


There are a couple of ways of doing this, depending on quite how much
detail you want them to be able to change.

If you are happy to allow them to choose from a predefined set of
configurations, then themes are the way to go. You just have to create a
theme for each combination of factors. The problem here is that if the
number of combinations leads to a huge number of themes. That could get
messy and unmanageable.

If you want them to have a really detailed control over so many details
that themes aren't practical, then you could look at personalisation .
This allows you to store specific information on a per user basis. The
framework handles most of the storage part for you, and you can just
pull out the specifics and set (for example) font sizes in much the same
way you showed above.

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 6 '06 #2

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

Similar topics

1
2574
by: Karsten | last post by:
Hi Is it possible to create applications with Java that support user skins / themes, (like eg. Winamp does, except it's not a Java app). Thanks
1
1327
by: Karsten | last post by:
Hi Is it possible to create applications in .net that support user skins / themes, (like eg. Winamp does, except it's not a .net app) Thanks
3
1164
by: Poppy | last post by:
I want to develop a windows application which has the same look as a mac application. Similar to iTunes. Does anyone know how I can go about this ?
1
1370
by: RG | last post by:
Is there a repository of themes and skins that could be downloaded from some place? Is there a visual designer for themes and skins allowing you to generate App_Themes files? Thanks in advance
5
1966
by: Sol | last post by:
Hi Guys, I'm looking for some advice / guidelines on using Themes with an application I am working on. The application needs to allow people to customize the appearance utilizing what I would consider to be a Themeing and Skinning mechanism. What is critical is that this should be as flexible as possible. What I would like to do is use the built-in Themeing mechanism to allow the customization, but as we know, the App_Theme folder...
11
6623
by: New Bee | last post by:
Hi, I have been looking at Themes and Skins today and now resonably understand how they work at a ground level. But I have a couple of questions. 1. ) StyleSheetTheme I dont understand where this would be used. As I understand it the precidence is like this.
2
1773
by: mike | last post by:
Hi. I am having trouble grasping the concept of applying a consistent theme to an ASP.net website. I didn't used to like ASP because it was too hard to apply a theme from a common theme folder like I could do easily in PHP, but now I see that it has some nicer theming features and master files. So I want to use web.config to switch which theme I'm using, and I want to be able to have several themes. My understanding of themes is that I...
0
940
by: Keano | last post by:
I am new to ASP and wanting to know if i could have multiple skins/themes for my site bit like MSN site with the options in the top right corner which changes the header and background. I have my template finished and have 1 content holder in my table which has a header sidemenu and main body so three cells but i want my header and background image in the sidemenu underneath my treeview to change as the images look like they link together (the...
1
1696
by: lander | last post by:
where can I find some good-looking asp.net themes?????????? It's really time-consuming to write skins in asp.net 2.0......Where can i find some reusable skins? Thanks really!!!
2
1280
by: Tim Royal | last post by:
With CSS being so prevalent, how common is the use of the asp.net Skins and Themes? I'm examining my methodology for setting up sites for some folks, and the idea of having using Themes seems compelling. However, I'm seeing alot of emphasis on using CSS markup. Are folks still actively using themes? Thanks for any input. Tim
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.