select record from ajax modal popup (user controll )to popul
I have created usercontroll in asp .net
then i have also placed it into content page
in my content page there is a button which shows usercontroll in ajax modal popup
in usercontroll(ascx) there is a gridview where user can select any record from gridview
column( there is view button )
what i want to do... is
as user select record from gridview by pressing view button (its in user controll ) modal popup should get closed
and asp.net (content page where user controll placed ) should get populated by respective id..
as we usually do it by using popup form to select record in gridview
thanks