ApplyClass to P element instead of adding extra SPAN?

2 posts, 0 answers
  1. Marja
    Marja avatar
    70 posts
    Member since:
    Nov 2013

    Posted 05 May 2014 Link to this post

    I can apply a CSS class to a paragraph by using the ApplyClass tool, which will add a <span class="className"> inside the paragraph. But I would prefer the selected class being applied to the selected P element directly instead of adding an extra SPAN.

    Can that be achieved?
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 07 May 2014 Link to this post

    Hello Marja,

    The mentioned functionality of the  Apply Class tool is designed this way to preserve teh ability to change the class name of a selection and not to parent element.

    I can recommend implementing a Custom Dropdown tool that fits your requirements.

    Regards,
    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top