Hi ALL,
I want to how to send popup window values to gridview.
Thanks.
Popup window values to gridview
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
mohamed shafee10 reputationPosted Jul 12, 2012, 12:54 AM EDT
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.
Satyapriya NayakRank #47 · 31.5K reputationPosted Jul 12, 2012, 1:00 AM EDT
Refer
http://www.codeproject.com/Articles/35633/Sending-Values-To-and-Receiving-Values-from-a-Java
Thanks