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

Add a button in the listview item which is a link to another view

3 Answers 76 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Ralph
Top achievements
Rank 1
Ralph asked on 30 Sep 2013, 07:09 AM
Hi,

I have added a <span> with "button" as the data-role in a list item which is a <a> with href to another view.
When the listview is grouped, the button works.
But when the list is not grouped, the button does not work!

Please suggest what should I do to make it works.

Thanks!

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 01 Oct 2013, 12:28 PM
Hello Ralph,

I tried to reproduce the behavior in a sample page but to no avail. Could you please check my sample and let me know what I am missing? Can you reproduce the problem in the jsBin page and send me back a link? In this way I will be able to examine your current implementation and assist you further.
Thank you in advance for the cooperation.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ananda
Top achievements
Rank 1
answered on 16 Oct 2015, 02:29 PM

Dear Alexander, 

I had some similar problem. I would like to do the same stoff, I mean, I need each item of my list to take me to another view, or html page. But, the thing is that I'm not using a ordinary list, I'm taking the list itens from my backend service data, those itens were add before, the user add them, and now I need each one of them to be a link.... But whenever I triyed to put <a> int he <li> or <ul data-role="list-view">, the list simply dont appear.... could u help me?

0
Alexander Valchev
Telerik team
answered on 20 Oct 2015, 09:03 AM
Hello Ananda,

Your scenario is a bit unclear. Can you reproduce the issue in this example so I can take a look at the current implementation and advise you further?

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ListView (Mobile)
Asked by
Ralph
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Ananda
Top achievements
Rank 1
Share this question
or