M
Martin Gregersen
Hi
Looking for a way to bind a readonly property on a textbox to a parameter,
not having to cycle through all controls, but rather setting <textbox
id="myTextbox" readonly="<%# SetReadOnly %> where SetReadOnly is a public
property, saved to a Session variable.
Can't get it to work, eventhough the designer shows and says that it is
databound... When I debug I can see that it never accesses the property, as
if it just says 'Okay, the vaule "<%# SetReadOnly %>" is not "true", it must
be "false"...'
Hope somebody can (and will ;o) ) help me...
Thanks...
Martin Gregersen
WebShine A/S
(e-mail address removed)
Looking for a way to bind a readonly property on a textbox to a parameter,
not having to cycle through all controls, but rather setting <textbox
id="myTextbox" readonly="<%# SetReadOnly %> where SetReadOnly is a public
property, saved to a Session variable.
Can't get it to work, eventhough the designer shows and says that it is
databound... When I debug I can see that it never accesses the property, as
if it just says 'Okay, the vaule "<%# SetReadOnly %>" is not "true", it must
be "false"...'
Hope somebody can (and will ;o) ) help me...
Thanks...
Martin Gregersen
WebShine A/S
(e-mail address removed)