or
<
telerik:RadListBox
ID
=
"lbxDepDisponibles"
runat
=
"server"
Height
=
"300px"
Width
=
"335px"
Visible
=
"false"
TransferToID
=
"lbxTraites"
DataValueField
=
"number"
>
<
ItemTemplate
>
<
div
class
=
"listeDispo departementTraite"
>
<
div
>
<
img
class
=
"adminButton"
src
=
"Images/Administre.gif"
height
=
"32"
style
=
"margin:0px"
/>
</
div
>
<
div
class
=
"dispoInfo"
>
<
div
class
=
"cboContent"
style
=
"display:block;"
>
<
span
style
=
"font-weight: bold;"
>
<%#DataBinder.Eval(Container, "Attributes['description']")%>
<
span
style
=
"font-size: 10px;"
>
<
br
/>Dep. # <%#DataBinder.Eval(Container, "Attributes['number']")%> - <%#DataBinder.Eval(Container, "Attributes['name']")%>
</
span
>
</
span
>
</
div
>
</
div
>
</
div
>
</
ItemTemplate
>
</
telerik:RadListBox
>
<
telerik:RadGrid
ID
=
"grdEvals"
runat
=
"server"
Width
=
"720px"
CellSpacing
=
"0"
DataSourceID
=
"odsEvals"
GridLines
=
"None"
onselectedindexchanged
=
"grdEvals_SelectedIndexChanged"
AllowPaging
=
"True"
AllowSorting
=
"True"
ShowGroupPanel
=
"True"
PageSize
=
"20"
ShowStatusBar
=
"True"
>
<
ExportSettings
IgnorePaging
=
"True"
>
</
ExportSettings
>
<
ClientSettings
EnablePostBackOnRowClick
=
"True"
AllowDragToGroup
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"ID"
DataSourceID
=
"odsEvals"
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
ShowExportToCsvButton
=
"True"
ShowExportToExcelButton
=
"True"
ShowExportToPdfButton
=
"True"
ShowExportToWordButton
=
"True"
ShowAddNewRecordButton
=
"False"
ShowRefreshButton
=
"False"
></
CommandItemSettings
>
<
RowIndicatorColumn
Visible
=
"True"
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
Visible
=
"True"
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"ID"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter ID column"
HeaderText
=
"ID"
ReadOnly
=
"True"
Visible
=
"false"
SortExpression
=
"ID"
UniqueName
=
"ID"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"EmployeeID"
FilterControlAltText
=
"Filter EmployeeID column"
HeaderText
=
"Employee ID"
SortExpression
=
"EmployeeID"
UniqueName
=
"EmployeeID"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"EmployeeName"
FilterControlAltText
=
"Filter EmployeeName column"
HeaderText
=
"Employee Name"
SortExpression
=
"EmployeeName"
UniqueName
=
"EmployeeName"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DateCompleted"
DataType
=
"System.DateTime"
FilterControlAltText
=
"Filter DateCompleted column"
HeaderText
=
"Completed"
SortExpression
=
"DateCompleted"
UniqueName
=
"DateCompleted"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"CoreValueNos"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter CoreValueNos column"
HeaderText
=
"Core Value No's"
SortExpression
=
"CoreValueNos"
UniqueName
=
"CoreValueNos"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OtherNos"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter OtherNos column"
HeaderText
=
"Other No's"
SortExpression
=
"OtherNos"
UniqueName
=
"OtherNos"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"EmployeeCostCenter"
FilterControlAltText
=
"Filter EmployeeCostCenter column"
HeaderText
=
"Cost Center"
SortExpression
=
"EmployeeCostCenter"
UniqueName
=
"EmployeeCostCenter"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
></
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
></
FilterMenu
>
</
telerik:RadGrid
>
var
grid = $find ( ... gridClientId... )
// Grid is found, so get the sort expression
var
masterTableView = grid.get_masterTableView();
var
sortExpressions = masterTableView.get_sortExpressions();