No replies
jassikul
jassikul's picture
Offline
newbie
Last seen: 3 years 47 weeks ago
Timezone: GMT-5
Joined: 2015-12-15
Posts: 1
Points: 2

I have below Menu list Item. How can I bold select menu list items. is not helping me to bold Menu items

            Web.WebMenu root = new Web.WebMenu("UserRoot");
 
            Web.WebMenu menuUser = root.SubMenuAdd("user",Str.And(Sys.Lang(Str.IsEmpty(Session.User.FullName) ? Session.User.Name : reversedName)," ",("searching[fr]recherche")));    
 
            Web.WebMenu menuprofile = root.SubMenuAdd("user",Str.And(Sys.Lang("Profile[fr]Bienvenue"), " ",   (Str.IsEmpty(Session.Profile.Name) ? Session.User.Profile : Session.Profile.Name)));
           Hm.WriteMenu(root);

I have tried

or(Session.User.FullName) ? Session.User.Name : reversedName)or