The show part is easy. The control will have to emit client-side javascript
call to showModalDialog(...);
For return part you will have to make client code for getting return value
when the window closes and to fire a server-side event.
Eliyahu
"mac" <ma*****@ua.fm> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Is there any way to create control that displays my web page in (modal)
dialog window and returns value when closed?Like in Winforms.
like:
DialogWindow t = new DialogWindow("mypage.aspx");
t.Show();
return t.MyVariable;