The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
NRNirmal Raja Syncfusion Team October 23, 2008 03:11 PM UTC
Hi,
The GridListControl can be made muliselection using a property called SelectionMode property that has to be set as MultiExtended. And using Grid.SelectionRanges we can get the range of selected rows from the GridListBox.
Please refer the below code snippet: private void GridListBox1_SelectedValueChanged(object sender, EventArgs e) { if (GridListBox1.SelectedIndex != -1) { for (int i = GridListBox1.Grid.Model.SelectedRanges.ActiveRange.Top; i <= GridListBox1.Grid.Model.SelectedRanges.ActiveRange.Bottom; i++) { if (i != 0) Console.WriteLine(GridListBox1.Items[i - 1].ToString()); } } }