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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Navigate between tabs after button click event

Thread ID:

Created:

Updated:

Platform:

Replies:

124085 May 15,2016 12:11 PM UTC May 17,2016 05:29 AM UTC ASP.NET MVC 3
loading
Tags: Tab
otto igho
Asked On May 15, 2016 12:11 PM UTC

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:

<script>
    
    $(function () {                

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

           $("#dishtab ul a").focus();  
          
        });        
    });        
</script>

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

localhost/Controller/Action#tabname



Thank you in advance :)




Muralishankar Sundaram [Syncfusion]
Replied On 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. 
Regards, 
Muralishankar 


otto igho
Replied On 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.

Regards,
Otto.

Prince Oliver [Syncfusion]
Replied On 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.   
  
Regards,   
Prince   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;