RadListBoxes with AllowTransfer - need to access transfer items server side

2 posts, 0 answers
  1. Steve
    Steve avatar
    9 posts
    Member since:
    Jun 2011

    Posted 01 Jul 2011 Link to this post

    I have an aspx page with 2 RadListBox controls.  AllowTransfer = true for RadListBox1.  RadListBox1 gets populated from a database and is also tied to a TextBox used as a filter. 

    After transfering items from RadListBox1 to RadListBox2 by clicking the client-side arrow button that gets displayed with RadListBox1 I can see the items on the client side of RadListBox2. but these items are not accessible on the server side. 

    I need to get server-side access the new items in RadListbox2 during a postback in order to pass them to another method ... but the server-side items colleciton is empty.

    Setting a breakpont I do see a value in RadListBox2.ClientChanges ... and an array like this:

    >? RadListBox2.ClientChanges

    Count = 2

    [0]: {Telerik.Web.UI.ClientOperation<Telerik.Web.UI.RadListBoxItem>}

    [1]: {Telerik.Web.UI.ClientOperation<Telerik.Web.UI.RadListBoxItem>}

    Is there a way to access these items in a server side postback?  Thanks

  2. Steve
    Steve avatar
    9 posts
    Member since:
    Jun 2011

    Posted 01 Jul 2011 Link to this post

    My mistake.  I was clearing the 2nd RadListBox on page load.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top