例子:
<asp:MultiView
id="MultiView1"
ActiveViewIndex="1"
Runat="server">
<asp:View ID="View1" runat="server" >
<iframe id="v1" runat="server" src='http://www.w3schools.com' style="border: None; height: 100%; width: 100%;"></iframe>
</asp:View>
<asp:View ID="View2" runat="server">
<iframe id="Iframe1" runat="server" src='http://www.w3schools.com/html/html5_intro.asp' style="border: None; height: 100%; width: 100%;"></iframe>
</asp:View>
<asp:View ID="View3" runat="server">
<br />This is the third view
<br />This is the third view
<br />This is the third view
<br />This is the third view
</asp:View>
<asp:View ID="View4" runat="server">
<br />This is the third view
<br />This is the third view
<br />This is the third view
<br />This is the third view
</asp:View>
</asp:MultiView>
关注点:
- 如何在运行时创建这种多视图结构?
- 有没有可以在多视图中使用的 iframe 替代方案?
- 我可以将一个多视图视图用于 2 个或更多菜单吗?
- 如何使用 javascript 或 jquery 引用和操作多视图?
请帮我解决一下这个。
谢谢!