[HELP] TabContainer - JQuery event handler
Hi All,
Actually I have one Jquery file called "abc.js" and the code as below,
-
$("#tabMain").click(moreActionChange);
$("#find-button").bind("click", findResourceShow);
$("#page-current").bind("change", pageCurrentChange);
//Below is the function that i need to called for the action once the tab changing.
function moreActionChange() {
var moreActions = $(this);
if (moreActions.val() == 'tabView') {
createTbhShow();
}
else if (moreActions.val() == 'tabCreate') {
findResourceShow();
}
moreActions.val("");
}
From the code above that I highlighted, I wish to make a event handler for my tab once it changing the tab, but i failed to do that, below is my design code for c#,
-
<ajaxToolkit:TabContainer ID="tabMain" runat="server" ActiveTabIndex="0" OnActiveTabChanged="tabMain_ActiveTabChanged"
AutoPostBack="True">
<ajaxToolkit:TabPanel runat="server" HeaderText="View" ID="tabView">
.....
.....
.....
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="View" ID="tabCreate">
.....
.....
.....
</ajaxToolkit:TabPanel>
thanks for everyone help~~!!
