嗨,提前感谢,
我有 2 个标签。每个都已经有一些 asp 和 html 标记。在第一个选项卡上时,我需要调用 ac# 方法。我注意到属性 OnClientClick 用于 javascript。So is there a way for me call my c# method when the 1st tab is selected?
<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="ajax__tab_ie-theme camera-tab"
TabIndex="0">
<asp:TabPanel ID="TabPanelVTMCoord" runat="server" HeaderText="UTM" >
<ContentTemplate>
.
.
.
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="TabPaneLatLong" runat="server" HeaderText="Lat/Long">
<ContentTemplate>
.
.
.
</ContentTemplate>
</asp:TabPanel>