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

[Solved] Row Detail Template With header

1 Answer 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Khurram Ilyas
Top achievements
Rank 1
Khurram Ilyas asked on 10 Feb 2010, 07:08 AM
In telerik gridview/row detail the preview background is Black by default. The problem is that it has header in light gray color. Is there way to turn it off.? So that there is one color backgroung in preview.

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 10 Feb 2010, 07:33 AM
Hello Khurram Ilyas,

You could place another element in the template that will hide the default background - for example, force a red background you could try something like:

<telerik:RadGridView.RowDetailsTemplate>
    <DataTemplate>
        <Border Height="400" Background="Red">
            <TextBlock Text="{Binding Name}"/>
        </Border>
    </DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>


Greetings,
Milan
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
GridView
Asked by
Khurram Ilyas
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or