Rank: Newbie Groups: Member
Joined: 8/13/2008 Posts: 1
|
Hi,
How do you make the text bolded in SlideMenu SubMenu text-html? I just want to make one submenu item's text to be bolded. I can change the text-html to a different text dynamically from behind code. Example: SlideMenu1.Items[0].SubMenu.Items[1].Text.Html = "Inbox (2)";
Do I have to look in LookItems object to make it bolded?
Thanks, Sol
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
I believe you can either set the style on that item, for example:
SlideMenu1.Items[0].SubMenu.Items[1].NormalStyle.CssText = "font-weight:bold";
Or change your HTML to include both text:
SlideMenu1.Items[0].SubMenu.Items[1].Text.Html = "<strong>Inbox (2)</strong>";
Thanks
|