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

Radgrid Extension

3 Answers 72 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
Cyril Iselin
Top achievements
Rank 1
Cyril Iselin asked on 19 Aug 2013, 02:22 PM
Hello

How I can persist the RadGrid Aggregate State ?


Best Greetings

Cyril

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 22 Aug 2013, 06:42 AM
Hi Cyril,

Thank you for contacting us.

I am not absolutely sure what you mean by persisting the aggregate state on the RadGrid. Note that the aggregate is calculated based on the columns data. For instance if you have 10 items in your grid and you have a count aggregate on one of the columns, and after applying a filter which returns only 5 columns the aggregate will be change to this number. So basically the aggregate is not persisted, but it is calculated on runtime. As to a full list of the persisted controls and their properties you could check out the following help article.

I hope this information helps.

Regards,
Kostadin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Cyril Iselin
Top achievements
Rank 1
answered on 22 Aug 2013, 06:55 AM
Hello Kostadin

Thanks for you answer.

So basically the aggregate is not persisted, but it is calculated on runtime.
That's perfect.

But:
=> Column "CountOf..."
=> Aggregarte (headercontext-aggregate-menu)  => SUM
=> Persister.Save()...
=> The aggregate-state of the column is gone.
=> Postback => Persister.Load();

Goal:
=> Save the aggregate state of a column  ( not the aggregatet value :-) )


Best Greetings

Cyril
0
Kostadin
Telerik team
answered on 26 Aug 2013, 02:53 PM
Hi Cyril,

I am afraid that columns aggregate could not be persisted in this case. Nevertheless I logged it as a feature request and our developers will implement it in a near feature.

Regards,
Kostadin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Persistence Framework
Asked by
Cyril Iselin
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Cyril Iselin
Top achievements
Rank 1
Share this question
or