Haw can i use a value from a session variable within the attribute of a control?
Posted
by William Calleja
on Stack Overflow
See other posts from Stack Overflow
or by William Calleja
Published on 2010-03-22T09:12:08Z
Indexed on
2010/03/22
9:21 UTC
Read the original article
Hit count: 251
I have an ASP control custom built and I need to pass a value taken from a session variable to it like so:
<custom:control id='mycontrol' value="+Session['myControlValue']+">
...
</custom:control>
the above code obviously doesn't work, I need a way to insert the Session value in the control in this way somehow, can anyone help?
© Stack Overflow or respective owner