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

Grouping columns with null values

1 Answer 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Arminder
Top achievements
Rank 1
Arminder asked on 29 Jan 2013, 09:19 AM
Hi Everyone,

    I am facing an issue in the rad gridview control. I have tried to use grouping property of the grid by applying ShowGroupPanel =true. It works fine most of the times, but problems start occurring when grouping by columns with null values (Exceptions - unhandled exception - Object must be of type String , and also for DateTime).However, issue does not necessarily occur every time while grouping those columns(with null values). If i manually update all my DB entries to remove null values, then everything works fine in the grid grouping. So, the issue is definitely with handling null values in the columns. Please share your thoughts if anyone else has also faced this problem and if there are any possible ways to handle this situation.

Any help will be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 29 Jan 2013, 09:25 AM
Hi,

It would be nice if you could share a runnable version  the project . I will be glad to take a look and check what causes the exceptions.

*To be able to attach the project please open a support ticket , mentioning the ID of this thread ( 653560).

Kind regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Arminder
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or