M
Max2006
Hi,
When I use this tag:
<asp:lable . Visible='<%# IsEditable %>'
I have to do DataBind so the binding takes place.
I am trying to use the following notation to do the similar thing without
forced to call DataBind method:
<asp:lable . Visible='<%= IsEditable %>'
But I receive this error:
Generation of designer file failed: Cannot create an object of type
'System.Boolean' from its string representation '<%= IsEditable %>' for the
'Visible' property.
Is there any way to use <%= IsEditable %> instead of <%# IsEditable %> to
avoid calling the DataBind?
Thank you,
Max
When I use this tag:
<asp:lable . Visible='<%# IsEditable %>'
I have to do DataBind so the binding takes place.
I am trying to use the following notation to do the similar thing without
forced to call DataBind method:
<asp:lable . Visible='<%= IsEditable %>'
But I receive this error:
Generation of designer file failed: Cannot create an object of type
'System.Boolean' from its string representation '<%= IsEditable %>' for the
'Visible' property.
Is there any way to use <%= IsEditable %> instead of <%# IsEditable %> to
avoid calling the DataBind?
Thank you,
Max