Hi.
I have a radcombobox that fills on demand from a sql-query, it is used to find users, companies, servers and so on. Works very good.
But, I would like to change it to a broader search if the text is not found.
Anyone knows how to do this?
I have a radcombobox that fills on demand from a sql-query, it is used to find users, companies, servers and so on. Works very good.
But, I would like to change it to a broader search if the text is not found.
<
telerik:RadComboBox
ID
=
"rcomSearch"
runat
=
"server"
OnItemsRequested
=
"rcomSearch_ItemsRequested"
EnableLoadOnDemand
=
"true"
DataTextField
=
"text1"
DataValueField
=
"typeid"
MarkFirstMatch
=
"true"
AutoPostBack
=
"False"
HighlightTemplatedItems
=
"true"
EmptyMessage
=
"Søk i IBA..."
OnSelectedIndexChanged
=
"rcomSearch_SelectedIndexChanged"
LoadingMessage
=
"Henter..."
Width
=
"300px"
OnClientSelectedIndexChanged
=
"OnClientSelectedIndexChanged"
Visible
=
"true"
AllowCustomText
=
"True"
>
So, OnSelectedIndexChanged i will go directly to the found object, but if I press Enter with text in the box I would like to response.redirect to a Search-page and give a list of results there.Anyone knows how to do this?