Hello,
is there a solution to use server.transfer like this:
Server.Transfer ("javascript:vo id
window.open('we bform2.aspx','t estwindow','men ubar=1,scrollba rs=1,width=600, h
eight=400')")
I get an error message: Invalid path for child request 'javascript:voi d
window.open.... ..
Thanks for any answer in advance!
Andreas 3 3433
you can't.
Server.Transfer can only transfer to an asp.net page in the same
application. When you call Server.Transfer , it just creates an instance of
the specified page and transfers page processing from the current page to
the new page.
-- bruce (sqlwork.com)
"Andreas Klemt" <ak******@hotma il.com> wrote in message
news:#s******** ******@TK2MSFTN GP11.phx.gbl... Hello, is there a solution to use server.transfer like this:
Server.Transfer ("javascript:vo id
window.open('we bform2.aspx','t estwindow','men ubar=1,scrollba rs=1,width=600, h eight=400')")
I get an error message: Invalid path for child request 'javascript:voi d window.open.... ..
Thanks for any answer in advance! Andreas
You can't.
Window.Open is purely a client side function, while Server.Transfer is
purely a server side function (as the name implies.)
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Andreas Klemt" <ak******@hotma il.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hello, is there a solution to use server.transfer like this:
Server.Transfer ("javascript:vo id
window.open('we bform2.aspx','t estwindow','men ubar=1,scrollba rs=1,width=600, h eight=400')")
I get an error message: Invalid path for child request 'javascript:voi d window.open.... ..
Thanks for any answer in advance! Andreas
What you need is not to server.transfer but instead to send back to the
client a page that has a script that opens a window. For example:
<html><head><sc ript> window.open (...) </script></head><body></body></html>
If you want to keep the launching window's contents in tact you will
obviously have to prepare the page as before just add the script to open the
window.
Regards,
Eran
"Andreas Klemt" <ak******@hotma il.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hello, is there a solution to use server.transfer like this:
Server.Transfer ("javascript:vo id
window.open('we bform2.aspx','t estwindow','men ubar=1,scrollba rs=1,width=600, h eight=400')")
I get an error message: Invalid path for child request 'javascript:voi d window.open.... ..
Thanks for any answer in advance! Andreas
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: HarveyB |
last post by:
I would like to generate non-modal popup windows from
ASP.Net code-behind. I have tried using Client Side
scripting like "function Test(){
window.open('test.htm',_blank,
'height=200,width=400,status=no,toolbar=no,
menubar=no,location=no resizable=no
scrollable=no');
but I can't seem to invoke the client side script from
within a Server Side Form. I know I can use the context
with to Response.redirect or Server.transfer to return a
|
by: fhadlaq |
last post by:
I need a little help here..
I want to transfer ONLY new records AND update any modified records
from Oracle into SQL Server using DTS. How should I go about it?
a) how do I use global variable to get max date.
Where and what DTS task should I use to complete the job? Data Driven
Query? Transform data task? How ? can u give me samples. Perhaps you
can email me the Demo Package as well.
|
by: Justin |
last post by:
Hi,
Im confused here over the usage of Response.Redirect and
Server.Transfer. I used frameset for my work, what are the
proper usages of the two methods that seems working
similar..
The problem i faced while using Response.Redirect is that
the page that is directed to, does not looks as
desired..the textboxes are not visible anymore and so as
|
by: Craig Banks |
last post by:
I have 2 ASP.Net solutions/projects. I want to use Server.Transfer in one
solution/project to call the aspx webform in the second solution/project.
When I try it I get an error message. My call is straightforward:
Server.Transfer("/ServerTransferUtility/Server.aspx")
The call finds my target page but errors out on its first line:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Server.aspx.vb"...
|
by: thomson |
last post by:
Hi all,
In Javascript we have the option of not showing the title
bar, address bar through the window.open function, Is there any option
in Server.transfer or Response.redirect to hide the address bar and
tool bar
Thanks in Advance
Regards
| |
by: Chris Podmore |
last post by:
This is driving me mad so any help will be much appreciated.
I have an html page with 3 frames, banner, left and right. The banner frames
source is an aspx page. The aspx page has two buttons, both need to run some
code and then redirect the user somewhere else. The problem is the redirected
page is being displayed in the banner frame. How do I tell either
Response.Redirect or Server.Transfer what frame to display the page in or
that the...
|
by: RJN |
last post by:
Hi
Is it possible to a server.transfer and open the page in a new window? I
need to pass values between forms and hence using server.transfer. I do
not want to use query string for passing values.
Regards
Rjn
|
by: kaburke |
last post by:
Is there a way to make a page at the receiving end of a Server.Transfer
think that the request is a Postback? (When I say "think it is a Postback,"
I mean I want the page to go through the ENTIRE event sequence for a
postback, including LoadViewState, ProcessPostData, etc.) Even when
Sever.Transfer transfers a page to itself (i.e., Page A.aspx contains
Server.Transfer("A.apsx")) the request is seen as a first-time request, not
a Postback....
|
by: =?Utf-8?B?c2hldWVydHo=?= |
last post by:
Hi,
I'm developing a reporting app that works as a subordinate to other apps,
ie, users still see the menu structure for the app they're working in, but
generate their report in my app.
When the user selects the menu option for my report, they go through a
session transfer page, and they are Response.Redirect'ed to my app. This
works fine. However, on the index.aspx page of my app, when they click a
report, or generate a new report,...
|
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: 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: 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...
|
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: 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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |