By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,364 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,364 IT Pros & Developers. It's quick & easy.

Asp.Net MS IE tree view control font changing problem

P: n/a

Dear all i am downloading MS tree view control . i want to change the
font size and font name of the tree view control i am wrtitting code
for it like
if (!Page.IsPostBack)
treeview1.FontBold = true;
treeview1.Font.Name = "DVB-TTSurekh";
treeview1.FontSize = Font.FontUnit(14);

i have also tried
<iewc:treeview id="TreeView1" runat="server" SelectExpands="True"
Height="600px" ShowLines="False"
OnSelectedIndexChange="TreeViewSelectionChange" AutoPostBack="True"
DefaultStyle=FontFamily:DVB-TTSurekh; Font-Weight: bold;

but the code is not working can any one tell me what is the problem
with in it . how i can change the font size and font name of treeview
control .

Jul 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.