We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Navigate between tabs after button click event

Hello guys,

I am trying to navigate between between tabs of an ASP.Net MVC Tab Control after a button click event. (Next-Previous Button). And to achieve this i've tried to simulate the same behaviour for keyboard navigation as shown in this help topic : http://help.syncfusion.com/aspnetmvc/tab/keyboard-navigation , so i craeated an html5 button like this : 

<button type="button" class="btn btn-primary" id="next1" style="float: right;">Next</button>

and added a jQuery script:

    $(function () {                

        $("#next1").click(function (e) {

           $("#dishtab ul a").focus();  

And when i click the button nothing happen and i can see this in the bottom of the browser :


Thank you in advance :)

3 Replies

MS Muralishankar Sundaram Syncfusion Team May 16, 2016 01:04 PM UTC

Hi Otto, 
Thanks for using Syncfusion products, 
As per your requirement we have prepared the custom sample with tab control and please check sample with the below js-playground link: 

Please let us know if you have any other concerns. 

OI otto igho May 16, 2016 04:41 PM UTC

Hi Muralishankar,

Thank you very much for the sample, it is working fine. Now i'll try to integrate it to my cshtml view.


PO Prince Oliver Syncfusion Team May 17, 2016 05:29 AM UTC

Hi Otto,   
Thanks for your update.   
We are glad to hear that your issue is solved.  
let us know if you need any further assistances.   

Live Chat Icon For mobile
Up arrow icon