Hello, it there any way how to find CommandBarDropDownList Item by string value?
I need following functionality. but I miss FindItem function.
Only way I know is to loop over c.Items and check, but I expect some easier way in components for commandbars (and it was also included in RadToolStrip and is in standard MS).
Thanks for any help, I had to overlook it somewhere, but documentation is quite brief and not many examples.
Zbynek
I need following functionality. but I miss FindItem function.
CommandBarDropDownList c =
new
CommandBarDropDownList();
c.Items.Add(
"a"
);
c.Items.Add(
"b"
);
c.Items.Add(
"c"
);
c.SelectedItem = c.FindItem(
"b"
);
Only way I know is to loop over c.Items and check, but I expect some easier way in components for commandbars (and it was also included in RadToolStrip and is in standard MS).
Thanks for any help, I had to overlook it somewhere, but documentation is quite brief and not many examples.
Zbynek