add hyperlink to kendo ui k-button?

kendo-ui

Solution

An anchor can directly be formatted as a button by simply adding `class="k-button"`

You should define it as:

<a href="http://localhost:5724/map.html" class="k-button"><font color = 'black'>See All Center</fonts></a>

BTW: The tags in your HTML example are not correctly balanced. Also consider using style attribute instead of fonts.

Problem

I'm using kendo ui menu widgets from the web package of kendo ui. There is a problem in hyperlink the k-button is not working with an hyperlink inside. ``` <button class="k-button"> <a href="http://localhost:5724/map.html"> <font color = 'black'>See All Centers </a></font> </button> ``` the button does not even responding an error: it is behaving as if there is no hyperlink attached with button.

Original source