Overblog Follow this blog
Edit post Administration Create my blog
Balavardhan Reddy Narani

Access Parent GridView Control in Child (Popup) Window and Populate with value

March 7 2009 , Written by Balavardhan Published on #ASP.Net

Populate Parent Window Grid view Control in Child Window.

Find the Parent Window Grid View Control Client-Id. if you don't how to find Client ID go through the View Source of page the after running.

Pass the Control Client - ID (the Client-ID like "GridView_ctl02_RemarksTextBox") to Child (Popup) through the Query String or any Other way(When the Control in GridView the Client-ID become change for each row) .
then in the popup window, you have the option to assign value to that control by the

opener.document.getElementById('control-Client-ID').value = 'New Value into that Control'

Share this post

Repost 0

Comment on this post