I recently had to do the same thing. You definately need to use client side
script. In my case, I used the window.open method to display the dialog,
size it and configure it. Then in my dialog, when dismissed, I implemented a
method that used the RegisterClientScriptBlock to dismiss the dialog as well
as update the page that invoked the dialog in the first place. I wired up a
method to the ServerChange event of the first page to automatically post
back the page after the dialog was dismissed. It worked out great.
Here's the dec for the method that dismisses the dialog and comminucates
with the page via client side script.
Public Sub SaveAndCloseDialog(ByVal formName as string, ByVal
controlNameToSaveTo as String, ByVal dataToSave as string, ByVal submitForm
as Boolean)
"Marco Antonio Montalvo Durán" <mm*******@ijb.gov.bo> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
hi
for example, I have a page 'register.aspx' and open a second page
'popup.aspx', what I want to do is to pass the control and values obtained
in 'popup.aspx' to 'register.aspx', somebody help!!!
thanks