Hello,
We are having a problem with the rad combo box wherein when the allowcustomtext attribute set to true.
When inputting values such as 140000, upon post back the value in changed to 14.
This occurs only if:
- the said value is not in the drop down.
- the entered value is purely integer
- browser is Internet Explorer (currently using IE 9)
Can be replicate using a simple setup with aspx seen below:
With the source code below:
When you input the value 140000 in the radcombobox then click the button. The text box and radcombobox value becomes 14, we expect both to be 140000 though.
Please share you thoughts on this scenario. Thanks.
We are having a problem with the rad combo box wherein when the allowcustomtext attribute set to true.
When inputting values such as 140000, upon post back the value in changed to 14.
This occurs only if:
- the said value is not in the drop down.
- the entered value is purely integer
- browser is Internet Explorer (currently using IE 9)
Can be replicate using a simple setup with aspx seen below:
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
></
telerik:RadScriptManager
>
<
div
>
<
telerik:RadComboBox
ID
=
"radcbx1"
runat
=
"server"
AllowCustomText
=
"True"
></
telerik:RadComboBox
>
<
asp:Button
ID
=
"btn1"
runat
=
"server"
Text
=
"Button"
OnClick
=
"Button1_Click"
/>
<
asp:TextBox
ID
=
"txtbox1"
runat
=
"server"
Width
=
"362px"
></
asp:TextBox
>
</
div
>
</
form
>
</
body
>
</
html
>
With the source code below:
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!IsPostBack)
{
radcbx1.Items.Add(
new
Telerik.Web.UI.RadComboBoxItem(
"12000"
));
radcbx1.Items.Add(
new
Telerik.Web.UI.RadComboBoxItem(
"122"
));
radcbx1.Items.Add(
new
Telerik.Web.UI.RadComboBoxItem(
"12222"
));
radcbx1.Items.Add(
new
Telerik.Web.UI.RadComboBoxItem(
"1000"
));
radcbx1.Items.Add(
new
Telerik.Web.UI.RadComboBoxItem(
"12"
));
}
}
protected
void
Button1_Click(
object
sender, EventArgs e)
{
txtbox1.Text = radcbx1.Text;
}
When you input the value 140000 in the radcombobox then click the button. The text box and radcombobox value becomes 14, we expect both to be 140000 though.
Please share you thoughts on this scenario. Thanks.