In order to achieve the desired functionality you should develop a custom method implementing it, there is no build in function available.
to check if a text starts with a given string.
control by its ID, after that get the items of the RadListBox
and make a loop over them to check if the text of an item contains the string given as an argument.
.indexOf(searchstring, start) -
returns -1 if no match is found.
- the string you search in (in our case item's text).
*searchstring - the string you are searching for.
*start - the position from which you want to start the searching (ex. if start=0 the searching starts from the first letter of the string).
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>