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

[Solved] Columns duplicate when using Themse and SkinID

1 Answer 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David Sandor
Top achievements
Rank 1
David Sandor asked on 10 Jul 2009, 01:28 PM
We have multiple themes for each of our customers. We added the RadGrid to all the .skin files and set certain column visibility flags to false in some of the themes. We have noticed when setting the SkinID, ALL of the columns are duplicated (even though AutoGenerateColumns is set to false in BOTH the page and codebehind). We placed a GridView control on the same page to see if it is an ASP.NET problem, but the GridView doesn't duplicate the columns.

If we remove the SkinID setting from the RadGrid the duplication doesn't happen.

To double check it, we created a new website project and discovered that this duplication doesn't happen here either and can't seem to find out why it happens in this one application.

Thoughts?

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 13 Jul 2009, 02:49 PM
Hi David,

Check that your RadGrid definitions inside the Skin files also specify the SkinID property. Omitting to specify this property in the skin file may cause your skin settings to be applied twice. Once for all RadGrids and once for those that have the SkinID set to the chosen skin.

If this is not the case, we will need some sample code from RadGrid's definition both on the page and in the skin file, so that we can identify something.

Greetings,
Veli
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
Grid
Asked by
David Sandor
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or