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

no ItemsSource for Footer?

1 Answer 7 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian Graves
Top achievements
Rank 1
Brian Graves asked on 18 May 2010, 05:08 PM
I can bind all my data using the ItemsSource property of the RadGridView.  However, I don't see a propery to do this with the Footer.

I already have data to bind to the footer (same format as the data used for the main cells) because I have special calculations that I do in SQL.  How can I bind this data to the Footer without looping through all the Columns in the RadGridView and setting each Footer item? 

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 19 May 2010, 08:01 AM
Hi Brian Graves,

To achieve this you will need to do the following :
1,. Expose the ItemsSource data for the footer trough a static resource in the page.
2. Use the Column.Footer property to place a TextBlock in the column footer
3. Bind the TextBlock.Text property to the static resource

In case you have troubles implementing this don't hesitate to contact me .

Regards,
Pavel Pavlov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Brian Graves
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or