LoadOnDemand RadComboBox isn't repopulating on postback

2 posts, 0 answers
  1. Stefan
    Stefan avatar
    16 posts
    Member since:
    Jun 2010

    Posted 15 Oct 2010 Link to this post

    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?
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 25 Oct 2010 Link to this post

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