Skip to content

DevExpress-Examples/asp-net-web-forms-gridlookup-multiple-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grid Lookup for ASP.NET Web Forms - How to enable multiple selection

This example demonstrates how to create a command column and enable multiple selection mode.

Selection mode

Overview

Follow the steps below to enable multiple selection in a grid control:

  1. Enable a command column's ShowSelectCheckbox property and set the SelectAllCheckboxMode property to AllPages to select and deselect all records on all grid pages.

  2. Set the grid's SelectionMode property to Miltiple.

<dx:ASPxGridLookup ID="gridLookup" runat="server" SelectionMode="Multiple" ...>
    <Columns>
        <dx:GridViewCommandColumn ShowSelectCheckbox="True" SelectAllCheckboxMode="AllPages" />
        <!-- ... -->
    </Columns>
    <!-- ... -->
</dx:ASPxGridLookup>

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)