例:
<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 の代替手段はありますか?
- 1 つのマルチビュー ビューを 2 つ以上のメニューに使用できますか?
- javascriptまたはjqueryを使用してマルチビューを参照および操作する方法は?
これで私を助けてください。
ありがとうございました!