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

I need to change the skin

2 Answers 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ahmad Alkhiary
Top achievements
Rank 1
Ahmad Alkhiary asked on 26 Aug 2008, 08:48 PM

Hi,

Please how can I change the skin of treeview control for ASPNET AJAX?

 I want it to be suitable for right to left layout if passable.

 Thank you.

2 Answers, 1 is accepted

Sort by
0
Ahmad Alkhiary
Top achievements
Rank 1
answered on 27 Aug 2008, 08:26 AM

Hi,

I exactly followed every single step in the following Tutorial Creating a Custom Skin but unfortunately it didn't work with me.   

http://www.telerik.com/help/aspnet-ajax/tree_appearancecustomskintutorial.html

 

In the Tutorial paragraph (Populate the TreeView) :

"1. In the ASP.NET markup, replace the existing definition for the RadTreeView with the one below. "

 

I did not do it because I'm auto binding the treeview from the database.

In the Tutorial paragraph (Edit the Skin CSS File) :

1.   Open "TreeView.Default.css" for editing in Visual Studio.

2.   Press Control-H to invoke the Find and Replace dialog.

3.   Set Find what: to "_Default", Replace with: to "_MySkin", and Look in: to Current Document.

4.   Click the Replace All button.

I did tried to replace "_Default" With "_MySkin" in  the "TreeView.Default.css"  and also in the "TreeView.MySkin.css" but it did not work with me.

Please I need your help.

Thank you.

0
Yana
Telerik team
answered on 29 Aug 2008, 08:25 AM
Hi Ahmad,

Please find attached sample project demonstrating how to create a custom skin using Default skin as a base.
Note that EnableEmbeddedSkins property of RadTreeView should be set to false and a reference to the css file should be added in the <head> section of your page.

Regards, Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Ahmad Alkhiary
Top achievements
Rank 1
Answers by
Ahmad Alkhiary
Top achievements
Rank 1
Yana
Telerik team
Share this question
or