F
Fresh Air Rider
I was extremely surprised to notice that the <asp:CheckBox> control
does not appear to have a "Value" attribute like it's HTML equivalent
does.
There are many occasions when you would want the value associated with
the checkbox to be different to the Text displayed.
ie
Value = ProductID
Text = Product description
The <asp:CheckBox> will not even allow me to set it's ID attribute
dynamically
ie ID="<%#DataBinder.Eval(Container.DataItem,"ProdID")%>"
Does anyone know how to overcome this shortfall in Microsoft's .Net
system ?
I'm sure that I'm not the only one to suffer the consequencies of this
omission.
Thanks
John
does not appear to have a "Value" attribute like it's HTML equivalent
does.
There are many occasions when you would want the value associated with
the checkbox to be different to the Text displayed.
ie
Value = ProductID
Text = Product description
The <asp:CheckBox> will not even allow me to set it's ID attribute
dynamically
ie ID="<%#DataBinder.Eval(Container.DataItem,"ProdID")%>"
Does anyone know how to overcome this shortfall in Microsoft's .Net
system ?
I'm sure that I'm not the only one to suffer the consequencies of this
omission.
Thanks
John