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

combobox stack on first selection

3 Answers 56 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
yaniv
Top achievements
Rank 1
yaniv asked on 11 Aug 2011, 09:38 AM
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!

3 Answers, 1 is accepted

Sort by
0
yaniv
Top achievements
Rank 1
answered on 14 Aug 2011, 03:50 AM
still waiting for help here...
0
Helen
Telerik team
answered on 15 Aug 2011, 08:57 AM
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.

0
yaniv
Top achievements
Rank 1
answered on 01 Oct 2011, 03:57 PM
thanks
Tags
ComboBox
Asked by
yaniv
Top achievements
Rank 1
Answers by
yaniv
Top achievements
Rank 1
Helen
Telerik team
Share this question
or