Hey guys, i have been trying to convert my radgrid controls from Q2 2008 to Q3 2008 and i have been having issues with filtering (the Filtering works fine with the Q2 DLL). If the column is an integer (like the PK of a table) the browser pops up with the following exception
--WEBPAGE ERROR DIALOGUE POPUP --
WEBPAGE ERROR
Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list
The code behind the grid is
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowMultiRowSelection="True"
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource6"
GridLines="None" onload="RadGrid1_Load" onrowdrop="RadGrid1_RowDrop" Skin="Forest"
style="margin-right: 0px" ondatabound="RadGrid1_DataBound1">
<HeaderContextMenu Skin="Forest">
<CollapseAnimation Duration="200" Type="OutQuint" />
</HeaderContextMenu>
<pagerstyle mode="NextPrevAndNumeric" />
<mastertableview commanditemdisplay="Top" datakeynames="SKU_NUM,DESCRIPTION,CURR_PURCH_COST"
datasourceid="SqlDataSource6" retrievealldatafields="False">
<Columns>
<telerik:GridBoundColumn DataField="SKU_NUM" DataType="System.Decimal"
EmptyDataText="&nbsp;" HeaderText="SKU_NUM" ReadOnly="True"
SortExpression="SKU_NUM" UniqueName="SKU_NUM">
</telerik:GridBoundColumn><telerik:GridBoundColumn DataField="prod_num" EmptyDataText="&nbsp;"
HeaderText="APN" ReadOnly="True" SortExpression="prod_num" UniqueName="BARCODE"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="DESCRIPTION" EmptyDataText="&nbsp;"
HeaderText="DESCRIPTION" SortExpression="DESCRIPTION" UniqueName="DESCRIPTION"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="GROUPNAME" EmptyDataText="&nbsp;"
HeaderText="GROUP" SortExpression="GROUPNAME" UniqueName="GROUPNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="DEPTNAME" EmptyDataText="&nbsp;"
HeaderText="DEPARTMENT" SortExpression="DEPTNAME" UniqueName="DEPTNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="CLASSNAME" EmptyDataText="&nbsp;"
HeaderText="CLASS" SortExpression="CLASSNAME" UniqueName="CLASSNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="HQID" EmptyDataText="&nbsp;"
HeaderText="HQID" SortExpression="HQID" UniqueName="HQID"></telerik:GridBoundColumn></Columns><PagerStyle Mode="NextPrevAndNumeric" /><commanditemtemplate><table style="width: 100%;"><tr><td align="left"><asp:Label ID="Label8" runat="server" Font-Names="Verdana" Font-Size="10pt"
ForeColor="#FFFFCC" Text="CHOOSE ITEMS TO ADD TO PROMO"></asp:Label></td><td align="right"><asp:ImageButton ID="ImageButton12" runat="server"
ImageUrl="~/images/icons/Refresh24.png" onclick="ImageButton12_Click" /></td></tr></table></commanditemtemplate></mastertableview>
<clientsettings allowrowsdragdrop="True"><selecting allowrowselect="True" /></clientsettings>
<filtermenu skin="Forest" >
<collapseanimation duration="200" type="OutQuint" />
</filtermenu>
</telerik:RadGrid>
Any Ideas as to what is causing this?
.
--WEBPAGE ERROR DIALOGUE POPUP --
WEBPAGE ERROR
Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list
The code behind the grid is
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowMultiRowSelection="True"
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource6"
GridLines="None" onload="RadGrid1_Load" onrowdrop="RadGrid1_RowDrop" Skin="Forest"
style="margin-right: 0px" ondatabound="RadGrid1_DataBound1">
<HeaderContextMenu Skin="Forest">
<CollapseAnimation Duration="200" Type="OutQuint" />
</HeaderContextMenu>
<pagerstyle mode="NextPrevAndNumeric" />
<mastertableview commanditemdisplay="Top" datakeynames="SKU_NUM,DESCRIPTION,CURR_PURCH_COST"
datasourceid="SqlDataSource6" retrievealldatafields="False">
<Columns>
<telerik:GridBoundColumn DataField="SKU_NUM" DataType="System.Decimal"
EmptyDataText="&nbsp;" HeaderText="SKU_NUM" ReadOnly="True"
SortExpression="SKU_NUM" UniqueName="SKU_NUM">
</telerik:GridBoundColumn><telerik:GridBoundColumn DataField="prod_num" EmptyDataText="&nbsp;"
HeaderText="APN" ReadOnly="True" SortExpression="prod_num" UniqueName="BARCODE"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="DESCRIPTION" EmptyDataText="&nbsp;"
HeaderText="DESCRIPTION" SortExpression="DESCRIPTION" UniqueName="DESCRIPTION"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="GROUPNAME" EmptyDataText="&nbsp;"
HeaderText="GROUP" SortExpression="GROUPNAME" UniqueName="GROUPNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="DEPTNAME" EmptyDataText="&nbsp;"
HeaderText="DEPARTMENT" SortExpression="DEPTNAME" UniqueName="DEPTNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="CLASSNAME" EmptyDataText="&nbsp;"
HeaderText="CLASS" SortExpression="CLASSNAME" UniqueName="CLASSNAME"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="HQID" EmptyDataText="&nbsp;"
HeaderText="HQID" SortExpression="HQID" UniqueName="HQID"></telerik:GridBoundColumn></Columns><PagerStyle Mode="NextPrevAndNumeric" /><commanditemtemplate><table style="width: 100%;"><tr><td align="left"><asp:Label ID="Label8" runat="server" Font-Names="Verdana" Font-Size="10pt"
ForeColor="#FFFFCC" Text="CHOOSE ITEMS TO ADD TO PROMO"></asp:Label></td><td align="right"><asp:ImageButton ID="ImageButton12" runat="server"
ImageUrl="~/images/icons/Refresh24.png" onclick="ImageButton12_Click" /></td></tr></table></commanditemtemplate></mastertableview>
<clientsettings allowrowsdragdrop="True"><selecting allowrowselect="True" /></clientsettings>
<filtermenu skin="Forest" >
<collapseanimation duration="200" type="OutQuint" />
</filtermenu>
</telerik:RadGrid>
Any Ideas as to what is causing this?
.