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

Grouping by Column with Null Values

2 Answers 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 16 Feb 2009, 04:50 PM
I am having a problem grouping in a radgrid when the column that is grouped contains null values.  Each record with a null value shows all the other records with null values (instead of in one group).  For example, if this is my recordset:

Firstname        Alias
Adam               NULL
Randy              NULL
Sam                 NULL

If I group by Firstname, then Alias, I shoud get this result:

Adam:
        Adam
Randy:
        Randy
Sam:
        Sam

But this is what I get:

Adam:
        Adam
        Randy
        Sam
Randy:
        Adam
        Randy
        Sam
Sam:
        Adam
        Randy
        Sam

How can I correct this grouping bug?  The version of Telerik we use is 2008.2.723.35

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Feb 2009, 07:10 AM
Hi Randy,

I have seen in the ReleaseHistory that this issue had been fixed with the Q2 2008 SP2 (Version Number 2008.2.1001)
  • Fixed nested groups with null value.

Try upgrading to the latest version (2008.3.1314.20) and see whether it is working as expected.
Updating RadControls for ASP.NET to another version or license


Thanks
Shinu
0
Randy
Top achievements
Rank 1
answered on 17 Feb 2009, 04:25 PM
That did it.  Thanks!
Tags
Grid
Asked by
Randy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Randy
Top achievements
Rank 1
Share this question
or