How to get the href parameter value

2 posts, 0 answers
  1. Ganesh
    Ganesh avatar
    4 posts
    Member since:
    Jan 2015

    Posted 30 Nov 2015 Link to this post

    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.
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1800 posts

    Posted 01 Dec 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top