This is a migrated thread and some comments may be shown as answers.

[Solved] Filtering error

1 Answer 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 01 Apr 2009, 07:13 PM
Hi,

We have a grid that has the following settings
       <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"  AllowSorting="True" GridLines="None" Skin="Web20" AutoGenerateColumns="False" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" AllowFilteringByColumn="True" >
           <MasterTableView CommandItemDisplay="Top" DataKeyNames="ItemID" PageSize="25">

There is a variety of data and some columns are null. When filtering on a non-null column (the first column which contains a numeric integer which is the ID column from the query, we get the following error -

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index

This only happens for a few of our screens. For most the filter works fine. So I am asking for any clues on what to look for that would lead to a result shown above. Thanks.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Apr 2009, 12:34 PM
Hello Karl,

Based on the provided information, it is hard to determine the cause of the issue. In order to further progress with the investigation, it would be best if you open a formal support ticket, and send us a small working project, which we can debug locally. As soon as we do, we will get back to you with our findings.

Greetings,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or