A
andrei
Hi Group,
I need to open a modal window (a search form) from a link on the main form.
I'm also passing it a parameter - a table name, so the call looks like this:
res = window.showModalDialog("search.aspx", "PROD") in javascript, in
the main form.
Now I need to access the value of the parameter in Page_Load of the
search.aspx, so that I can load the information from the specified table and
then show the modal window.
But it seems I can only access the parameter in javascript, with
window.dialogArguments. And at that time it's already too late - the server
part has already run...
How can I do this ? Any ideas ?
Many thanks,
Andrei.
I need to open a modal window (a search form) from a link on the main form.
I'm also passing it a parameter - a table name, so the call looks like this:
res = window.showModalDialog("search.aspx", "PROD") in javascript, in
the main form.
Now I need to access the value of the parameter in Page_Load of the
search.aspx, so that I can load the information from the specified table and
then show the modal window.
But it seems I can only access the parameter in javascript, with
window.dialogArguments. And at that time it's already too late - the server
part has already run...
How can I do this ? Any ideas ?
Many thanks,
Andrei.