Click here to Skip to main content
16,018,394 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I am Using one Parent Window when I Click the Link Button in the Parent Window, The Child Window is Opening and I am picking the Grid View Cell Value into the Text Box of Child Window Now i want to transafer the Picked Text Box Value to Parent Window Text Box and The Child Window Need To close By Clicking OK Button on the Child Window

Can U Help?
Posted

In your child window use:

JavaScript
window.opener.document.getElementById("YourTextBoxID").value = "New Value";
window.close();
 
Share this answer
 
v3
Comments
vivekpazhani 11-Oct-13 5:42am    
Hi i am using Master Page and the parent window Page linked with master page so it's not having form id and tag then how can i do?
Zafar Sultan 11-Oct-13 5:49am    
Check my updated reply.
I think this is helpful for you.

http://forums.asp.net/t/1925639.aspx[^]
 
Share this answer
 
Try this,
window.opener.$("input[name='nama_item[1]']").val($.trim(nama_item));
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900