Same class aliases in Apply CSS dropdown

2 posts, 1 answers
  1. Vitaliy
    Vitaliy avatar
    3 posts
    Member since:
    Aug 2012

    Posted 01 Nov 2012 Link to this post


    When I add classes with the same value attribute to the <classes> element of the "ToolsFile.xml" file, then only last one is displayed in the Apply CSS dropdown list. For example:

            <class name="Name 1" value=".class1" />
            <class name="Name 2" value=".class1" />

    In this case there is only "Name 2" class in the list.

    Is this expected behavior? And if it is, is this documented somewhere? Is there any configuration to allow displaying all classes with the same value?

    Thank you in advance.

    Best regards,
  2. Answer
    Rumen avatar
    14324 posts

    Posted 02 Nov 2012 Link to this post


    This is by design. If you would like you can implement a custom dropdown with the desired items in it. You can fire them using the"ApplyClass", { value: ".class1" }); method.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top