Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to retreive window.showModalDialog dialogArguments in C# code?

Status
Not open for further replies.

conraba

MIS
Sep 27, 2002
17
0
0
US
Hi,

I am creating a modal dialog box via javascript and passing argument parameters in an array form using this syntax:

vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])


when the modal page comes up, i would like to retreive the argument parameters in C# upon Page_Load, How can I do this?

 
Almost, but I need a code sample where the modal page actually reads the Arguments passed into C#. Not sure w/c actual namespaces and property functions would be able to handle this.
 
Verified the same idea on another forum using the concept of placing the arguments in a hidden field and reposting the page to be able to retreive Argument values @ postback.

Maybe there is another way w/o needing any reposting of the page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top