"dirty" indicator on item in list? image?

3 posts, 0 answers
  1. David Avery
    David Avery avatar
    57 posts
    Member since:
    Apr 2006

    Posted 30 Nov 2010 Link to this post

    Hey guys

    I have a dual listbox for adding items, selecting roles and employees.  When I free an employee, they go into the "available pool".  When I choose from the available pool, it moves to the "assigned" on the right.  Pretty simple.  I have a save button that makes the necessary adjustments to my associative tables. 

    What would be neat is to be able to use an icon on items that are "new" or "dirty".  I was thinking I could do this maybe through client script?

    Also, is there any way I could iterate through the items collection, and know what is dirty and what is  not?  IE what was placed in a container from an action.  I was maybe thinking of an attribute.  An example would be greatly appreciated.
  2. David Avery
    David Avery avatar
    57 posts
    Member since:
    Apr 2006

    Posted 01 Dec 2010 Link to this post

    ok, I found a collection "clientchanges" which is not documented in the listbox (but I found it overall for the combobox here
    http://www.telerik.com/help/aspnet-ajax/telerik.web.ui-telerik.web.ui.radcombobox-clientchanges.html).  Is there a complete documentation of all properties for the listbox?

    I used this as below and it looks like I can iterate through changes.
    For Each x As ClientOperation(Of RadListBoxItem) In rlbUnmapped.ClientChanges
        If x.Type = ClientOperationType.Remove Then
        End If

  3. DevCraft R3 2016 release webinar banner
  4. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 03 Dec 2010 Link to this post

    Hi David Avery,

    You could find detail information for all ListBox properties here.
    About your previous enquiry i could offer you to set ImageUrl property as demonstrated here.
    All the best,
    Dimitar Terziev
    the Telerik team
    Browse the vast support resources we have to jumpstart 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.
Back to Top