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

Radcombobox CustomEdit Entered Text Not Returned

2 Answers 27 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
David Gray
Top achievements
Rank 1
David Gray asked on 10 Jul 2010, 04:54 PM
I have a radcombobox control bound to XML list of listitems with customEdit=True. When custom text is entered to control it is persisted to database but does not show in control when page is reloaded. Control works fine if I pick an item in the xml list but not when custom text is entered. Checked out control properties but did not see anything that looked likely. Greatly appreciate your time and consideration.

David

2 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 12 Jul 2010, 02:56 PM
Hi David Gray,

Could you clarify what do you mean by the 'customEdit' property? Is it AllowCustomText?

If so, the following setup works properly:
<div>
    <telerik:RadComboBox ID="RadComboBox1" runat="server" AllowCustomText="true">
        <Items>
            <telerik:RadComboBoxItem Text="1" />
        </Items>
    </telerik:RadComboBox>
    <asp:Button ID="Button1" runat="server" Text="Submit" />
</div>

i.e. after postback the text in the RadComboBox remains even if there is not an Item that matches it.

Can you please provide more info about your implementation, for instance the definition of your RCB and the way you bind it to the XML data source?

Sincerely yours,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David Gray
Top achievements
Rank 1
answered on 18 Jul 2010, 03:49 PM
Simon - thanks for your reply on this event. The RCB was fine and te problem was in my code where I was loading the control. All is good now and working great!

Thanks again,

Dave
Tags
ComboBox
Asked by
David Gray
Top achievements
Rank 1
Answers by
Simon
Telerik team
David Gray
Top achievements
Rank 1
Share this question
or