Hi I have a problem with combo boxes and validation.
I just putted a combobox and a requiredfieldvalidator on my form.
when I try to submit my form without compiling the combobox the alert shows up, but when I try to select a value from my combobox the dropdrown list does not show up.
here you have my code
<telerik:radcombobox
id="CompanyId"
Runat="server"
Height="140px"
Width="250px"
DataTextField="Name"
DataValueField="Id"
Skin="Office2007"
AllowCustomText = "true"
MarkFirstMatch="True"
OnDataBound="RadComboBox1_DataBound"
DataSourceID="odsgetCompany"
TabIndex="1" />
<asp:RequiredFieldValidator ID="rfvCmpanyId" ControlToValidate="CompanyId" runat="server" Text="*" ErrorMessage="Company" CssClass="error"/>
thank you for help
Raphael
I just putted a combobox and a requiredfieldvalidator on my form.
when I try to submit my form without compiling the combobox the alert shows up, but when I try to select a value from my combobox the dropdrown list does not show up.
here you have my code
<telerik:radcombobox
id="CompanyId"
Runat="server"
Height="140px"
Width="250px"
DataTextField="Name"
DataValueField="Id"
Skin="Office2007"
AllowCustomText = "true"
MarkFirstMatch="True"
OnDataBound="RadComboBox1_DataBound"
DataSourceID="odsgetCompany"
TabIndex="1" />
<asp:RequiredFieldValidator ID="rfvCmpanyId" ControlToValidate="CompanyId" runat="server" Text="*" ErrorMessage="Company" CssClass="error"/>
thank you for help
Raphael