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

Grid crashes when group footers and column aggregation is enabled on the server

5 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dasha
Top achievements
Rank 1
Dasha asked on 14 Jul 2011, 04:54 PM
Dear Support,

Is there a way to reproduce this example (http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/groupfooter/defaultcs.aspx) by applying all the settings in the code rather than declarŠ°tively in the html?  I may be doing something wrong, but everything works fine until I set CWGrid.MasterTableView.ShowGroupFooter =true, and then the whole page blows up. The screenshot is attached.

5 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 20 Jul 2011, 01:53 PM
Hi Dasha,

You can certainly build the grid programmatically:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/definingstructure/defaultcs.aspx


Hope it helps. 

Regards,
Tsvetoslav
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Dasha
Top achievements
Rank 1
answered on 21 Jul 2011, 12:37 PM
My grid is declared statically, and the structure is created in the OnLoad event.  The example you referred to creates the whole grid dynamically in the OnInit, and I'm familiar with that example.  Do you have any ideas why the page may be blowing up?
0
Tsvetoslav
Telerik team
answered on 21 Jul 2011, 03:45 PM
Hello Dasha,

I suspect you have a problem similar to the one described in the following forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-grouping-problem.aspx

Best wishes,
Tsvetoslav
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Dasha
Top achievements
Rank 1
answered on 26 Jul 2011, 10:41 AM
Tsvetoslav,

I've seen that thread while conducting my research, at first I thought it would work, but I'm not even setting the DataType on my columns.  Do you think I need to? I tried both ways, the grid keeps crashing... Could it be because the Aggregate function is count, and the column is Title, which is a string?
0
Tad
Top achievements
Rank 2
answered on 27 Mar 2012, 10:23 PM

If you are using a <telerik:GridBoundColumn> try using a  <telerik:GridNumericColumn> that worked for me.

 

 

 

 

 

 

 

 

 

Tags
Grid
Asked by
Dasha
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Dasha
Top achievements
Rank 1
Tad
Top achievements
Rank 2
Share this question
or