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

Item is not mark as selected in RadCombo

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zeeshan
Top achievements
Rank 1
Zeeshan asked on 22 Nov 2012, 08:03 AM
Hi Guys,
I am using Telrik ASP.NET AJAX controls. I am facing some problem while using RadGrid and RadCombo control. My scenario is given below:


I am using RadGrid on my page and using .ascx user control in RadGrid "EditFormSettings" property to edit my record. In this user control I've a RadCombo and also some textboxes. When i try to add new line in grid a new row with editable form is open. In RadCombo i type something to select, if it doesn't exist in our radcombo i open a RadWindow in which i add new value after adding this new item then i close my RadWindow and in close event radwindow i rebind my grid of page, the newly added item shows in the dropdown, but it is not marked a selected in RadCombo. Can anybody help me that how i can mark it selected. Its very urgent. Waiting for quick reply. Thanks in advance.

Regards,
Zeeshan

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 27 Nov 2012, 09:49 AM
Hi,

After you insert the item in the combo datasource you will need to mark the newly inserted item as selected. You could find it in the Items collection of the combobox control though its Text or Value property.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Zeeshan
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or