M
MW de Jager
I want to call ShowModalDialog(...) from my C# code in the code behind page
of my aspx page. I do not want to link this to a button, since I want to
first do some checking myself before I call the showModalDialog. I also
want to receive a result back from the ShowModalDialog when it is closed.
My problems are currently these:
(1) If I call the showModalDialog using RegisterClientScriptBlock, then I
have no way of receiving a return value in C# or VB.
(2) If I showed my html page using showModalDialog, then window.close() does
not seem to close the dialog and give control back to the aspx page that
called the showModalDialog script.
All help will be appreciated
MW
of my aspx page. I do not want to link this to a button, since I want to
first do some checking myself before I call the showModalDialog. I also
want to receive a result back from the ShowModalDialog when it is closed.
My problems are currently these:
(1) If I call the showModalDialog using RegisterClientScriptBlock, then I
have no way of receiving a return value in C# or VB.
(2) If I showed my html page using showModalDialog, then window.close() does
not seem to close the dialog and give control back to the aspx page that
called the showModalDialog script.
All help will be appreciated
MW