Can anyone give me an example of how to create a kendoui radio button group and get the button labels and button values from an MVC Ajax controller data source?
The radio buttons need to be bound to an MVC model, so the RadioButtonFor(expression) format would be the most useful.
With other widgets, the data-bind="enabled: false" attribute normally works, and disables that particular widget in MVVM, but it seems like this parameter only works with a function name.
Using Kendo 2014.3.1119. Checked the update logs, and didn't see this particular issue addressed.
Hi,
I'm running the Kendo trial and experimenting with the various controls at the moment.
One of the things i'd like to do is replicate a windows app which has a button with text "start" that functions as a toggle. When initially clicked it recognises the current text as start so starts a timer and changes its text to stop. a subsequent click recognises the text as "Stop", stops the timer and reverts the text to "Start".
Is this something that is possible with a Kendo button possibly by using some of the CSS etc that makes a button a radio button and testing the checked state ?
Hi
On Desktop I use kendoButton, on mobile I use kendoMobileButton, either way at the moment the object I bind to will look something like:
<button onclick=""/>
I recently found out about the 300ms delay on iPhones, apparently I should use something like the below on iPhones
<button data-role="button" data-click="...
i.e. use data-click rather than onclick.
This doesn't seem to work on desktop.
- Is there a common way of setting click on a button on both the kendoButton and kendoMobileButton?
- If not what approaches are available?
i.e. I saw an example with data-bind="onclick... but couldn't get that to work on desktop either, guessing that's a MVVM model (which I don't use)
I have Partial Views in Asp.Net MVC which are common to desktop and mobile, I don't really want to introduce the below everywhere
Hi,
I've added a kendo button which looks like this in HTML -
<a data-uid="a26bc1df-cc6a-402c-b5be-a983914ef703" class="q-btnHover k-button k-button-icon ng-scope" id="Refresh" data-overflow="auto" style="visibility: visible;"><img alt="icon" class="k-image" src="refresh.png"></a>
I want to change the image to refresh-hover.png on mouse hover on the button.
When clicking a button using the bootstrap style, the background turns blue, while the inside of the border is some kind of light blue. Bootstrap itself doesn't have this blue background, but their buttons have the same background color as when hovering.
I've attached an image with examples. The left button is a Kendo Button, the right button is a bootstrap button.
Is there a way to pass additional data the button's click event? I need to pass information from the data item that the button is on (ListView template) to the function handling the click event.