I have a WebForm1.aspx which contains a textbox1 and button1. When i click on button1 it will open a new webpage pop.aspx that contains a datagrid, textbox and a button. When i click on a row in datagrid it selects the firstname of that row and displays it in textbox of that page. when i click on button it has to redirect to WebForm1.aspx giving focus to TextBox1 and displaying the textbox value of pop.aspx into WebForm1.aspx closing the pop.aspx...This is something like we browse something to select and after it gets selected it automatically closes broswed window gets back focus to mainwindow and selected field inserted into it the textbox....Can u plz help me what all I should do for this functionality to work out...