I have a radgrid with a templated column. I've enabled grouping. When I drag a column from the grid into the group header, I get the following error:
Telerik.Web.UI.GridGroupByException: Expression cannot be null or empty
So I followed this thread: http://www.telerik.com/community/forums/thread/b311D-bcmedm.aspx
It says to use a GroupExpression, which I did. It resulted in the grid being grouped on startup (worked as expected). However, when I remove the column from the grouping, and try to re-add it to the group, I get the following error:
Telerik.Web.UI.GridGroupByException: Invalid group by expression: 'Group By' clause missing
The templated column does in fact contain a GroupByExpression="disciplineID" expression. So I am not sure what I am missing here.
Here are my needs:
1. Allow grouping of templated columns.
2. It cannot be grouped on startup of the grid.
3. Must allow the addition and removal of the columns from the grouping at will.
Please let me know what I need to do.
Thanks for all your help.