Google Answers Logo
View Question
 
Q: Tying to get parent window of a popup to postback with data from the popup ( No Answer,   0 Comments )
Question  
Subject: Tying to get parent window of a popup to postback with data from the popup
Category: Computers > Programming
Asked by: homebuilder-ga
List Price: $15.00
Posted: 16 Aug 2003 19:54 PDT
Expires: 18 Aug 2003 06:46 PDT
Question ID: 245533
I am using Visual Studio .net 1.0 and have created a web page (the
parent) that has a popup window (the child) for the user to make a
selection from after making selection the user clicks a hyperlink to
return to the parent form i am using
"JavaScript:opener.location.reload();opener.focus();window.close()"
for the navigateURL property and storing the selected value to a
session("variable")

What I am having a problem with is geting the parent to postback and
display the new value. I am aware of a java function _doPostback bu am
unsure of how to use it in the navigateURL property, can anyone give
me the correct syntax for this so that the parent page automatically
posts back when the popup is closed. In additon I need the value to
appear in a specified dropdown control is there a way to specify the
control name in the navigateURL

Clarification of Question by homebuilder-ga on 17 Aug 2003 09:34 PDT
If anyone knows a better or easier way? All I am trying to achive is
to get the item value of an item selected in a popup window and
display it in the main window. (I am using vb.net in my code behind
page)

Request for Question Clarification by joseleon-ga on 18 Aug 2003 00:35 PDT
Hello:
  I'm not able to use Visual Studio .NET, but I'm able to fix your
Javascript to:
-Refresh the parent window with the new value or
-Change the value dinamically

So if you post the code (HTML+JS) here, I will fix it, but I can't use
Visual Studio .NET.

Regards.

Clarification of Question by homebuilder-ga on 18 Aug 2003 06:45 PDT
Thanks for the offer but i found a great article on DotNetJunkies.com
that explained in great detail how to do this using vb.net

http://www.aspnextgen.com/Tutorial/ShowContent.aspx?cg=a72fcfd7-3874-408a-8fce-541bec74c704&forumid=4247

so i am closing this question.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy