473,625 Members | 3,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I launch a new window with server-side code?

Using server-side code, how do I launch a new window? I have an ASP.Net
application that uses a frameset, yet I have some (crystal) reports I want
to view in a separate window. I can probably launch a window with
client-side code, but would prefer to launch it from server-side code.

Thank you.

Steve
Nov 17 '05 #1
2 1679
Unfortunatley, there is no way to open a new window (popup) via the .NET
code. The only way to dynamically do this is to set up a literal control on
the web form and assign the javascript to that literial control.

"Steve Parks" <sp****@fire.ci .portland.or.us > wrote in message
news:Oz******** ********@TK2MSF TNGP10.phx.gbl. ..
Using server-side code, how do I launch a new window? I have an ASP.Net
application that uses a frameset, yet I have some (crystal) reports I want
to view in a separate window. I can probably launch a window with
client-side code, but would prefer to launch it from server-side code.

Thank you.

Steve

Nov 17 '05 #2
Unfortunatley, there is no way to open a new window (popup) via the .NET
code. The only way to dynamically do this is to set up a literal control on
the web form and assign the javascript to that literial control.

"Steve Parks" <sp****@fire.ci .portland.or.us > wrote in message
news:Oz******** ********@TK2MSF TNGP10.phx.gbl. ..
Using server-side code, how do I launch a new window? I have an ASP.Net
application that uses a frameset, yet I have some (crystal) reports I want
to view in a separate window. I can probably launch a window with
client-side code, but would prefer to launch it from server-side code.

Thank you.

Steve

Nov 17 '05 #3

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

Similar topics

17
3833
by: SK | last post by:
I am calling an exe thru' href, but when it executes, I get the message if I want to open the file(exe file). Is there any way I can suppress this from appearing and open the program? Thank you, SK
2
1535
by: briansmccabe | last post by:
does anyone know how I could get a page to open to a specific size and location on the screen on its own? in other words, the page is not being launched from any other page; it simply resides on my local machine and I would like to see it launch to a specific size etc. thanks Brian mc
2
5727
by: amy | last post by:
the following is my WebMethod (GetPrc) to launch a batch file which will take about 10 seconds to be processed. I get the "The page cannot be displayed...HTTP 500 - Internal server error" for both do-real-job hello.bat and the empty hello.bat file. public string GetPrc( string sdnum , bool prp )
1
1177
by: CodeRazor | last post by:
When I close a pop up window, I'm using Javascript to reload the launch window(window.opener) in order to pick up any changes I have just submitted to the database. This works well but for an alert that appears every time saying: "This page cannot be refreshed without resending the information. Click Retry to send the information page again or click Cancel to return to the page you are tyrig to view." Is there any way that I can stop...
7
2622
by: Paul | last post by:
Hi. I need to launch a windows application and then send keyboard event to this process to run certain commands. I've created a COM+ appplication to spawn and talk to the application which works well however the launched application always shows the UI where-as I need this to be hidden, even calling the windowhidden on the process strart info does not work. Does this somehow need to spawned under a different account process ? ...
4
20859
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this anywhere? Thanks, Joe
4
2060
by: Ernesto | last post by:
I'm trying to launch a seperate telnet window from within my python program. The command I thought I was supposed to use is below: os.system("telnet.exe -f C:\Folder\output.txt localhost 6000") This creates a telnet window inside the current window. This is not desirable. I need it to launch a seperate command window for telnet output. Any ideas ?
3
2025
by: Scott | last post by:
I wish to have a link on a page that launches a new browser before it loads the target link. The standard _new and _blank include the parent browser's cookies. Is there an alternative method that excludes these cookies? Thanks in advance
8
6604
by: r0g | last post by:
Hi There, I'm trying to migrate a locally hosted page from windows to a private Ubuntu development server and one of the key bits of functionality (which used to work fine in Windows) was the ability for the page to start a file browser via PHP's exec() function. I can't get this working under Ubuntu though e.g. <?php exec('nautilus /var/www'); ?>
0
3009
by: Vajrala Narendra | last post by:
Hi all, TO my .net setup project i want to add a launch condition for crystal report installation. In my prerequisities i selected Crystal reports fro basic visual studio 2008 (x64, x86) in my debug folder i got those respective crystalreport10_5 folder after successful build. i got CRRedist2008_x64.msi,CRRedist2008_x86.msi i want to install CRRedist2008_x86.msi so in my Installurl i specified CRRedist2008_x86.msi's path.
0
8253
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
8692
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...
1
8354
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,...
0
8497
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
7182
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...
1
6116
isladogs
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...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
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
1499
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.