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

[Solved] Theme setting in RowDetailsTemplate

5 Answers 121 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.
Manickavasagam
Top achievements
Rank 1
Manickavasagam asked on 25 Nov 2010, 03:25 PM
Hi,

I am setting the RadGridView's theme as Office_Blue using following attribute :

telerik

 

 

:StyleManager.Theme="Office_Blue"

 

But this is not applying in RowDetailsTemplate. How do I set it?

Thanks in advance.

Regards,
Manik.

5 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 25 Nov 2010, 03:27 PM
Hello Manickavasagam,

What do you have in the details template? Can you post an example? By default, the row details are completely empty, so if you place another grid there make sure you set its Theme as well.

Best wishes,
Ross
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Manickavasagam
Top achievements
Rank 1
answered on 25 Nov 2010, 03:32 PM

 

 

 

<telerik:RadGridView.RowDetailsTemplate>

 

 

 

 

<DataTemplate >

 


<

 

 

Grid Width="Auto" HorizontalAlignment="Stretch" Height="130">

 


.................(some row, column definitions and some <TextBlock> to display the data

</

 

 

Grid>

 


</

 

 

DataTemplate>

 

 

 

 

</telerik:RadGridView.RowDetailsTemplate>

Above is the sample code which I have written.

 

0
Rossen Hristov
Telerik team
answered on 25 Nov 2010, 03:47 PM
Hello Manickavasagam,

Well, TextBlocks are not Telerik controls. How do you expect them to be styled with a Telerik theme?

I hope this makes sense.

Regards,
Ross
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Manickavasagam
Top achievements
Rank 1
answered on 25 Nov 2010, 04:14 PM
Hi,

Please see the attached screen shot, the example which I got from your site. I am trying to imitate the same. TextBlock is used in that sample. I  hope this will narrow down the problem.

Regards,
Manik.
0
Veselin Vasilev
Telerik team
answered on 25 Nov 2010, 04:27 PM
Hello Manickavasagam,

You can set the telerik:StyleManager.Theme="Vista" attached property for the non-telerik controls and most of them will get styled, like textbox, checkbox, etc.


Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Manickavasagam
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Manickavasagam
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or