RadComboBox - AutoComplete

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

    Posted 01 Aug 2011 Link to this post


    I'm using the following autocomplete radcombobxo:

                                     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>

    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.

  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 .

Back to Top