A
Andrew Robinson
is there a way of correctly coding this?
<asp:TextBox ID="TextBox1" runat="server" MaxLength='<%GetMaxLength()%>' />
and from my cs file:
protected int GetMaxLength() { return 5; }
Pretty sure I have seen this before but I can't seem to get it to work
outside of databinding.
-Andy
<asp:TextBox ID="TextBox1" runat="server" MaxLength='<%GetMaxLength()%>' />
and from my cs file:
protected int GetMaxLength() { return 5; }
Pretty sure I have seen this before but I can't seem to get it to work
outside of databinding.
-Andy