Hi there,
I've been working to get my grouping working like this example: http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx
Here's my code..
And on ASPX.CS, I've set DataSource and did DataBind(). The grid appears okay with correct data when there is no <GroupByExpressions> section of the code. Once I add this section of code, I get an server error: "Column 'productName' does not belong to table
" Am I missing something here??
Thanks..
I've been working to get my grouping working like this example: http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx
Here's my code..
| <telerik:RadGrid ID="PopularProductGrid" runat="server"> |
| <MasterTableView AutoGenerateColumns="false"> |
| <GroupByExpressions> |
| <telerik:GridGroupByExpression> |
| <SelectFields> |
| <telerik:GridGroupByField FieldName="productName" HeaderText="Product"/> |
| </SelectFields> |
| <GroupByFields> |
| <telerik:GridGroupByField FieldName="productName" /> |
| </GroupByFields> |
| </telerik:GridGroupByExpression> |
| </GroupByExpressions> |
| <Columns> |
| <telerik:GridBoundColumn DataField="productName" HeaderText="Product"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="customerName" HeaderText="Customer"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
And on ASPX.CS, I've set DataSource and did DataBind(). The grid appears okay with correct data when there is no <GroupByExpressions> section of the code. Once I add this section of code, I get an server error: "Column 'productName' does not belong to table
" Am I missing something here??
Thanks..