I am using Kendo MVC in a C # project.
I am trying to add a k-danger class to the kendo button. I do not know why, but it does not work, where the k-primary class works.
This is the code for my button:
<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 ki-trash'></span> </button> <button type='button' id='Button2' onclick='Info(#=ID#)' class='k-button k-button-icontext k-grid-add ki-pencil'> // This is showing the primary button <span class='k-icon ki-pencil'></span> </button>
The icons work great. I searched everywhere but found nothing about it. Therefore, I conclude that there is no k-danger class, I do not know if I am mistaken.
If there is no k-danger , is there anything else I can use instead of k-danger ?
I can provide full code if necessary.
c # asp.net-mvc kendo-ui
irshad jm
source share