Hello!
I feel as if I am going mad here.
I am using the windows forms rad listbox, but I wanted to add a custom property to it, so I created a custom control and inherited like so:
Very very simple, and this has worked perfectly fine when I have done it on radlistItems and various other controls.
The problem is only with the listbox.. when I put it on my form it appears as if it is disabled. The box appears in a light orange in design view and when I run the project the items I am binding appear in the listbox, but I cannot select them.
Please please tell me what I am doing wrong!
Am I not allowed to inherit from the RadListBox, is this something that happens when you do?
Thank you so much in advance.
Bex
I feel as if I am going mad here.
I am using the windows forms rad listbox, but I wanted to add a custom property to it, so I created a custom control and inherited like so:
public partial class ElementTypeRadListBox : RadListBox |
{ |
public ElementTypeRadListBox() |
{ |
InitializeComponent(); |
} |
public ProductCreatorEnums.ElementType ElementType { get; set; } |
} |
Very very simple, and this has worked perfectly fine when I have done it on radlistItems and various other controls.
The problem is only with the listbox.. when I put it on my form it appears as if it is disabled. The box appears in a light orange in design view and when I run the project the items I am binding appear in the listbox, but I cannot select them.
Please please tell me what I am doing wrong!
Am I not allowed to inherit from the RadListBox, is this something that happens when you do?
Thank you so much in advance.
Bex