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

Forums / Developing with Sitefinity / Sitemenu Vertical wrap

Sitemenu Vertical wrap

3 posts, 1 answered
  1. Ted
    Ted avatar
    28 posts
    Registered:
    08 Jan 2008
    27 Sep 2010
    Link to this post
    I am using a sitemenu control on the left hand side of the page in a vertical format.
    the top level area should stay in a 200px wide area, however I have one or 2 long menu names.  is there away to get those to Wrap?  right now they don't wrap and just extend beyond the area.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Sep 2010
    Link to this post
    Hello Ted,

    You can subscribe for ItemDataBound event of the RadMenu control and check the string Length. If the length of the e.Item.Text is more than you want you can split the Text and add "<br />" element which will move the text on two rows.

    Another option is using images or  a template

    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
    Answered
  3. Ted
    Ted avatar
    28 posts
    Registered:
    08 Jan 2008
    27 Sep 2010
    Link to this post
    Thanks Ivan.  that worked.
Register for webinar
3 posts, 1 answered