A
Andrew Backer
I would like to be able to set the Visible property of a placeholder to
'false/true' via a normal function call rather than in the codebehind.
What I am aiming for is something approximating this :
<asplaceHolder runat="server" Visible=<%#
MyNs.Class.StaticPropertyGet%> />
This works fine, as I would expect it to, inline :
<b>The value is = (<%=(bool)MyNs.Class.StaticPropertyGet%>) </b>
Is there any way I can put this kind of statement into a control and
have it do something? It apparently ignores it right now, since it
doesn't crash.
I am trying to get something really simple to work here, rather than
writing yet another single purpose control with lots 'o logic.
TIA,
Andrew Backer
'false/true' via a normal function call rather than in the codebehind.
What I am aiming for is something approximating this :
<asplaceHolder runat="server" Visible=<%#
MyNs.Class.StaticPropertyGet%> />
This works fine, as I would expect it to, inline :
<b>The value is = (<%=(bool)MyNs.Class.StaticPropertyGet%>) </b>
Is there any way I can put this kind of statement into a control and
have it do something? It apparently ignores it right now, since it
doesn't crash.
I am trying to get something really simple to work here, rather than
writing yet another single purpose control with lots 'o logic.
TIA,
Andrew Backer