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

Combo Validation Issue - AllowCustomText

1 Answer 56 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 25 Aug 2011, 05:28 PM
I am having a problem validating a combo box using a custom validator but only when AllowCustomText = True.  If I remove the AllowCustomText="True" property it will fire the validation.  Any idea of what's going on here??  I have seen plenty of examples on the site using validation with Allowing custom text.

<telerik:RadComboBox ID="cboFromName" 
runat="server" 
Skin="Vista" 
AllowCustomText="True" 
MarkFirstMatch="True" 
Width="311px">
</telerik:RadComboBox>
<asp:CustomValidator ID="CustomValidator1" 
runat="server" 
ClientValidationFunction="validateFromName"
ControlToValidate="cboFromName" 
CssClass="body" 
ErrorMessage="From Name required"></asp:CustomValidator>

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Aug 2011, 01:10 PM
Hello Robert,

Take a look at the following forum which implements a similar scenario.
Validate user input in RadCombobox with AllowCustomText="True" Filter="Contains"

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