I have a new RadGrid on a page within an existing asp Update Panel. I have enabled selecting rows, and created an event to run when the user selects a row, and I thought I did what I needed to tell the RadGrid which event to fire, but I can't get the server side event to fire. Can someone please tell me what am I missing here?
<
telerik:RadGrid
ID
=
"gridLink"
runat
=
"server"
AllowPaging
=
"True"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
DataSourceID
=
"sdsLinkRecords"
GridLines
=
"None"
ShowGroupPanel
=
"True"
AllowCustomPaging
=
"True"
Skin
=
"Simple"
OnItemCommand
=
"gridLink_ItemCommand"
>
<
ClientSettings
AllowDragToGroup
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
DataKeyNames
=
"fullID"
DataSourceID
=
"sdsLinkRecords"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
/>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"10px"
/>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"10px"
/>
</
ExpandCollapseColumn
>
<
Columns
>
...
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
>
</
HeaderContextMenu
>
</
telerik:RadGrid
>
Protected Sub gridLink_ItemCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles gridLink.ItemCommand
If e.CommandName = "Select" Then
Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim oldReportsID As String = lblFullSeqNum.Text
Dim tblIncidentsID As Integer = item("tblIncidentsID").Text
....
End If
End Sub