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

Using FontAwsome in Node Text

2 Answers 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 25 Aug 2012, 05:36 PM
Hi

Is it possible to use FontAwsome as a node image/text.

e.g. I can use this <i class="icon-camera-retro"></i> and I will get a camera icon on a plain page.

I want to use the camear icon and others as node images.

Is this possible?

Thanks

John

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Aug 2012, 04:00 AM
Hi John,

You can set a node image as follows.

ASPX:
<telerik:RadTreeView runat="server"  ID="RadTreeView1">
   <Nodes>
     <telerik:RadTreeNode ImageUrl="Image.jpg" runat="server" Text="node1"  Value="Value1" ></telerik:RadTreeNode>
   </Nodes>
</telerik:RadTreeView>

Thanks,
Princy.
0
John
Top achievements
Rank 1
answered on 27 Aug 2012, 12:41 PM
Thanks Princy

I knew I could do that but I wanted to see if there was a way of using the FontAwsome fonts as an image.

I'll probably use images like you suggest but FontAwsome is the closest I've found to the look I'm after.

Regards

John
Tags
TreeView
Asked by
John
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
John
Top achievements
Rank 1
Share this question
or