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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
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>