RadComboBox - AutoComplete

2 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 01 Aug 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Aug 2011 Link to this post

    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.
Back to Top