This is a migrated thread and some comments may be shown as answers.

RadComboBox - AutoComplete

1 Answer 190 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 01 Aug 2011, 10:51 AM
Hello,

I'm using the following autocomplete radcombobxo:

<telerik:RadComboBox
                                 ID="ParentRadComboBox" runat="server"
                                 Width="590px" Height="140px" AllowCustomText="true" MarkFirstMatch="true"
                                 EmptyMessage="Type a Title" DataValueField="SerID"
                                 DataSourceID="GuideSqlDataSource" DataTextField="Title" >
                             <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                        </telerik:RadComboBox>

The problem is the user can type a text which is not even exist within the radcombobox item and click Submit (A Button).
I need to use the property AllowCustomText .
How can I validate that the typed text is valid?

Please, I need your help,
It is appreciated to sendme the modified code.

Regards,
Bader

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 01 Aug 2011, 11:40 AM
Hello Bader,

You can try the same approach in the following code library to achieve your scenario.
Various RadComboBox implementations with Required Field Validation .

Thanks,
Shinu.
Tags
ComboBox
Asked by
Bader
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or