Thanks for the post. Sorry about the vague post.
The missing apostrophe was just a typo when I posted the message.
The error I get when I try to get the server-side textBox value (when
visible= false) is "Object Requred". If I make it visible, it works. The
problem is that this information doesn't need to be displayed.
I'm using server-side textboxes because they interact with a gridview and I
feel more comfortable with them. So I can't use (Type= hidden).
How can this be done with properties instead of retrieving the value of the
Textbox?
Thanks.
"Mark Rae" wrote:
"VMI" <VM*@discussions.microsoft.comwrote in message
news:D8**********************************@microsof t.com...
How can I pass variable or Property values from my popup webForm to the
webform that opened this popup?
http://msdn.microsoft.com/library/de...odaldialog.asp
For information that's in a control (i.e. Textbox), I'm using javascript
and
document.getElementById:
var variable = document.getElementById('txtBox).value;
I'm assuming that the missing apostrophe after txtBox is just a typo...?
But if the control is hidden, that javascript code generates an error.
Sigh - WHAT ERROR DOES IT GENERATE?
Can this be done with properties?
Yes.