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

how to apply theme to gridview

1 Answer 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patxi
Top achievements
Rank 1
Patxi asked on 05 May 2009, 08:01 AM
Hi,

I don´t know whether I am missing something but I am not able to apply a theme to my gridview.

If I try to apply "Telerik" theme (I write the following code snippet), the gridview gets crazy and shows a cyan background color. 

this.gridView1.ThemeName = "Telerik"

If I write "Vista" theme instead, the theme is applied correctly.

I have checked and among my references is not included "Vista" assembly (Telerik.WinControls.Themes.Vista.dll). I don´t know whtether this is necessary to include. I have aslo tried to copy Telerik.WinControls.Themes.Telerik.dll but didn´t make any effect.

What I am doing wrong?am I missing an asembly?

Thank you in advance.

Patxi.


1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 05 May 2009, 08:07 AM
Hello Patxi,

Thank you for contacting us. Our online documentation contains all the information you need. Please write me back if it is somewhere unclear.

Kind regards,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Patxi
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or