473,385 Members | 1,518 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,385 software developers and data experts.

browser specific themes and web.config


Is there a way to specify browser specific themes in the web.config like you
can in the page declaration of a content page?

If you can't there and you can't in the master page, then you have to
declare them for every content page, and that does not seem very efficient.

If there is no way better way to do that, is there some way to leverage the
detection code microsoft has already written in my own http module to sort
things out?
Dec 12 '05 #1
1 1209
You can have browser specific property assignments:

<asp:Label ie:Text="This is IE" ff:Text="This is FireFox">

I'd poke around MSDN for the exact docs on this... It's related to the adapter
plumbing.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Is there a way to specify browser specific themes in the web.config
like you can in the page declaration of a content page?

If you can't there and you can't in the master page, then you have to
declare them for every content page, and that does not seem very
efficient.

If there is no way better way to do that, is there some way to
leverage the detection code microsoft has already written in my own
http module to sort things out?

Dec 13 '05 #2

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

Similar topics

0
by: clintonG | last post by:
Has anybody seem any documentation or tutorials that discuss browser specific Themes? // Example <%@ Page Language="C#" IE:Theme="IeTheme" Mozilla:Theme="MozillaTheme" %> <%= Clinton...
3
by: Markus Rytterkull | last post by:
I'm porting an application from asp to asp.net2.0 and thought this would be a good time to test masterpages and themes. The end result is fine but I find it difficult to recreate forms in...
6
by: dust | last post by:
I have created two different themes for my web application. I set the current theme using the web.config. I have compiled my app usin the -u flag so that the site is updatable. The problem is...
2
by: suresh.csharp | last post by:
Hi, I have created two themes in our application. Trying to apply themes on fly to the entire application(all pages..) . 1. In web.config file mentioned <pages theme="theme1" />, It is applying...
3
by: Smokey Grindle | last post by:
Is there any way in asp.net 2.0 to say if this specific browser views my site give them a CSS sheet that is specific for that browser? like IE6 get its own, FF get its own, IE7 gets the one FF...
0
by: CharlesA | last post by:
Hi folks I'm revising for my 70-528 and I'm looking at the MSpress book exam. it has a question saying what is the order of the application of themes that I'm convinced is wrong: it says the...
2
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...
1
by: Cramer | last post by:
Using 3.5: Suppose I have defined 20+ themes (including multiple graphics, ..skin files, and css files per theme), and I want to make those themes *available* to all the Web sites on my Web server....
1
by: Cramer | last post by:
According to the MSDN docs, we cannot programatically create our own themes or skins: "Page and control developers do not use the ControlSkinDelegate, ControlSkin, or PageTheme classes directly....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.