View Single Post
  #1 (permalink)  
Old 07-09-2009, 1:07 AM
avexs avexs is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Jul 2009
Posts: 2
Reputation: 0
avexs is on a distinguished programming path ahead
Default help with popup in master page

Hi,

i have a problem with getting value from popup in master page.
my page is like this:

Master.master
-->index.aspx
--->viewItem.ascx

this "viewItem.ascx" will change dynamically based on request.
the problem is not with that..
my problem is getting value(parameter) from popup form into control(textbox) in "viewItem.ascx"

in my popup.aspx, i use this javascript
<script type="text/javascript" language="javascript">
function getDetails()
{
window.opener.document.getElementById("TextBox1"). = document.getElementById("TextBox1").value;
self.close();
return false;
}
</script>

i test it by calling from myTest.aspx.. i can get that return value.
but, because of i'm using masterpage... i want to view it in textbox in viewItem.ascx. the name for textbox and button is same... but different is its in .ascx page.
can any1 help?

tqs.
Reply With Quote