Hi,
it is possible to set the browser dependent masterpage in the web.config,
and how?
in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs"
Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster"
mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
Thanks a lot,
Alex 4 2359
<configuratio n>
<system.Web>
<pages master="default .master" />
</system.Web>
</configuration>
Ashok
"Alexander Widera"
<aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> wrote in
message news:OZ******** ******@TK2MSFTN GP11.phx.gbl... Hi,
it is possible to set the browser dependent masterpage in the web.config, and how? in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
Thanks a lot,
Alex
this is for the "default" browser....
but how to set special masterpages for different browsers (in the
web.config)?
In the page tag it looks like that (see below)... but in the web.config
.....
i dont now how....
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs"
Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster"
mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
alex
"Showjumper " <dfgkjhdf> schrieb im Newsbeitrag
news:e3******** ******@TK2MSFTN GP09.phx.gbl... <configuratio n> <system.Web> <pages master="default .master" /> </system.Web> </configuration>
Ashok "Alexander Widera" <aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> wrote in message news:OZ******** ******@TK2MSFTN GP11.phx.gbl... Hi,
it is possible to set the browser dependent masterpage in the
web.config, and how? in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@ Page Language="C#" AutoEventWireup ="true"
CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
Thanks a lot,
Alex
hasn't anybody a solution?
"Alexander Widera"
<aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> schrieb im
Newsbeitrag news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. this is for the "default" browser.... but how to set special masterpages for different browsers (in the web.config)? In the page tag it looks like that (see below)... but in the web.config .... i dont now how....
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
alex
"Showjumper " <dfgkjhdf> schrieb im Newsbeitrag news:e3******** ******@TK2MSFTN GP09.phx.gbl... <configuratio n> <system.Web> <pages master="default .master" /> </system.Web> </configuration>
Ashok "Alexander Widera" <aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> wrote in message news:OZ******** ******@TK2MSFTN GP11.phx.gbl... Hi,
it is possible to set the browser dependent masterpage in the web.config, and how? in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
Thanks a lot,
Alex
[This followup was posted to microsoft.publi c.dotnet.framew ork.aspnet
and a copy was sent to the cited author.]
In article <e$************ **@TK2MSFTNGP11 .phx.gbl>, aw**@hrz.tu-
chemnitz.de-novaliddomainpl easedeletethisp art.de says... hasn't anybody a solution?
"Alexander Widera" <aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> schrieb im Newsbeitrag news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. this is for the "default" browser.... but how to set special masterpages for different browsers (in the web.config)? In the page tag it looks like that (see below)... but in the web.config .... i dont now how....
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
alex
"Showjumper " <dfgkjhdf> schrieb im Newsbeitrag news:e3******** ******@TK2MSFTN GP09.phx.gbl... <configuratio n> <system.Web> <pages master="default .master" /> </system.Web> </configuration>
Ashok "Alexander Widera" <aw**@hrz.tu-chemnitz.de-novaliddomainpl easedeletethisp art.de> wrote in message news:OZ******** ******@TK2MSFTN GP11.phx.gbl...
Hi,
it is possible to set the browser dependent masterpage in the
web.config, and how? in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" ie:MasterPageFi le="~/MasterPage_IE.m aster" mozilla:MasterP ageFile="~/MasterPage_Fire fox.master" %>
Type in the code that Showjumper posted for you. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sebastian Meier |
last post by:
Hallo NG,
ich versuche gerade folgendes. ich möchte gerne eine masterpage unter
asp.net2 erstellen. soweit so gut. das problem was ich jetzt habe, dass ich
wenn ich mehrere
ContentPlaceHolder einfügen, ich weder die Größe noch die Position ändern
kann. Das heisst, dass man nicht zwei dieser ContentPlaceHolder
nebeneinander stellen kann.
Was mache ich falsch? wie kann man anders ohne frames eine Seitenstruktur
|
by: Keith Patrick |
last post by:
I'd like to get some semblance of SmartNavigation-like behavior in a
MasterPage-based content navigation app (primarily the lack of "flicker") I
had it working in a version that used a MultiView instead of a true
MasterPage layout, but it wasn't conducive to the SiteMap that I use
throughout. The MasterPage paradigm is a good fit for the style of app, and
everything else works perfectly except I'd prefer to stop the flickering.
Since I...
|
by: musosdev |
last post by:
Hi guys
I'm using a MasterPage for my website rebuild (vs2005, .net2, c#).
I want to be able to control the Title element, both on the MasterPage and
the Content pages. For example, on each page I want the following to appear
for the Title..
SITENAME - some page related title
|
by: dreamamit2001 |
last post by:
Hi,
I would like to know the ASP.NET2.0's(Controls, Menubar, Validations,
Object Data Souce Controls, Treeview Control) compatibility with IE5.0
browser on Mac OS.
If I don't use Client side Vbscript and Activex control, will the site
developed in Asp.net2.0 work fine on IE5.0 Mac Os?
Any body who has viewed the working of ASP.NET2.0 with rich controls
|
by: =?Utf-8?B?QmVuIFIu?= |
last post by:
Hi,
WHen I specify my master page in the page's @Page directive, no problems.
However, when I put it ias an attribute in Web.config's page element, the
designer fails. It just says "Error Creating Control - Content. Content
controsl can only be used in a content page." I know that there's an issue w/
nested masters, but I'm only trying to use one. Interestingly, if I run the
site, it builds and displays properly despite this error. Any...
| |
by: Frank Milverckowitz |
last post by:
Hi,
New to .NET... question about Masterpages vs. using Frameset
I'm using Visual Studio 2005 and notice that the generated pages are of
DTD/Doctype that don't support framesets. To use framesets I will be
changing all pages to HTML 4.0 loose.dtd.
I have a demand from my boss to use framesets to create a "keep-alive"
feature using a parent frame + ajax call on a time interval. (i.e. have the
|
by: saukpatthanshwe |
last post by:
In myproject, there are three Master Pages under Master Folder. And I have many subfolders storing aspx pages which use that MasterPages.
The Problem is that aspx pages in the root directory , the Images from Master pages cannot be seen. However, the aspx pages in the subfolders can be seen.
In my masterpage, I use the table Background image and set the url as ../Images/myim.jpg . But when I change using the Image button ,the images...
|
by: Tor Inge Rislaa |
last post by:
I have a MasterPage containing a TreeView menu. When clicking a menu item, a
page is loaded into the ContentPlaceHolder. It seems like both the
MasterPage and the page in the ContentPlaceHolder is refreshed when clicking
the menu item. That might be how it is supposed to be, but the problem is
that the menu in the masterpage returns to it's origin state where all the
nodes are collapsed. Is there a way to avoid this from happening?
...
|
by: =?Utf-8?B?YW5vbg==?= |
last post by:
I am not sure if this is the right forum.
Environment : Windows server 2008, IIS 7.0
I get the 'Could not load the file or assembly 'blowery.web.httpCompress' or
one of its dependencies. The system cannot fond the file specified error.
When I comment out the line in the web config file, I get the error on the
line following that.
I have all the dll files in the bin folder.
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |