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

Popup windows and parent

i have a label whose text value does change after closing the pop up window. the label is in the parent window implementing a master page, i would like to know how to fetch the value of the label once the pop up closes, because writing Label1.Text does not give me the new value.. your help will be appreciated and its a lil urgent .. thank u.
Jun 18 '11 #1
1 1606
Frinavale
9,735 Expert Mod 8TB
You need to implement a bit of JavaScript that will go to the server and fetch the new information once the child window closes.

In the parent window write a method that calls the __doPostback() method for some hidden LinkButton on the page.

Then, during the JavaScript onBeforeUnload event in the child window call the method you just implemented (to submit the page to the server) using the window.opener property.

Now in your server-side code, implement a method that handles the LinkButton's click event and set the Label1.Text property then.

-Frinny
Jun 23 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Willem van Isselmuden | last post by:
Hello, I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the...
2
by: austinap | last post by:
Ok heres the deal, Im working on this site, and for the contact page, want to have a popup directory. You click the link, the director opens, you choose your recipient (a link, just click their...
2
by: Kevin Lam | last post by:
Hi all, I am writing an application which requires using a popup windows to edit the detail of a record. The popup windows is created by it's parent which shows the detail of the record,...
1
by: JL | last post by:
Hi all, I want to display a processing result after processed by popup windows, for example, i want to display the login name and login password in pop up window after user applied the new...
9
by: ALPO | last post by:
Any good advice or examples of popup data entry windows for ASP.NET?
3
by: clsmith66 | last post by:
I am building an ASP.NET application where I have been required to make all the editing screens popup windows within the application. I didn't have any trouble creating the new windows but only...
1
by: Chris Leffer | last post by:
Hi. I wrote a small routine that opens popup windows. The code works well, but I did a small change to center the popup window and this change does not work. I can't understand why. That's the...
1
by: Jennyfer J Barco | last post by:
Hello I have a datagrid and a linkbuttom in the datagrid that says Picture, every time I click on the link "Picture" my program opens a popup window showing a picture of the item the selected and...
0
by: ABC | last post by:
How to share forms authentication with popup windows? As the main page is completed logon. My pages have some popup windows to lookup or select from list items. But all popups windows will...
1
by: benmatheny151 | last post by:
Hello, I have a working popup below but I want new popups to rise each time from the parent window without losing the first popup, second popup and so on. So I want to end up with maybe four...
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: 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
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
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...
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
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...

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.