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

Issue with rows not being rendered

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Johny
Top achievements
Rank 1
Johny asked on 11 Nov 2011, 11:49 AM
Hello,
I've seen many complaints here about it, but I think nobody realy solved this issue yet. This issue is most unfortunate as clients complain about not being able to be filtering the grid properly...

The bug is still present even in 2011.3.1025.40 beta.

Here is how to reproduce the error:

1) Radgrid with AutocreateColumns = "true"
2) Advanced databinding
3) Bind it to a datatable, one or more columns should be datetime type
3) Try to perform a filtering using datetime column filter, so that a single row is found (maybe it's the IsEqual condition in filter???)
4) The row is present in datatable, VirtualItemsCount is set to 1, pager says that there is 1 row, but grid displays "no items row"
5) If you try to find the same row using another filter (for example a int-type one) exactly the same row is found, exactly the same row is in datatable and the row is rendered. So probably the erorr dependes of the kind of column you use for filtering?
6) I've tried to completely remove my own modifications to grid, leave it as you provided it (to avoid a bug in my own code), the row is still not being rendered.
7) I've tried to set the RadGrid's DataSource property to null and the again to the DataTable in the NeedDataSource event to "reset it", to set VirtualItemCount propery before and after setting the datasource property, nothing helped. Even if you call the Rebind() method on the grid, it doesn't help.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 16 Nov 2011, 03:30 PM
Hello Johny,

I tried to reproduce the described issue but to no avail. On the following link I attached a small video which demonstrates that everything work as expected on my end. Could you please post you aspx markup code with the related code behind file.

Also could you please verify that your date objects got from the datatable do not have time part? Because if you have into the datatable the following date - 1/1/2011 13:23 and you filter 1/1/2011 with EqualTo filter function, the RadGrid will search for date equal to 1/1/2011 12:00 and will return no result.

Looking forward for your reply.

Best wishes,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Johny
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or