Question help with popup in master page

avexs

New member
Joined
Jul 8, 2009
Messages
2
Programming Experience
1-3
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.
 

Latest posts

Back
Top