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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Activate tabitem by Javascript

Thread ID:





129066 Feb 24,2017 08:58 AM UTC Feb 27,2017 06:22 AM UTC ASP.NET Web Forms 1
Tags: Tab
Danferd Lan
Asked On February 24, 2017 08:58 AM UTC

How can i activate a specific tabitem from clientside? 

Karthikeyan Viswanathan [Syncfusion]
Replied On February 27, 2017 06:22 AM UTC

Hi Danferd Lan   
Thanks for contacting Syncfusion Support.   
Yes, you can select the tab items using showItem public method in client side.   
Please find the code snippet:   
<ej:Tab ID="DefaulttabContent" runat="server" Width="600px"ShowCloseButton="true">   
<script type="text/javascript">   
        function tabselect(args) {   
            var inst = $('#<%=DefaulttabContent.ClientID%>').ejTab("instance");   
            // you can also use selectedItemIndex   
Refer to the API reference link for selectedItemIndex: https://help.syncfusion.com/api/js/ejtab#members:selecteditemindex    
Refer to the showItem  client side public method link: https://help.syncfusion.com/api/js/ejtab#methods:showitem    
Karthikeyan V.    


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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