Kendo button `k-danger` not working

Viewed 4961

I am using Kendo MVC in C# project.

I am trying to add k-danger class to kendo button. I don't know why but it's not working where k-primary class works.

This is my buttons code:

<button type='button' id='Button1' onclick='Delete(#=ID#)' class='k-button k-button-icontext k-grid-add k-danger'>  // This is just showing the default button
    <span class='k-icon k-i-trash'></span> 
</button>

<button type='button' id='Button2' onclick='Info(#=ID#)' class='k-button k-button-icontext k-grid-add k-i-pencil'>  // This is showing the primary button
    <span class='k-icon k-i-pencil'></span> 
</button>

The icons works perfectly. I searched everywhere but I found nothing about this. So I am concluding that there is no k-danger class, I don't know if I am wrong.

If no k-danger is available is there anything else I can use instead of k-danger?

I can provide full code if it's needed.

3 Answers
Related