Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url and
require that the target url should open in an Opera browser. The call is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i specify
that the new window should open in Opera instead. Any page directives or
something?
regards,
Ali 12 2098
Basically the idea is to open the web application in a particular browser
and then the whole application will be shown inside this browser.
You may want to explain what you are trying to do but if you want to open a
page in a another browser from a particular browser IMO this is not posisble
(plus it's likely it will cause problems such as sessions etc...)
You may want to explain what you are trying to do...
---
Patrice
"Ali Shahzad" <Al********@dis cussions.micros oft.coma écrit dans le message
de news: 31************* *************** **...icrosof t.com...
Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url
and
require that the target url should open in an Opera browser. The call is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i
specify
that the new window should open in Opera instead. Any page directives or
something?
regards,
Ali
sure. The problem basically started with print and print preview
functionalities . w3c specifies page-break-after:avoid and
page-break-inside:avoid. this was very handy for us since we have to generate
pdfs from our pages and may also want printouts. Unfortunatley ie6 doesnt
support the 'avoid' spec! Opera on the other hand perfectly supports both. We
now have the option to either completely switch to Opera or to open just 1
(our custom preview page) in Opera. The overall app is working just fine with
IE6. the whole app is built with asp.net and is placed as a take pane in an
infopath form. So i just prefer that in general it should still use IE, but
when we need to preview the page, then it pops up in an Opera window, and
hence allowing us to get a nice print preview
Ali
"Patrice" wrote:
Basically the idea is to open the web application in a particular browser
and then the whole application will be shown inside this browser.
You may want to explain what you are trying to do but if you want to open a
page in a another browser from a particular browser IMO this is not posisble
(plus it's likely it will cause problems such as sessions etc...)
You may want to explain what you are trying to do...
---
Patrice
"Ali Shahzad" <Al********@dis cussions.micros oft.coma écrit dans le message
de news: 31************* *************** **...icrosof t.com...
Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url
and
require that the target url should open in an Opera browser. The call is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i
specify
that the new window should open in Opera instead. Any page directives or
something?
regards,
Ali
You have to alter the link that goes to the page you are redirecting from
such that the page is opened in a new window.
<a href="MyRedirec tingPage.aspx" target="_blank" >
"Ali Shahzad" <Al********@dis cussions.micros oft.comwrote in message
news:31******** *************** ***********@mic rosoft.com...
Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url
and
require that the target url should open in an Opera browser. The call is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i
specify
that the new window should open in Opera instead. Any page directives or
something?
regards,
Ali
"Aidy" <ai**@xxnoemail xx.comwrote in message
news:kr******** *************@b t.com...
You have to alter the link that goes to the page you are redirecting from
such that the page is opened in a new window.
<a href="MyRedirec tingPage.aspx" target="_blank" >
That won't help in this case...
--
Mark Rae
ASP.NET MVP http://www.markrae.net
yup. I believe that will open a new window but in IE and not in Opera! Any
suggestions to how i can open the window in Opera?
"Mark Rae [MVP]" wrote:
"Aidy" <ai**@xxnoemail xx.comwrote in message
news:kr******** *************@b t.com...
You have to alter the link that goes to the page you are redirecting from
such that the page is opened in a new window.
<a href="MyRedirec tingPage.aspx" target="_blank" >
That won't help in this case...
--
Mark Rae
ASP.NET MVP http://www.markrae.net
* Ali Shahzad wrote, On 30-7-2007 15:36:
yup. I believe that will open a new window but in IE and not in Opera! Any
suggestions to how i can open the window in Opera?
Firefox registers a special protocol handler called firefox://. Firefox
supports your page-break:avoid rule. You could create a link which
begins with that. But I'd strongly advise against it, with all the
security issues that are being caused by this protocol.
I'm not sure if Opera supports a similar protocol handler. A quick
Google search for opera:// didn't help.
Jesse
>"Aidy" <ai**@xxnoemail xx.comwrote in message news:kr******* **************@ bt.com...
>>You have to alter the link that goes to the page you are redirecting from such that the page is opened in a new window.
<a href="MyRedirec tingPage.aspx" target="_blank" >
That won't help in this case...
-- Mark Rae ASP.NET MVP http://www.markrae.net
"Ali Shahzad" <Al********@dis cussions.micros oft.comwrote in message
news:58******** *************** ***********@mic rosoft.com...
yup. I believe that will open a new window but in IE and not in Opera!
Correct.
Any suggestions to how i can open the window in Opera?
Not without some sort of client-side ActiveX control - I'd forget it if I
were you...
--
Mark Rae
ASP.NET MVP http://www.markrae.net
Humm...
My personal preference would be likely to avoid such a workaround. If the
app is cross browsers I would use Opera at least when printing is needed.
You could also see if this is solved in IE7 or if IE6 offers something
similar but different (and posisbkly detect IE and ask to use Opera for
printing as a workaround).
You could also consider create directly PDF files (likely a bit late at this
step as you already chosen the HTML route).
Note also that if the page opens in another browser the session is not
maintained. This could perhaps also cause for the workaround you are
trying...
--
Patrice
"Ali Shahzad" <Al********@dis cussions.micros oft.coma écrit dans le message
de news: 23************* *************** **...icrosof t.com...
sure. The problem basically started with print and print preview
functionalities . w3c specifies page-break-after:avoid and
page-break-inside:avoid. this was very handy for us since we have to
generate
pdfs from our pages and may also want printouts. Unfortunatley ie6 doesnt
support the 'avoid' spec! Opera on the other hand perfectly supports both.
We
now have the option to either completely switch to Opera or to open just 1
(our custom preview page) in Opera. The overall app is working just fine
with
IE6. the whole app is built with asp.net and is placed as a take pane in
an
infopath form. So i just prefer that in general it should still use IE,
but
when we need to preview the page, then it pops up in an Opera window, and
hence allowing us to get a nice print preview
Ali
"Patrice" wrote:
>Basically the idea is to open the web application in a particular browser and then the whole application will be shown inside this browser.
You may want to explain what you are trying to do but if you want to open a page in a another browser from a particular browser IMO this is not posisble (plus it's likely it will cause problems such as sessions etc...)
You may want to explain what you are trying to do...
--- Patrice
"Ali Shahzad" <Al********@dis cussions.micros oft.coma écrit dans le message de news: 31************* *************** **...icrosof t.com...
Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url
and
require that the target url should open in an Opera browser. The call
is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i
specify
that the new window should open in Opera instead. Any page directives
or
something?
regards,
Ali
I dont know exactly how to do what you ask.
But I have an idea.
You use javascript to run an external program.
Just hope the antivirus software wont think it's
a virus.
"Ali Shahzad" <Al********@dis cussions.micros oft.comдÈëÏûÏ¢ ÐÂÎÅ:31******** *************** ***********@mic rosoft.com...
Hi,
asp.net 2.0, ie6, opera 9.22
For various supportability reasons, we need to redirect a page to a url
and
require that the target url should open in an Opera browser. The call is
simple
Response.Redire ct(url, true);
It works fine if its all IE environment. but am wondering how can i
specify
that the new window should open in Opera instead. Any page directives or
something?
regards,
Ali
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jawahar Rajan |
last post by:
All,
I have a printer friendly page that is opened when a user clicks a link on
my page to get the printer friendly version,
How ever when they close out the printer friendly version and return to the
original page the mouse cursor is a Hour glass shape!
my code:
I use DIV tag
<DIV id ="printThis">
<%
|
by: Clinton Goff |
last post by:
I am attempting to write a javascript app that will open a second browser
window, load a url, such as www.google.com (foreign url) and perform a
<File-Save As> function on that window. I am able to do this with opening a
second window that loads a local file, but I get an Access Denied error when
I attempt this with a different website. Is there not a command in
javascript that will allow me to open a webpage and perform this function?
...
|
by: zach |
last post by:
Hi
My problem is that on some sites when I click on a picture (for
example) that is supposed to open in a new window it doesn't. The
bottom left of my browser where it tells what is happening just says
javascript and has a yellow triangle with an exclamation point in it.
I have java enabled on my computer and tried turning my pop-up
software off. I also tried with java not enabled but nothing seems to
work. The new window never pops...
|
by: Tony G. |
last post by:
Hi there,
I have an APS 3 application, running on a Windows 2003 Web edition server -
it is a very busy website, and when users are click on certain links
(membership info), a new window i opened via javascript.
This new window is on the SAME website as where the user is located, but
just opened in HTTPS (secure) mode - the user can now examine memberhip terms
and continue to buy membership.
|
by: Carlos Andr?s |
last post by:
Hi everybody.
I've got a problem. I'd like to avoid opening a new window when you
have pressed the shift key and you click in the left button of the
mouse. I've tried the next solution, in the body of the page I put the
next code:
<BODY onkeydown='notOpenNewWindow();'>
| |
by: D. Alvarado |
last post by:
Hello,
I am trying to open a window containing an image and I would like
the image to be flush against the window -- i.e. have no padding or
border. Can I make this happen with a single call to a window.open
function? I would prefer not to create a separate HTML page. So far
all I have is the basic
var cwin = window.open('images/KJV-THANKS.gif',
'Thanks', 'width=243,height=420,');
cwin.focus();
|
by: santiago538 |
last post by:
Hi,
Is there any way to specify which monitor a Window.open() will launch a
new browser window in on systems with more than one display. It would
only need to work with Mozilla browsers, and not IE. Thanks!
|
by: Matt Hamilton |
last post by:
I have an application page with a datagrid with a checkbox on each row. The
user should check the rows they want to modify and then click a button. When
the button is clicked, I have a Click handler that builds a url and then
registers a startup script to open a modal dialog window. With XP SP2
installed the pop-up blocker stops the windows from displaying. Is there any
way around this? My users are too stupid to turn off the popup blocker...
|
by: Larry Bud |
last post by:
Wanting to use a technology I saw for one of our apps.
We have several apps that a user logs in at on the same page. The app
is determined by a drop down. User credentials are checked,
response.redirect to the application. The user ID is stored in a
session variable which determines if the user is logged in. When the
session var goes blank, the user is redirected to the login page. A
header on each page checks this.
Now, some...
|
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: 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: 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,...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
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...
| |