Unable to stop default navigation of tabstrip.

2 posts, 0 answers
  1. Dave
    Dave avatar
    12 posts
    Member since:
    Dec 2012

    Posted 13 May 2013 Link to this post

    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
  2. Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 15 May 2013 Link to this post

    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!
Back to Top