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

"dirty" indicator on item in list? image?

2 Answers 77 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
David Avery
Top achievements
Rank 1
David Avery asked on 30 Nov 2010, 11:37 PM
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 Answers, 1 is accepted

Sort by
0
David Avery
Top achievements
Rank 1
answered on 01 Dec 2010, 03:53 PM
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
 
 
Next

0
Dimitar Terziev
Telerik team
answered on 03 Dec 2010, 02:59 PM
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.
Tags
ListBox
Asked by
David Avery
Top achievements
Rank 1
Answers by
David Avery
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or