I have a TreeList that allows multiple row selection (server-side) and has a TreeListSelectColumn. This configuration also creates a checkbox in the header that allows all rows to be selected/deselected. When an individual row is selected the expected ItemCommand event is triggered on the server-side. However, when the select-all checkbox in the header is checked and all rows are selected, the subsequent postback does not generate ItemCommand events. Is there a particular event for this select-all postback? Any recommendations for capturing these selection changes?
<
telerik:RadTreeList
ID
=
"OrganizationTreeList"
runat
=
"server"
AllowPaging
=
"True"
AllowSorting
=
"True"
AllowMultiItemSelection
=
"True"
AutoGenerateColumns
=
"false"
DataKeyNames
=
"ID"
ParentDataKeyNames
=
"ParentID"
GridLines
=
"Vertical"
OnNeedDataSource
=
"OrganizationTreeList_OnNeedData"
OnItemDataBound
=
"OrganizationTreeList_OnItemDataBound"
OnItemCommand
=
"OrganizationTreeList_ItemCommand"
>
<
NoRecordsTemplate
>
There are no organizations to display.
</
NoRecordsTemplate
>
<
Columns
>
<
telerik:TreeListSelectColumn
UniqueName
=
"SelectColumn"
HeaderStyle-Width
=
"5%"
/>
<
telerik:TreeListBoundColumn
DataField
=
"ID"
HeaderText
=
"ID"
UniqueName
=
"ID"
HeaderStyle-Width
=
"80px"
HeaderStyle-HorizontalAlign
=
"Center"
ItemStyle-HorizontalAlign
=
"Center"
/>
<
telerik:TreeListCheckBoxColumn
DataField
=
"IsActive"
HeaderText
=
"Active"
UniqueName
=
"IsActive"
HeaderStyle-Width
=
"55px"
HeaderStyle-HorizontalAlign
=
"Center"
ItemStyle-HorizontalAlign
=
"Center"
/>
<
telerik:TreeListBoundColumn
DataField
=
"Name"
HeaderText
=
"Name"
UniqueName
=
"Name"
HeaderStyle-Width
=
"68%"
/>
</
Columns
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
</
telerik:RadTreeList
>