HtmlAttributes in Custom commands not working (for class)

2 posts, 0 answers
  1. Jean-François
    Jean-François avatar
    26 posts
    Member since:
    Dec 2012

    Posted 02 Oct 2013 Link to this post

    Hi again, 

    We can't seem to add a class to a custom command. We tried to following : 

    columns.Command(Sub(command)
        command.Custom("btnSupprimer").Text(" ").Click("supprimerReaction").HtmlAttributes(new With { .class = "potatoes" })
    End Sub)

    The class is not added anywhere. Is there a way to fix this? We can't really add it in jQuery, since the row keeps being update (it has inline editing). 

    Thank you,
    Jni
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 04 Oct 2013 Link to this post

    Hello Jni,

    Please take a look at this forum thread which discusses the same subject. 

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top