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

databound templated listview with external links

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gavin
Top achievements
Rank 1
Gavin asked on 30 Oct 2013, 11:52 PM
Hi,

We have a listview in kendo ui mobile using the flat theme bound to an array of items.
Each item in the list has an external URL that needs to be opened when the item is clicked on.

This works but the problem is that if the list is scrolled through the link that was touched opens as soon as the scrolling stops.
It should not open the link when doing a scrolling action only from the tap.

Other list views that navigate to internal views do not have this issue - the scrolling is just detected as a scroll action and the navigation is only done when the item is tapped.

here is the data template for the list

<script type="text/x-kendo-template" id="notificationListTemplate">

<a class="faqListQuestion" href="${url}" data-rel="external" >${title}<br /><span class="notificationDates">${date}</span></a>

</script>

Is there something wrong with my template or some other workaround for this issue?

Thanks
Gavin

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Nov 2013, 02:41 PM
Hi Gavin,

It is not clear from your post where you observe the behavior you talk about - in the Icenium simulator, Icenium ION or when your app is deployed on actual device. As we have not been able to reproduce this in our local tests, can you elaborate on the problem? Also have you tried the alternative scrolling mechanism that Kendo UI offers for mobile devices and does it behave the same way?

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussions
Asked by
Gavin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or