I am grouping my grid by a uniqueguid [which identifies a person] therefore when the group is grouped it shows the guid where as I want this to show the persons name. So I tried to create a data template and bind this to the field 'firstname' however it did not like this. Could you advise how I can get the group header to display bound data that is within the group?
<Grid.Resources> <DataTemplate x:Key="TeamName"> <TextBlock Text="{Binding firstname}" /> </DataTemplate> </Grid.Resources>Thanks
P
4 Answers, 1 is accepted
I am sending you a sample, demonstrating this approach. If you need any further assistance, please let me know.
Sincerely yours,
Vanya Pavlova
the Telerik team
<Grid x:Name="LayoutRoot" Background="White">
<Grid.Resources>
<Style TargetType="{x:Type telerik:GridViewGroupRow}">
<EventSetter Event="Loaded" Handler="GridViewGroupRow_Loaded" />
</Style>
</Grid.Resources>
I have already replied in the following forum thread.
Vanya Pavlova
the Telerik team
C:\Down\demo\SilverlightApplication78\SilverlightApplication78\SilverlightApplication78.csproj : error : Unable to read the project file 'SilverlightApplication78.csproj'.
C:\Down\demo\SilverlightApplication78\SilverlightApplication78\SilverlightApplication78.csproj(114,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.