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

Grid Hierarcy If TypeOf e.Item Is GridFooterItem - never evaluates to True

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 28 Mar 2010, 03:53 PM
Hi,

I have a simple two table grid hierarchy. I want to do totals on the detail table in code behind. Samples found elsewhere on this site indicate that in ItemDataBound, we can do this, but this line never evaluates to True even though ShowFooter="True" is set for both the Master and Detail Tables. What Am I missing here?

  If TypeOf e.Item Is GridFooterItem Then

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 01 Apr 2010, 07:37 AM
Hi Karl,

Can you please verify that the footer item is rendered as expected for the detail table?
Also, does the expression evaluate to true, if you move the code in the ItemCreated event handler?

Kind regards,
Yavor
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
Grid
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or