How to set radcombobox with automatic LoadOnDemand from client side

2 posts, 0 answers
  1. Roni Lev
    Roni Lev avatar
    4 posts
    Member since:
    Jan 2010

    Posted 10 Aug 2010 Link to this post

    How can i  set the combo from client side.?

    The way i do it now is

    on Client side i pass value using hidden inputs to server side than i call ajaxRequest

    j_inComboText.value = Description;

    j_inComboVal.value = StatusId;



    "<%= RadAjaxManager1.ClientID %>").ajaxRequest();

    On server side i implement




    if (rcbStatus.SelectedIndex == 0)





    RadComboBoxItem ps = new RadComboBoxItem();


    ps.Text = inComboText.value ;

    ps.Value = inComboVal.Value ;

    rcbStatus.Items.Insert(0, ps);

    rcbStatus.SelectedIndex = 0;

    It shows that my value is set ok in the combo but not refresh it to appear in the header of the combo?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Aug 2010 Link to this post


    Have you set the AjaxManager's AjaxSettings properly?
    AJAX Manager

    Also check the demo which shows how to populate the combo using web service/wcf.
    ComboBox / Load on Demand modes
    ComboBox / WCF Web Service

Back to Top