I reviewed this example: http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/column-types/defaultcs.aspx and cannot seem to replicate this in my application.
<
telerik:GridDropDownColumn
DataField
=
"Item_Id"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter Item_Id column"
HeaderText
=
"Item"
UniqueName
=
"Item_Id"
AutoPostBackOnFilter
=
"true"
DataSourceID
=
"EntityDataSourceItem"
ListValueField
=
"Id"
ListTextField
=
"Model"
AllowVirtualScrolling
=
"true"
ShowMoreResultsBox
=
"true"
ItemsPerRequest
=
"10"
SortExpression
=
"Item_Id"
EmptyListItemText
=
"Select"
AllowAutomaticLoadOnDemand
=
"true"
DropDownControlType
=
"RadComboBox"
>
</
telerik:GridDropDownColumn
>
<
asp:EntityDataSource
ID
=
"EntityDataSourceItem"
runat
=
"server"
ConnectionString
=
"name=autocalEntities"
DefaultContainerName
=
"autocalEntities"
EnableDelete
=
"True"
EnableFlattening
=
"False"
EnableInsert
=
"True"
EnableUpdate
=
"True"
EntitySetName
=
"items"
></
asp:EntityDataSource
>
Everything populates correctly on load but when I attempt to edit and retrieve a filtered list from the gridview i get the object reference not set to an instance of an object exception. Any idea what I am missing?
Thanks,
Josh