I currently have 3 listboxes - Each one contains a "CustomAttr" attribute.
Listbox1.items["CustomAttr"] = 1
Listbox2.items["CustomAttr"] = 2
Listbox3.items["CustomAttr"] = 3
Destination Listbox = DestinationListBox
So when I drag an item from Listbox 1 to DestinationListBox, the item in DestinationListBox will still maintain ["CustomAttr"] = 1 (I believe)
In the OnClientTransferring client event, is it possible to get a count of items in DestinationListBox by attribute?
The reason I ask is I want to be able to add only 5 items of ["CustomAttr"] = 1, and ensure that if that is the case from OnClientTransferring, I can cancel the event using args.set_cancel(true);
If anyone has a better way of carrying out this type of function, I would really appreciate the assistance..
Many thanks,
Laurence
Listbox1.items["CustomAttr"] = 1
Listbox2.items["CustomAttr"] = 2
Listbox3.items["CustomAttr"] = 3
Destination Listbox = DestinationListBox
So when I drag an item from Listbox 1 to DestinationListBox, the item in DestinationListBox will still maintain ["CustomAttr"] = 1 (I believe)
In the OnClientTransferring client event, is it possible to get a count of items in DestinationListBox by attribute?
The reason I ask is I want to be able to add only 5 items of ["CustomAttr"] = 1, and ensure that if that is the case from OnClientTransferring, I can cancel the event using args.set_cancel(true);
If anyone has a better way of carrying out this type of function, I would really appreciate the assistance..
Many thanks,
Laurence