Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Error: TabContainer1_ActiveTabChanged is undefined

$
0
0

I added OnClientActiveTabChanged="TabContainer1_ActiveTabChanged" to a TabContainer control on an ASPX page.

The code is in the code behind:

public void TabContainer1_ActiveTabChanged(object sender, EventArgs e)
        {
            this.ViewState["ActiveTabIndex"] = TabContainer1.ActiveTabIndex;
        }

When I run the page, the screen displays with the whole tab container thing missing, and an error on the page.

The error says TabContainer1_ActiveTabChanged is undefined.

What am I doing wrong?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>