473,659 Members | 2,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

any idea how to activate an ASPX page in another window by click on a button?

Hello all,

here is what I'd like to do: I have an ASPX page with certain buttons that
opens in its window, naturally. When any of those buttons is clicked, I'd
like the action to happen in another targeted window (with parameters passed
on) and that my original window remains unchanged. That window may or may
not already be open, the point is that a click on any button on my original
page causes action in the other but always the same window (the first click
opens it, other clicks simply change its content). Of course, if I use
Response.Redire ct() method, it will change the page in the original window
and that's not what I want.

Is there a way to do this?

I know I could implement the content of my original frame as a user control
within a composite page but I'd prefer the several independent windows
solution.

Thank you in advance.

Kind regards,
Hrvoje
Nov 17 '05 #1
1 1887
Sorry for not researching enough prior to posting as I managed to find the
solution. I simply enrichened response.redire ct with some JavaScript
containing frame name, e.g.:

Response.Write( "<script>window .open('new_page .aspx?o=1&n=0&p =A',frame_name' ,
'');</script>")

Thank you.

Kind regards,

Hrvoje Vrbanc

"Hrvoje Vrbanc" <hr*****@recro. hr> wrote in message
news:O9******** ******@TK2MSFTN GP12.phx.gbl...
Hello all,

here is what I'd like to do: I have an ASPX page with certain buttons that
opens in its window, naturally. When any of those buttons is clicked, I'd
like the action to happen in another targeted window (with parameters passed on) and that my original window remains unchanged. That window may or may
not already be open, the point is that a click on any button on my original page causes action in the other but always the same window (the first click opens it, other clicks simply change its content). Of course, if I use
Response.Redire ct() method, it will change the page in the original window
and that's not what I want.

Is there a way to do this?

I know I could implement the content of my original frame as a user control within a composite page but I'd prefer the several independent windows
solution.

Thank you in advance.

Kind regards,
Hrvoje

Nov 17 '05 #2

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

Similar topics

4
1522
by: Luca | last post by:
Hello Everybody, I'm a 26 years old Italian "Florentine" Computer technician :) I'm writing you about an idea that I've got of a function that could be introduced in new web browsers (or even in other computer applications). I think nobody already had this idea but I'm not sure because I didn't look deep for it. I don't ask any copywrite for using it but please
0
1883
by: Niyazi | last post by:
Hi all, This my aspx page first line of code. <%@ Page CodeBehind="index.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="TB.index" %> Than inside head tag I have following script(s) --------------------------------------------------------------------------------------------------------------------- <script language="JavaScript"> //Disable Mouse Right Click Button
3
15914
by: Peter | last post by:
Hi I am very new to ASP development and I have a problem that I have spent days on and cannot find a solution. Any help would be gratefully accepted. I am using VB.NET to develop a ASP.NET application. I have a Frameset html page with 2 frames, on frame 1 I have a LinkButton which will process some data (not coded yet) and then open another aspx page on frame 2. Can I achieve this using VB.NET? If not do I have to use client side
4
2512
by: Keith | last post by:
I have this simple scenario. -------- Choose an item ->dropdownlist-> or <a>Create a new item</a> -------- When someone decides to click on the create a new item link, it takes them to a page in which they can enter more records to the database field to which the dropdownlist is bound.
4
2034
by: ad | last post by:
I used Response.Redirect(sUrl); to open another .aspx But I want to open it in another browser like target="_blank" How can I do that?
2
7884
by: Dave Booker | last post by:
I have a Windows form application that I generally run minimized. When a critical event occurs it instantiates another "Alert" form which I want to grab the user focus. In the Alert constructor I call both this.Show() and this.Activate(), but if the parent application is minimized then the Alert form will also stay minimized (and just flash). How can I cause the Alert form to show itself and grab focus?
1
2755
by: pearturtle123 | last post by:
Hi, I am new to Python and I am using PAMIE to manipulate IE browser. Currently, I have IE window 1 launched, after I clicked on a link on window 1, a second IE window 2 isopened. Then, I want to activate IE window 2 (click button or change url), the focus keeps on IE window 1 and click on the button on window 1. I have used "def windowFind" from the PAMIE and able to find IE window 2. Can someone please tell me how to activate IE window...
21
3942
by: imtmub | last post by:
I have two page one is parent and child. Parent page has text field and command button. The Link button open a child page as a popup. Child page as Text box and Button. when i click the button it will transfer child textbox data parent page text box. this is working fine when i use normal page(Not using master page on it). Parent page aspx: <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True"></asp:TextBox> <a href="#"...
0
1263
by: charithstudy | last post by:
Hi All, In ASP.NET , I am using window.showModalDialog method to open a modal window. But when I try to do some processing in the modal window, it opens up another window. Like i have to change password ,iam entering new password and cliks submit button then it opens up a new window and doing process there.i want process to be done in showmodaldialogbox only. because iam opening showmodaldialog in main window, until i close modaldialog...
0
8427
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
8851
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
8525
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
8627
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
5649
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();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
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
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
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.