T
tshad
How do you hide an asp.net object and still be able to access it?
I had my email in a session variable, but you can't access the session
variable from Javascript (I don't think - since Javascript is Client and
Session is Server).
I tried using the email that was on the page, but it was surrounded by a
Panel that had its visible property set to false - so anything inside of the
Panel was not on the page.
I also tried to set a variable:
<asp:Label ID="emailSave" Visible="false" runat="server"/>
But I had the same problem as the Panel, it wasn't on the page.
I am trying to access this from a page I open so this page is now the
opener.
How can I hide a variable and still get access to it via the Javascript?
Thanks,
Tom
I had my email in a session variable, but you can't access the session
variable from Javascript (I don't think - since Javascript is Client and
Session is Server).
I tried using the email that was on the page, but it was surrounded by a
Panel that had its visible property set to false - so anything inside of the
Panel was not on the page.
I also tried to set a variable:
<asp:Label ID="emailSave" Visible="false" runat="server"/>
But I had the same problem as the Panel, it wasn't on the page.
I am trying to access this from a page I open so this page is now the
opener.
How can I hide a variable and still get access to it via the Javascript?
Thanks,
Tom