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

LoadOnDemand RadComboBox isn't repopulating on postback

1 Answer 111 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 15 Oct 2010, 07:13 PM
My issue is very similar to the case described in: http://www.telerik.com/community/forums/aspnet-ajax/combobox/2010-1-415-radcombobox-automatic-load-on-demand-broken-after-any-postback.aspx

I have a RadComboBox with LoadOnDemand=true and have implemented the ItemsRequested method in my codebehind. I'm using AutoPostBack=true.

My problem is that after selecting an item (and the postback completes), I see this behaviour:

1) I clicked the arrow to open the combobox
2) The ItemsRequested event fires on the server
3) The combobox opens and shows only the selected item
4) I click elsewhere on the screen to blur the combobox
5) I open the combobox again
6) All the list items appear in the combobox but ItemsRequested wasn't called again.


I'm puzzled why this is happening. If I am trying to open the combobox (after a postback) and this triggers the ItemsRequested event, why do the items not appear in my browser until I re-open the combobox?

Is this a bug in RadComboBox, or is there some client JS I could use to get the items re-populating on a subsequent click? Is there a common use case for RadComboBox using both LoadOnDemand and AutoPostBack, or am I trying to use it in an unintended way?

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 25 Oct 2010, 01:07 PM
Hi Stefan,

The same use case works fine in our live demos here. Which version of Telerik.Web.UI are you using? Is your setup different from the one in the demo?

Best wishes,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Stefan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or