473,770 Members | 4,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mozilla:MasterP ageFile in web.config

Is the a possibility to write the masterpages for different browsers into
the web.config, so that i havn't to write in every single page e.g.
ie:MasterPageFi le=".." mozilla:MasterP ageFile="..." ..... ?

Thanks for help.

Alex

Dec 23 '05 #1
1 2128
You could use the HttpBrowserCapa bilities class to identify the browser and
then programmaticall y set the master page using Page.MasterPage File.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Alexander Widera"
<aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> wrote in
message news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
Is the a possibility to write the masterpages for different browsers into
the web.config, so that i havn't to write in every single page e.g.
ie:MasterPageFi le=".." mozilla:MasterP ageFile="..." ..... ?

Thanks for help.

Alex

Dec 24 '05 #2

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

Similar topics

4
3828
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply* access config files. This is version 3, which is a big overhaul. It extends ConfigObj to reading config files with sections and various other simplifications. I find ConfigObj extremely easy to use and use it for reading config files and data...
3
2717
by: Derek_Bennett | last post by:
I would like to find out how to write out messages to the Mozilla JavaScript Console. This would allow me to have a client-side record of execution which would be ideal in debugging end-user problems. I am looking for something like javascript:mozilla.jsconsole.messages.write("some debug string");
3
2579
by: Parrot | last post by:
Does anyone else have a problem with the Mozilla browser not expanding a multi-line textbox to its proper size? My textboxes are all small and do not display mu;tiple lines in Mozilla or Netscape but are ok in Internet Explorer. Is there a reason for this and can it be fixed? Dave Uphoff
0
1011
by: Robert Wagner | last post by:
As a side note to me previous post, I thought I might post about how ASP.Net does not detect the mozilla browser correctly. This means that archaic html is used and some things are not even printed (like the client side validation scripts). To fix this, find the browsercaps section in your machine.config file and add the following somewhere in there: <case match="^Mozilla/5\.0 \(+;+;+;+;...
1
2368
by: Michael Evanchik | last post by:
The following tag works fine in internet explorer, but in mozilla the image is not sized and left at its actualy size. Anyone know why? I though asp.net works on any browswer. <asp:imagebutton id="Image1" Runat="server" onclick="enteraccount" height="90" width="120" ImageUrl="images/account.gif" />
3
1219
by: Tim Zych | last post by:
When I use IE, the textbox on my webform is normal. When I use Mozilla Firebird, the textbox is tiny and it is impossible to type text into it. What must I do to make the textbox viewable with Mozilla?
4
1171
by: No One | last post by:
For whatever reason, when an ASP.Net control sees that the browser is Mozilla based, it returns HTML code that contains things like <font /> tags while returning style attributes for IE. I am testing against the latest Firefox browser and not the old stinky Netscape 4. Is there a way to tell the ASP.Net server to treat Mozilla as a new browser?
2
1082
by: Peter | last post by:
Hi All website written in ASP.net cannot run in mozilla. But now, hotmail can, how can we do that? How can we make sure the asp.net code is mozilla compatable during coding? thanks from Peter (cmk128@hotmail.com)
7
1527
by: teo | last post by:
Hallo, I'd like to debug an .aspx page from the IDE using another browser; I choose Mozilla Firefox (ver 1.8.1: 2006) Mozilla starts but the page never opens and an error occurs; a light yellow page with a message in a red rectangle says: Errore interpretazione XML: non well-formed
0
9602
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
9439
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
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
9882
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...
0
8905
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3987
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
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.