<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title></title>
</
head>
<
body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="scriptmanager" runat="server"></telerik:RadScriptManager>
<div>
<telerik:RadTreeList ID="treelist" runat="server"
AllowPaging="True" DataKeyNames="FirstName" ParentDataKeyNames="gender"
DataSourceID="SqlDataSource1" GridLines="Horizontal" AutoGenerateColumns="true"
ShowTreeLines="False" >
<PagerStyle Mode="NextPrev" />
</telerik:RadTreeList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:TestConnectionString1 %>"
SelectCommand="SELECT [MobileNumber], [P_Id], [FirstName], [MiddleName], [LastName], [JObTitle], [DOB], [EmailID], [gender] FROM [Persons]">
</asp:SqlDataSource>
</div>
</form>
</
body>
</
html>

I'm trying to loop through all selected rows via with the code below and it works fine until I ReOrder the columns.
At that point, it returns the value in the column to the right of it. No matter how many times I reorder it, it always returns the value to the right.
Code Behind:
For Each gdi As GridDataItem In rgTimeMaterial.SelectedItems jn = gdi("Customer").Text Next
Asp.Net:
<t:RadGrid ID="rgTimeMaterial" runat="server" PageSize="200" AllowPaging="True" AllowSorting="True" AllowMultiRowSelection="true" Width="995" Height="412px" GridLines="Both" ShowFooter="true"> <HeaderStyle Width="100" Wrap="false" /> MasterTableView EnableHeaderContextMenu="true" CellPadding="0" CellSpacing="0" AllowMultiColumnSorting="true" Width="100%" ClientDataKeyNames="Job_Number"> <CommandItemSettings ExportToPdfText="Export to Pdf" /> <Columns> <t:GridClientSelectColumn HeaderStyle-Width="35" UniqueName="ClientSelectColumn" /> </Columns> MasterTableView> <ItemStyle Font-Names="Arial,Helvetica,sans-serif" Font-Size="9pt" Wrap="false" /> <ClientSettings ColumnsReorderMethod="Reorder" AllowColumnsReorder="True" AllowColumnHide="true"ReorderColumnsOnClient="True"> <ClientEvents OnRowContextMenu="RowContextMenu" OnRowDblClick="OnRowDblClick" OnRowCreated="RadGrid1_RowCreated"OnRowSelected="RadGrid1_RowSelected" OnRowDeselected="RadGrid1_RowDeselected"OnGridCreated="GridCreated" /> <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" /> <Scrolling SaveScrollPosition="true" AllowScroll="true" UseStaticHeaders="True"> </Scrolling> <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ShowRowIndicatorColumn="true"ClipCellContentOnResize="true" AllowResizeToFit="true" /> </ClientSettings> <PagerStyle Position="Top" Mode="NextPrevAndNumeric" AlwaysVisible="true" /> </t:RadGrid><%--<telerik:GridBoundColumn SortExpression="EffectiveDate" HeaderText="EffectiveDate" HeaderButtonType="TextButton" DataField="EffectiveDate" UniqueName="EffectiveDate" DataFormatString="{0:MM/dd/yyyy}" Visible="True"> <HeaderStyle Width="80px" /> </telerik:GridBoundColumn>--%> <telerik:GridDateTimeColumn DataField="EffectiveDate" DataFormatString="{0:MM/dd/yyyy}" PickerType="DatePicker" HeaderText="EffectiveDate" SortExpression="EffectiveDate" DataType="System.DateTime" UniqueName="EffectiveDate" EditDataFormatString="MM/dd/yyyy" > <HeaderStyle Width="170px" /> </telerik:GridDateTimeColumn>
