combobox stack on first selection

4 posts, 0 answers
  1. yaniv
    yaniv avatar
    6 posts
    Member since:
    Aug 2011

    Posted 11 Aug 2011 Link to this post

    hi 
    i am using the rad combo box and its working perfect beside one issue. 
    here is the scenario:
    i clicking the combo box and its displays me the items list
    then i selecting the item i want .then i post back to get the data i requested.
    then the combo box text is the last item i selected . its good so far but when i
    clicking back in combo box it opens but displays only the last item, until i 
    deleting it and then displays all the items.


    i am using stored proc to get data.


    here is my code:
    <telerik:RadComboBox
                    ID="RadComboBox1" runat="server"
                    Width="277px" Height="140px"
                    EmptyMessage="Type in..."
                    DataTextField="Item"             
                    OnItemsRequested="RadComboBox1_ItemsRequested"
                    AutoPostBack="true"
                    EnableLoadOnDemand="true"
                    Filter="Contains"
                    LoadingMessage="Loading..."
                    MarkFirstMatch="true"
                     
                     >
                </telerik:RadComboBox>

    thank you!
  2. yaniv
    yaniv avatar
    6 posts
    Member since:
    Aug 2011

    Posted 13 Aug 2011 Link to this post

    still waiting for help here...
  3. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 15 Aug 2011 Link to this post

    Hi Yaniv,

    Actually this is the expected behavior of the combobox - loaded on demand items are not persisted on postback.


    Regards,
    Helen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  4. yaniv
    yaniv avatar
    6 posts
    Member since:
    Aug 2011

    Posted 01 Oct 2011 Link to this post

    thanks
Back to Top