473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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.Redirect() 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 1874
Sorry for not researching enough prior to posting as I managed to find the
solution. I simply enrichened response.redirect 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**************@TK2MSFTNGP12.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.Redirect() 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
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...
0
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)...
3
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...
4
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...
4
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
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...
1
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...
21
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...
0
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
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...
0
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...
0
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,...
0
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...

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.