Welcome Guest Search | Active Topics | Sign In | Register

SlideMenu SubMenu text-html control Options
Sol Santoso
Posted: Wednesday, August 13, 2008 7:22:38 AM
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
eo_support
Posted: Wednesday, August 13, 2008 8:24:31 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.