Hi ALL,
I want to how to send popup window values to gridview.
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jul 12, 2012, 5:00 AM
Refer
http://www.codeproject.com/Articles/35633/Sending-Values-To-and-Receiving-Values-from-a-Java
Thanks
mohamed shafeePosted Jul 12, 2012, 4:54 AM
At the time of calling PopUp window from gridview, send current grid index value like this.id as querystring value to popup from particular row where from we calling popup window. then from popup window, we can set value to particular control of gridview as below
var ctrl=ctrlID.split('_'); // ctrlID is query string of popup window
window.parent.opener.getElementById('Gridview1_'+ ctrl[1]+'_grdTxtValue').value=
document.getElementById('txtValue').value;
Regards,
Shafee.