This is a migrated thread and some comments may be shown as answers.

HtmlAttributes in Custom commands not working (for class)

1 Answer 908 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jean-François
Top achievements
Rank 1
Jean-François asked on 02 Oct 2013, 12:56 PM
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

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 04 Oct 2013, 09:55 AM
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!
Tags
Grid
Asked by
Jean-François
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or