我的多视图控件中有 3 个视图。我想使用javascript更改客户端多视图的activeviewindex。我做不到。帮助将不胜感激。我的代码是:
<asp:Panel runat="server" ID="multiviewContainer" CssClass="multiviewContainer">
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
<asp:View ID="View1" runat="server">
View 0
</asp:View>
<asp:View ID="View2" runat="server">
View 1
</asp:View>
<asp:View ID="View3" runat="server">
View 2
</asp:View>
<asp:View ID="View4" runat="server">
View 3
</asp:View>
</asp:MultiView>
</asp:Panel>