Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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.

Being smarter than you look is always better than looking smarter than you are.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...