Item is not mark as selected in RadCombo

2 posts, 0 answers
  1. Zeeshan
    Zeeshan avatar
    9 posts
    Member since:
    Feb 2009

    Posted 22 Nov 2012 Link to this post

    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.

  2. Andrey
    Andrey avatar
    836 posts

    Posted 27 Nov 2012 Link to this post


    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.

    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.
Back to Top