473,396 Members | 1,996 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,396 software developers and data experts.

Page/window focus...

I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE Window)
before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with PageY
(.aspx). User presses on a button on PageY (I accept) that closes that
window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.
Apr 10 '06 #1
7 1417
If you find out, let us know. I "don't think" it's possible, but we need to
do the same thing here.

Jeff

"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE Window)
before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.

Apr 10 '06 #2
So far I've found nothing -- Looked into PostBackUrl but that will not do
what I want.

I'm guessing timers are just not possible.

"Jeff Dillon" <je********@hotmail.com> wrote in message
news:eE**************@TK2MSFTNGP04.phx.gbl...
If you find out, let us know. I "don't think" it's possible, but we need
to do the same thing here.

Jeff

"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE
Window) before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.


Apr 10 '06 #3
yes it is quite possible. if your page X is opening Y using javascript then
"opener" window is how you will access pageX from Y. Have a client side JS
functio on that page which does your refreshing etc. When user clicks on
button on page Y, call the client side JS function from there. And close Y.

http://www.netomatix.com
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE Window)
before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.

Apr 10 '06 #4
I'm not familiar with "opener" window -- can you provide more details?

guessing something like:

document.form1.text1.value = window.opener.document.form1.text1.value

But how to I get the source PageX to re-render itself once PageY is closed?

"Winista" <na*********@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP03.phx.gbl...
yes it is quite possible. if your page X is opening Y using javascript
then "opener" window is how you will access pageX from Y. Have a client
side JS functio on that page which does your refreshing etc. When user
clicks on button on page Y, call the client side JS function from there.
And close Y.

http://www.netomatix.com
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE
Window) before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.


Apr 10 '06 #5
Yes, how?

"call the client side JS function "

"Winista" <na*********@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP03.phx.gbl...
yes it is quite possible. if your page X is opening Y using javascript
then "opener" window is how you will access pageX from Y. Have a client
side JS functio on that page which does your refreshing etc. When user
clicks on button on page Y, call the client side JS function from there.
And close Y.

http://www.netomatix.com
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE
Window) before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.


Apr 11 '06 #6
I don't believe this is possible

Jeff

"Winista" <na*********@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP03.phx.gbl...
yes it is quite possible. if your page X is opening Y using javascript
then "opener" window is how you will access pageX from Y. Have a client
side JS functio on that page which does your refreshing etc. When user
clicks on button on page Y, call the client side JS function from there.
And close Y.

http://www.netomatix.com
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE
Window) before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then render
PageX again.

Is this possible?

Thanks, Rob.


Apr 12 '06 #7
Spoke too soon, at least for my purpose. We just needed to refresh the
parent..

Response.Write "<script>window.opener.document.location = ' [server variable
goes here]';window.opener=null;window.close()</script>"

"Jeff Dillon" <je********@hotmail.com> wrote in message
news:Ob**************@TK2MSFTNGP03.phx.gbl...
I don't believe this is possible

Jeff

"Winista" <na*********@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP03.phx.gbl...
yes it is quite possible. if your page X is opening Y using javascript
then "opener" window is how you will access pageX from Y. Have a client
side JS functio on that page which does your refreshing etc. When user
clicks on button on page Y, call the client side JS function from there.
And close Y.

http://www.netomatix.com
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in message
news:ON**************@TK2MSFTNGP03.phx.gbl...
I'm using .NET framework 2.0 with ASP.NET and VB.NET code behind.

What I want to accomplish:
User must accept an agreement (which is displayed in a separate IE
Window) before they can proceed with the current page.

User clicks on a checkbox on PageX (.aspx) which calls a uses JavaScript
(using ClientScript.RegisterStartup.Script) to open a new Window with
PageY (.aspx). User presses on a button on PageY (I accept) that closes
that window...

Here is where I'm stuck:

What I want to do is after the Window closes is to return to the PageX
calling window and refresh a control value on that window and then
render PageX again.

Is this possible?

Thanks, Rob.



Apr 13 '06 #8

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

Similar topics

13
by: s_m_b | last post by:
I'm building a suite of online forms for insurance. These have been stripped down from messy MS Word templates, and two of the six, substantially identical, are misbehaving with the .js page that...
3
by: TC | last post by:
Hello, In ASP.Net via C#, but if someone can help me with a VB.Net example that's fine too, I am trying to redirect to a page that is already open. For example, when a user clicks a submit...
5
by: moondaddy | last post by:
I'm going to use an aspx page to display an invoice that customers can print from. Sometimes when I go to a site and navigate to a page I want to print, they will have a button that says something...
9
by: tshad | last post by:
This is from my previous post, but a different issue. I have the following Javascript routine that opens a popup page, but doesn't seem to work if called from an asp.net button. It seems to work...
4
by: Nick Wedd | last post by:
I have a test page http://www.files.maproom.org/00/12/q/w.html which almost does what I want. The idea is that, when you hover the mouse over one of the dates near the top of the page, it...
6
by: VisionSet | last post by:
I need to persist some objects across page navigations, I am under the impression that on each new page a new set of top level objects are provided so I don't know where, how or if I can persist my...
1
by: colleen1980 | last post by:
Hi: Can any one please tell me that how to i pass the two textbox values in the new page. If i use the form action in the popup window page then the new page is open in the same popup window as i...
4
by: Jason | last post by:
Hi, Here's the scenario: I have a web application that has window A and window B. A user has both window A and B open - window A is in the foreground and window B is behind it. If the...
7
by: chambers.anya | last post by:
Hi, I've just been scouring the web trying to find an answer for how to do this but so far without any success. Basically I want some of the links in my page to open in new tabs (I'm using...
4
by: Steve Swift | last post by:
I've asked this before, and last time the answer was "not possible". Maybe some more clever people are hanging around this time: Is there a way to trigger a routine when a page gets the "focus"?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.