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

Theme Not Being Applied to GridView

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sean McConnell
Top achievements
Rank 1
Sean McConnell asked on 26 Jan 2008, 02:36 AM
I cannot get a custom theme to apply to a gridview.  I can get it to work on buttons, panels, tabstrips, trees.  I follow the same steps but the visual styles are not reflected when my application runs. 

  1. I create a brand new grid. 
  2. I set both scrollbars to visible. 
  3. I create a new theme and change the fills so the are obviously red.  The preview reflects this. 
  4. I save the theme to a file.
  5. I use my thememanager to load the theme.
  6. I open the smart tag on the new gridview and choose my new theme.
  7. I run the application and none of the changes are visible.

I go back to the smart tag, check the theme and it is set properly.  If i debug the form_load event, the style of my control is not empty.  I go to the smart tag and Edit UI Elements and the colors of my scroll bars are visible.  It almost feels like something is coming in at the last moment and resetting the theme although there is no code to do so.

Like i said, i have been able to get other radelements to use custom themes without problem but the grid doesn't seem to be functioning the same way.

Screenshots:
http://www.thinkconvergence.com/telerik_issue2.jpg

Thanks for your help

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 28 Jan 2008, 01:13 PM
Hi Randall,

I admit that this is a weird issue. We have followed your steps but we were not able to reproduce it. Could elaborate a bit more and send us a sample application with the theme that you use (the one that you created).

Thank you for helping us track the issue. We will be glad to help you further.

Best wishes,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Sean McConnell
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or