ListView Item SelectionChanged and SelectionChanging Together

Hi,

Hi,
I closed the incident that no: 139969. But i got one more issue. When i want to use  the content of the "Restrict the number of selected items",
if i use just ListView SelectionChanging it's OK. But when i use both of the "SelectionChanged" and "SelectionChanging" ,i got an exception. 
After selection  limitation given me an warning and i want to remove the one of the selected one item, i got: "Index was out of range.Must be
non-negative and less than the size of the collection.Parameter name:index". So, is not possible to use together these properties? 




1 Reply

JN Jayaleshwari N Syncfusion Team October 4, 2018 11:53 AM UTC

Hi Pinar,  
  
Thanks for using Syncfusion products.  
  
We have checked the reported query "Index was out of range error" from our end. We would like to let you know that If your trying to remove it from the SelectedItems in the SelectionChanged event, can you please share us what is your actual requirement. Since it will be automatically removed from the SelectedItems when unselect the item. So please share us the code snippet which you’re trying, it would help us to analyze the query better and provide an appropriate solution.  
  
Regards,  
Jayaleshwari N 


Loader.
Up arrow icon