Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
I have a RadSearchBox. The user can start typing and a list of selections comes up.
Is there a way I can restrict the user from typing in invalid choices? I want to force them to choose one of the items on the list.
Any ideas on the best way to approach this would be appreciated!
<
telerik:RadSearchBox
HighlightFirstMatch
=
"true"
OnClientLoad
"OnClientLoad"
... >
</
>
<script>
function
OnClientLoad(sender, args) {
// clear the text if there is no selected item
if
(!sender._highlightedItem) {
sender.get_inputElement().value =
""
;
}
OnClientSearch(sender, args) {
// prevent postback if no item is selected
sender._postBackOnSearch =
false
else
{
true
</script>