<asp:MultiView ID="aMultiView" runat ="server" >

        <asp:View ID="view1" runat ="server" >

            Content for view 1 here.

        </asp:View>

        <asp:View ID="view2" runat ="server" >

            Content for view 2 here .

        </asp:View>

     </asp:MultiView>

     <!--MultiView导航-->

     <asp:MultiView ID="MultiView2" runat ="server">

        <asp:View ID="viewN" runat ="server" >

            <asp:Button ID="viewPrev" Text ="Previous" runat ="server" CommandName="PrevView" />

            <asp:Button ID="Button1" Text ="Next" runat ="server" CommandName="NextView" />

            <asp:Button ID="Button2" Text ="Start" runat ="server" CommandName="SwitchViewByIndex" CommandArgument ="0" />

        </asp:View>

     </asp:MultiView>

     <!--前一个,后一个,转跳到另一个(commandArgument值为view的编号) 其中命令分大小写-->

此控件可应用于分步完成的过程,和标签式页面.

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2021-07-24
  • 2021-07-05
  • 2021-07-20
  • 2022-01-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-02-07
  • 2021-07-18
  • 2021-06-24
相关资源
相似解决方案