I've created some Rad Combo Boxes in code behind and as part of that I'm setting their Text property; In the origional version of the Q1 2008 controls this worked just fine and my text was displayed in the combo box, however since upgrading to SP1 this no longer works. The Text property IS getting set, it's just not getting rendered for some reason.
Were there any changes in SP1 that might be causing this and is there a workaround?
Were there any changes in SP1 that might be causing this and is there a workaround?
4 Answers, 1 is accepted
0
Hi Nick,
Have you set the AllowCustomText property of RadComboBox to true? If you did this and still have the problem, please open a support ticket and send us a simple project illustrating the problem and/or provide us with the definition of RadComboBox and the code you use to set its Text.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Have you set the AllowCustomText property of RadComboBox to true? If you did this and still have the problem, please open a support ticket and send us a simple project illustrating the problem and/or provide us with the definition of RadComboBox and the code you use to set its Text.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Hi Nick,
Also, you can use the new property EmptyMessage.
Regards,
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Also, you can use the new property EmptyMessage.
Regards,
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Nicholas
Top achievements
Rank 1
answered on 22 May 2008, 05:35 PM
If I set AllowCustomText to true, then yes it does work, but then I'm allowing custom text which isn't something we want to do. We're using a TreeView control inside the ComboBox to simulate a multi select combobox with checkboxes, so we want to be able to set the text to whatever's currently selected in the tree when the control is created, but not allow custom text or display something when there is no selection.
We're basicaly trying to do exactly what you do in the ComboBox/Tree example, just in C# rather than javascript:
comboBox.set_text(node.get_text());
http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultCS.aspx
We're basicaly trying to do exactly what you do in the ComboBox/Tree example, just in C# rather than javascript:
comboBox.set_text(node.get_text());
http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultCS.aspx
0
Hi Nicholas,
You can set the MarkFirstMatch property to True, instead of AllowCustomText.
This way the users will be able to enter only letters corresponding to combo's items.
Now the Text property will be displayed.
Kind regards,
Veskoni
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can set the MarkFirstMatch property to True, instead of AllowCustomText.
This way the users will be able to enter only letters corresponding to combo's items.
Now the Text property will be displayed.
Kind regards,
Veskoni
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center