+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Menu labels

Menu labels

4 posts, 0 answered
  1. Steve
    Steve avatar
    4 posts
    Registered:
    30 Oct 2008
    03 Nov 2010
    Link to this post
    Is there a way to force a line break for a menu label? I tried using <br> but SiteFinity doesn't like that at all!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    03 Nov 2010
    Link to this post
    Hello Steve,

    There should not be a problem to use <br /> tags for the item.Text. I attached a sample video for you.

    Another option is using CssClass property of the RadMenuItem

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Steve
    Steve avatar
    4 posts
    Registered:
    30 Oct 2008
    04 Nov 2010
    Link to this post
    When I try to add the line break through the admin I get this error (see the attached screen shot)
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    04 Nov 2010
    Link to this post
    Hello Steve,

    You cannot add breaks through the UI, because ASP.NET validator throws the error. You should set the value ot item.Text or use CssClass as suggested.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered