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

How to get the href parameter value

1 Answer 478 Views
TabStrip (Mobile)
This is a migrated thread and some comments may be shown as answers.
Ganesh
Top achievements
Rank 1
Ganesh asked on 30 Nov 2015, 12:05 PM
Hi,
Working on Progress.JSDO with Mobile app. 
I am working on Tabstrip in Kendo with <a> tags as below.
 <div data-role="tabstrip">
    <a href="views/listView.html?status=Submitted">Submitted</a>   
    <a href="views/listView2.html?status=Registered">Registered</a>      
<a href="views/listView3.html?status=Approved">Approved</a>
    <a href="views/listView4.html?status=Declined">Declined</a>
    </div>  
I would like to retrieve the value of status, when I click the TAB in UI.
I have tried using "e.view.params.status", it returning as undefined.
Can someone help me to get the value.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 01 Dec 2015, 05:56 PM
Hi Ganesh,

If you are passing parameters through the query string they should be available in the params object of the view, as documented in the following article, when the view is loaded:
In your case you can use manually retrieve the value from the href of the clicked tab:
If any further assistance is needed, please open regular support ticket and attach sample, runnable project, so we can test with your exact implementation.


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