12 Answers, 1 is accepted
0
Hi Shawn,
We are planning to improve and expand the documentation for the final release. So far, it turned out that several internal methods are useful, and have to be exposed end explained.
Can you please share what mobile button functionality you are looking for? It might be not only undocumented, but also not implemented.
Thanks,
Petyo
the Telerik team
We are planning to improve and expand the documentation for the final release. So far, it turned out that several internal methods are useful, and have to be exposed end explained.
Can you please share what mobile button functionality you are looking for? It might be not only undocumented, but also not implemented.
Thanks,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shawn
Top achievements
Rank 1
answered on 06 Feb 2012, 09:14 AM
I'd like to pass in the icon and handler:
I'd also like doc'd what is passed in each of the events you expose.
$("mybutton").kendoMobileButton({
icon: "hand",
click: function (event) {
alert("foo");
}
});
I'd also like doc'd what is passed in each of the events you expose.
0
Hi,
Thanks for the feedback.
Although the data attributes and the constructor options are interchangeable in general, the icon setting is not recognized in the options parameter of the button (we will fix that for the final release). It is an overlook on our side.
Since all mobile widgets support event handlers in the constructor options (and pass similar parameters to the event handlers), we are going to document this in a general Kendo UI Mobile help topic.
What is also coming for the final release is declaring events via data attributes.
Regards,
Petyo
the Telerik team
Thanks for the feedback.
Although the data attributes and the constructor options are interchangeable in general, the icon setting is not recognized in the options parameter of the button (we will fix that for the final release). It is an overlook on our side.
Since all mobile widgets support event handlers in the constructor options (and pass similar parameters to the event handlers), we are going to document this in a general Kendo UI Mobile help topic.
What is also coming for the final release is declaring events via data attributes.
Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dan Cornish
Top achievements
Rank 1
answered on 11 Feb 2012, 09:53 PM
How do I enable/disable a button? I can't find it in the documentation...
<a href="" id="Save" onclick="saveAppointment()" data-role="button">Save</a>
Thanks
<a href="" id="Save" onclick="saveAppointment()" data-role="button">Save</a>
Thanks
0
Hello Dan,
Georgi Krustev
the Telerik team
Currently, you cannot enable/disable a mobile button. I will suggest you show/hide it instead of disable it. I will forward your request to our developers for further investigation and consideration.
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jay
Top achievements
Rank 2
answered on 13 Feb 2012, 07:27 PM
I would also like to disable buttons. Hiding them is not always the most intuitive thing to do to the users.
0
Hello Jay,
Georgi Krustev
the Telerik team
I will log your request in our internal system. If other users wans such functionality we will log it for further investigation. You can also open an User Voice item for this functionality.
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ben
Top achievements
Rank 1
answered on 20 Feb 2012, 03:31 AM
+1 for disabling buttons. Also, the user voice link posted can't be found. I believe you meant the URL to be: http://kendo.uservoice.com
0
Hi Ben,
That is correct - apologies for the discrepancy. I already updated the link in Georgi's response.
Regards,
Sebastian
the Telerik team
That is correct - apologies for the discrepancy. I already updated the link in Georgi's response.
Regards,
Sebastian
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robert
Top achievements
Rank 1
answered on 09 Nov 2012, 08:06 PM
Georgie,
How do you hide a button? Using Jquery seems to do nothing:
How do you hide a button? Using Jquery seems to do nothing:
function hideButton(e) {
e.preventDefault();
$("lnkLogout").hide();
}
0
Hello Robert,
Check this for more information.
Greetings,
Georgi Krustev
the Telerik team
After a quick review of the code snippet, I believe that the "lnkLogout" selector will not find the required links. If the "lnkLogout" is a CSS class then you need to modify the selector like this:
1.
$(
".lnkLogout"
).hide();
Greetings,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robert
Top achievements
Rank 1
answered on 12 Nov 2012, 02:41 PM
Strangely enough.... today it's working.