|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do I post hidden variables to another form from a popup?I am bringing up a popup which has a couple of fields that the user enters.
I fill the hidden fields then submit and close the popup which then reverts back to my main form, which retrieves the hidden vars and does the database operation. Seems straight forward enough but I have run into a few stumbling blocks including submitting then closing the popup and reverting control back to the main form to pick up the variables. Someone has to have done this. Any help is appreciated. Encapsulate whatever you want to pass back from the popup to the caller into
one object and pass it in window.returnValue property. Please ask more specific questions. What did you try and what problems did you encounter? Eliyahu Show quoteHide quote "aaa" <some***@microsoft.com> wrote in message news:e7yqZa1PFHA.1884@TK2MSFTNGP15.phx.gbl... > I am bringing up a popup which has a couple of fields that the user enters. > I fill the hidden fields then submit and close the popup which then reverts > back to my main form, which retrieves the hidden vars and does the database > operation. Seems straight forward enough but I have run into a few stumbling > blocks including submitting then closing the popup and reverting control > back to the main form to pick up the variables. > > Someone has to have done this. Any help is appreciated. > > I did put specifically what I was having trouble with:
"submitting then closing the popup and reverting control back to the main form to pick up the variables" Show quoteHide quote "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message news:OpcHMw1PFHA.3760@TK2MSFTNGP10.phx.gbl... > Encapsulate whatever you want to pass back from the popup to the caller into > one object and pass it in window.returnValue property. > > Please ask more specific questions. What did you try and what problems did > you encounter? > > Eliyahu > > "aaa" <some***@microsoft.com> wrote in message > news:e7yqZa1PFHA.1884@TK2MSFTNGP15.phx.gbl... > > I am bringing up a popup which has a couple of fields that the user > enters. > > I fill the hidden fields then submit and close the popup which then > reverts > > back to my main form, which retrieves the hidden vars and does the > database > > operation. Seems straight forward enough but I have run into a few > stumbling > > blocks including submitting then closing the popup and reverting control > > back to the main form to pick up the variables. > > > > Someone has to have done this. Any help is appreciated. > > > > > >
IE Web Controls - discontinued ???
Re: At which life cycle should EnsureChildControls() be called? custom validator and button events Dynamically resize a DropDownList in a grid when dropped down How to call javascript when click update command(it Edit command c Cant Render Page Control with Visual Studio 2005 Beta Control Template Custom Templated Control not rendering asp.net controls correctly Enter Key form with many UserControls Printed Monthly Calendar Controls |
|||||||||||||||||||||||