Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7410175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:11:40+00:00 2026-05-29T06:11:40+00:00

I am developing an application with extjs4 and c#, it is based on the

  • 0

I am developing an application with extjs4 and c#, it is based on the browser-layout example.
I have a menu on the left side, where you can click each item of that menu. On the right side I have all of my tabs.

The event listener I’m using on the tabs works when I click on the tab, but doesn’t work after the first time I click on it from the left menu.

To be clearer, when I first load my application, I have to select an item from left menu, it then shows my tab with tab1 activated. Everything works well, except it doesn’t work when I select another item then go back to my tab.

This is my listener:

  listeners: { activate: function () {                                  
                               alert('tab1');                                  
                          }
             },

Here is the code called when clicking the menu:

menuPanel.getSelectionModel().on('select', function (selModel, record) {
    if (record.get('leaf')) {
        Ext.getCmp('content-panel').layout.setActiveItem(record.getId() + '-panel');
        Ext.getCmp('cardTabs').setActiveTab(0);
}}

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:11:41+00:00Added an answer on May 29, 2026 at 6:11 am

    Solved

    I added a listener to my tabpanel

     listeners: { tabchange: function () {
                        //refresh 
                        switch (this.getActiveTab().id) {
                            case 'myId1': myFunction();
                            .........
                            }
                    },
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developing an application in WPF where a single click on an item will
I'm currently developing a web application and have run into a little problem. I'm
I am developing application using phonegap in eclipse for android .I have created folder
I am developing application having a resemblance appearance like Gallery application. When I click
I'm developing application using VC++ 6. I have a 3rd party DLL. This library
When developing an application which consumes an external webservice I have generated the sources
I'm developing application with NHibernate EntityMode.Map so I have entities of IDictionary without cs
I am developing application for .Epub extension file reader.I have source code available. But
I have been developing Android application since 3 to 4 months. I am naive,
Hi We are developing application in node.js , socket.io , and redis. we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.