asp.net - Want to add new properies in ListItem Collection -
I am working to create a custom control inherited from the checkbox list controls. We can add items from ListItem collection editior at design time. This listThe item collection editor has 4 properties
1) Enable
2) Selected
3) Text
4) Value
I really want to add some new features like "imager" and "issler"
I need expert opinion from stack overflow dot com
thanks < / P>
You can create a square that receives properties from ListItem to add. But the CheckBoxList will use the inheritance listItem base type ... You can try to hide the items collection to use your custom type, although I do not know that it will work the same way ... it depends on you That you need to use these new properties of the list item.
HTH
Comments
Post a Comment