Return values from JavaScript

  • Thread starter Thread starter Ryu
  • Start date Start date
R

Ryu

I would like to retrieve values return from a new browser window that I have
just created using window.open() in this.RegisterStartupScriptBlock() in
Asp.Net
Right now I would like to get the window.closed property in Asp.Net too. Is
there anyway to do that?
 
If I understand, you can use
opener.document.forms[0].elements["aHiddenFieldName"].value = YOUR VALUE;

and then simply use Request.Form("aHiddenFieldName") in your code to read
the value.

Karl
 
Back
Top