This is a migrated thread and some comments may be shown as answers.

Touch Highlight Remains After Button Processed

5 Answers 180 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 30 May 2013, 05:18 PM
Hi,

My Phonegap/Cordova app uses several remote views, many use a button to call a method to process user input and move on to a different remote view page. (i.e. <button class="btn-right" data-role="button" data-bind="click: chkInfoChangePage">Submit</button>) If I sooner or later programmatically navigate back to the page ( e.g. app.navigate("enteryourinfo.html");). the button that was originally touched to leave the page still shows the touch highlighting. I would like to reset that if I return to a page.

I tried setting data-reload="true" which does refresh the highlighting when it works, but I often get an error: "Uncaught TypeError: Cannot call method 'destroy' of undefined at file:///android_asset/www/js/kendo.mobile.min.js:13" Removing the data-reload="true" prevents the error.

I often use MVVM data binding to a simple JavaScript observable object, but it happens even to non-bound pages. Other than the persistent highlighting, I don't NEED to reload the page, but would like to have the option to do so.

Can someone point out what I am doing wrong; how do I untouch a button after I have processed the onclick event? 

Thanks,
Kevin

5 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 31 May 2013, 06:58 AM
Hello Kevin,

I'm sorry for the inconvenience, but that was a regression bug that sneaked in the service pack. Upgrade to the latest internal build and the persistent highlighting will go away.

Regards,
Kamen Bundev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kevin
Top achievements
Rank 1
answered on 31 May 2013, 08:05 PM
Thank ya kindly for the answer.
0
Jacob
Top achievements
Rank 1
answered on 12 Jun 2013, 12:33 PM
I am trying to find where to download the latest internal build. I am currently having this issue building an iPhone app.  I am running a mac and when I login I only get access to download a demo version and it comes to me in an MSI package....

Please advise. 
0
Sebastian
Telerik team
answered on 12 Jun 2013, 01:58 PM
Hello Jacob,

You should be able to access the latest internal build from your site account's > Product Files Download section, option 'Browse all product files'. It should be listed alongside with the rest of the files from the official Kendo UI distribution, i.e. msi installer and zip packages. 

Latest internal builds are available to all users with active commercial licenses of Kendo UI, as stated here.

Best regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Meesha
Top achievements
Rank 1
answered on 01 Jul 2013, 01:26 PM
Hi, 

I have the same problem - buttons stay highlighted. In the "Internal builds" section there is information: "No internal builds for your products have been uploaded recently."
What else can I try? Is it available only for people who purchased your product? I have the 30-day trial version right now.

I will be very grateful for any help.  

EDIT: How can I remove the question? I've just realized that the answer is above.
Tags
Button (Mobile)
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Kevin
Top achievements
Rank 1
Jacob
Top achievements
Rank 1
Sebastian
Telerik team
Meesha
Top achievements
Rank 1
Share this question
or