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

Unable to stop default navigation of tabstrip.

1 Answer 120 Views
TabStrip (Mobile)
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 13 May 2013, 02:33 PM
In my application  we are showing multiple views under a same tab.
Here I am  adding two screenshots to illustrate the case.
Here the active tab  has href = [the id of the calendar view].
now from the details(view as shown in details.png) page when I am tapping the calendar icon of the tabstrip(i,e the active tab) it's navigating to the calendar(view as shown in calendar.png) view. 
I wanted to stop this navigation, but I am not being able to do so.
I have tried adding jQuery click event  on the  tabs but  it's not firing the click event when its related view is not visible.
Please refer me a way to do that.
Thanks Dave

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 15 May 2013, 10:18 AM
Hi Dave,

You can prevent the navigation at the beforeShow event of the View by calling preventDefault() method. For more information please check the corresponding documentation:
I hope this will help.

Kind regards,
Alexander Valchev
the Telerik team
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
Dave
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or