width of menu item

2 posts, 0 answers
  1. Susan
    Susan avatar
    137 posts
    Member since:
    Jul 2007

    Posted 05 Nov 2008 Link to this post

    i am using a datatable to create the menu dynamically. in addition, i use the web20 skin. everything is fine except when i view the menu on a screen with a lower resolution, my whole menu wraps. there is enought space in each of the menu items to make the width smaller so it will fit across the screen without wrapping. my problem is i cannot figure out how to set the width of each of the menu items. i tried looping thru and setting it dynamically, but it does not seem to work.

    my other problem is in the older version of the menu, i set useembeddedscripts=false. i believe this helped with performance. with the latest version, this does not seem to be available.

    thanks,
    susan
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Nov 2008 Link to this post

    Hello Susan,

    I suggest you decrease the padding of the text of RadMenu items with the following css style:

    <style type="text/css">
    .RadMenu_Web20 .rmText {
       padding-left: 5px !important;
       padding-right: 3px !important;
    }
    </style>

    As to your second issue, you can use EnableEmbeddedScripts property with the new version.

    Regards,
    Yana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top