After adding several templatecolumns to my radgrid none of the controller events fire on the page after initial load. I am using OnNeedDataSource databinding and the data shows correctly. If I refresh the grid schema so they're replaced by generated standard columns the page works normally. Is there something I've set up incorrectly? Sample of the radgrid below:
<
telerik:RadGrid
ID
=
"gridAgents"
runat
=
"server"
AllowFilteringByColumn
=
"True"
AllowPaging
=
"True"
AllowSorting
=
"True"
OnNeedDataSource
=
"gridAgents_NeedDataSource"
ShowGroupPanel
=
"True"
OnEditCommand
=
"gridAgents_EditCommand"
OnUpdateCommand
=
"gridAgents_UpdateCommand"
OnDeleteCommand
=
"gridAgents_DeleteCommand"
OnCancelCommand
=
"gridAgents_CancelCommand"
OnInsertCommand
=
"gridAgents_InsertCommand"
OnItemUpdated
=
"gridAgents_ItemUpdated"
OnItemDeleted
=
"gridAgents_ItemDeleted"
OnItemInserted
=
"gridAgents_ItemInserted"
>
<
GroupingSettings
CollapseAllTooltip
=
"Collapse all groups"
/>
<
ClientSettings
AllowDragToGroup
=
"True"
>
</
ClientSettings
>
<
MasterTableView
AutoGenerateColumns
=
"False"
>
<
Columns
>
<
telerik:GridEditCommandColumn
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridClientDeleteColumn
>
</
telerik:GridClientDeleteColumn
>
<
telerik:GridBoundColumn
DataField
=
"DEPT"
FilterControlAltText
=
"Filter DEPT column"
HeaderText
=
"DEPT"
SortExpression
=
"DEPT"
UniqueName
=
"DEPT"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"FNAME"
FilterControlAltText
=
"Filter FNAME column"
HeaderText
=
"FNAME"
SortExpression
=
"FNAME"
UniqueName
=
"FNAME"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"LNAME"
FilterControlAltText
=
"Filter LNAME column"
HeaderText
=
"LNAME"
SortExpression
=
"LNAME"
UniqueName
=
"LNAME"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
DataField
=
"STARTDATE"
DataType
=
"System.DateTime"
FilterControlAltText
=
"Filter STARTDATE column"
HeaderText
=
"STARTDATE"
SortExpression
=
"STARTDATE"
UniqueName
=
"STARTDATE"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblStartDate"
runat
=
"server"
Text='<%# Eval("STARTDATE") %>'></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadDatePicker
ID
=
"dpStartDate"
runat
=
"server"
SelectedDate='<%# Eval("STARTDATE") %>'>
<
Calendar
runat
=
"server"
>
<
SpecialDays
>
<
telerik:RadCalendarDay
Repeatable
=
"Today"
ItemStyle-BackColor
=
"LightGray"
></
telerik:RadCalendarDay
>
</
SpecialDays
>
</
Calendar
>
</
telerik:RadDatePicker
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
It is inside an Update Panel and the page contains a RadAjaxManager. The Masterpage contains the Scriptmanager. Debugging steps through the page load event but after that no controller events are fired and the debugger doesn't pick anything up. Any help would be appreciated.