![]() |
Click here to advertise with us
|
|
|||||||
| Web Forms Discussion on web forms related topics, web form development, techniques, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|