Grouping columns with null values

2 posts, 0 answers
  1. Arminder
    Arminder avatar
    6 posts
    Member since:
    Aug 2012

    Posted 29 Jan 2013 Link to this post

    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.

  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 29 Jan 2013 Link to this post

    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.

Back to Top