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

Use of old RadGrid for ASP.NET Blue skin with RadGrid for ASP.NET AJAX

3 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark DeMichele
Top achievements
Rank 1
Mark DeMichele asked on 31 Jul 2008, 09:10 PM
Hi there,

I've been using RadGrid for ASP.NET and am now looking into the ASP.NET AJAX version. However, the Blue skin that I used for the ASP.NET version is not present in the AJAX version. I found a thread elsewhere that provides a link to the deprecated skins, but these appear only suitable for the Dock and Tabstrip controls. Is there a standard way to "port" the RadGrid for ASP.NET Blue skin for use with the newest version of the Grid control?

Thanks,
Mark

3 Answers, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 01 Aug 2008, 12:12 AM
Hello Mark,

Porting the old skins into your current project is a fairly straight-forward task. In order to do this, you need to download the source for the controls you purchased. Because the skins are typically packaged in with the assembly, you need the source files to extract the skin manually. Once you have downloaded the source, create a folder in your new project called 'App_Themes' and copy the 'Skins\Blue' folder from the source for the older RadGrid. Next, set the Themes property in your page directive to "Blue" and the Skin property of your RadGrid to "Blue". Finally, set the EnableEmbeddedSkins property of your RadGrid to false. That should be it.

Here's are some screenshots I took to help you. The first is of the .aspx page, which shows the properties you need to set in your page directive and on your RadGrid. The second is of my solution explorer, which shows where you should copy the skin files.

You may want to check out the WebBlue skin which is built in to the current RadControls for ASP.NET AJAX. It's very similar to the classic Blue skin, but with a Web 2.0 look and feel. However, if you still need to use the Blue skin, that is still an option.

I hope this was helpful. If you have further questions, please don't hesitate to ask.

Sincerely,
Kevin Babcock

0
Mark DeMichele
Top achievements
Rank 1
answered on 06 Aug 2008, 01:30 PM
Hi Kevin,

Thanks for the reply. I already have a theme defined for the page and don't want to wipe it out. I tried not defining the Page directive, but naturally, that didn't work too well (I get no styles applied at all). Is there a way to do it without changing the theme for the page itself?

Thanks,
Mark
0
Kevin Babcock
Top achievements
Rank 1
answered on 11 Aug 2008, 02:23 PM
Mark,

Sure, you can add the resource files from the Blue skin to the Theme folder that page is currently using. That way you can have the Grid display the way you want it, and still maintain the look of the remaining controls in your theme.

I hope this helps.

Regards,
Kevin Babcock
Tags
Grid
Asked by
Mark DeMichele
Top achievements
Rank 1
Answers by
Kevin Babcock
Top achievements
Rank 1
Mark DeMichele
Top achievements
Rank 1
Share this question
or