Decorating Radmenu items

4 posts, 0 answers
  1. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 24 May 2010 Link to this post

    Hi,
    Should the form decorator be able to apply styles to menu items? from my tests it does not seeem to work (Q1 2010 release)
  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 25 May 2010 Link to this post

    Hi Al,

    Telerik RadFormDecorator for ASP.NET AJAX delivers CSS skinning of:

    • Buttons
    • CheckBoxes
    • Fieldset
    • H4,H5,H6
    • Label
    • RadioButtons
    • Scrollbars
    • Textarea
    • Textbox
    • SELECT







    The RadFormDecorator control does not offer the ability to style RadMenu items out-of-the box.
    If you however load one of the listed HTML elements above in an ItemTemplate of some RadMenu item then it will be skinned by RadFormDecorator, e,g,

    <telerik:RadFormDecorator Skin="Forest" ID="RadEditor1" runat="server">
    </telerik:RadFormDecorator>
     
    <telerik:RadMenu ID="das" runat="server">
        <items>
            <telerik:RadMenuItem Text="dasdasd">
                <ItemTemplate><input type="checkbox" /></ItemTemplate>
            </telerik:RadMenuItem>
        </items>
    </telerik:RadMenu>

    All skins of the different RadControls are designed to look nice and similar when displayed together on a page and if you want to have a black menu items and black checkboxes, buttons, etc elements on the page, just set the Black skin of RadFormDecorator and RadMenu and you will achieve the desired look and feel.

    Best regards,
    Rumen
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 25 May 2010 Link to this post

    Thanks Rumen, I didn't see the bit about the list of supported controls.
    While we are on the subject - I see that RadTextBoxes look different to html textboxes when the FormDecorator does it's thing, just try th black skin on both and you'll see that the html boxes get a green border on hover but rad ones do not, in fact this hapeens even if you set the skin manually, should it be like this?
  5. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 27 May 2010 Link to this post

    Hi Al,

    We are aware of this problem. The different look of RadTextBox and Asp:TextBox will be fixed for the Q2 2010 release of RadControls for ASP.NET AJAX. We are currently working on it.


    Best wishes,
    Rumen
    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.
Back to Top