Maybe this will be of some value: ASP.NET Wiki: Javascript: Passing value from popup window to parent form's TextBox
|
|
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.
Maybe this will be of some value: ASP.NET Wiki: Javascript: Passing value from popup window to parent form's TextBox
thanks.
i already try it...but i can't get it also.
maybe i'll try other tech.
thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks