Transfer parameters via button

legendgod

Regular
Joined
May 17, 2004
Messages
53
Location
Hong Kong
Hello Xtremers,

I am now working out a ASP.NET web pages. The 1st page will pop-up a small operation window, let the users type in something, and return to the opener window after a button clicked.

In order in pass some parameters, I am using button.CommandName & button.Id to contain some value. However, I find there are not enough of parameter holders.

Could you please give me some idea, except Session, cookie, application. Any parameter holders for this situation? Thank you very much.
 
can u do response.response?value=whatever..

i think i've read that another way is to save in sql server but not sure
 
You could pass them back to the opening page using javascript. If you're passing the value(s) to controls on the opening page, it would look something like this:
window.opener.document.getElementById('controlName').value = 'yourValue';

Without using cookies, session or application variables, there's not many other ways to do it.
 
Back
Top