Blog Content

    티스토리 뷰

    66.C# ASP.NET - Wizard 컨트롤 [WebStandardControls]

    반응형
    Wizard 컨트롤

    - 동일한 영역을 이전/다음 버튼을 클릭하여 페이지 로드
    - WizardRegister 컨트롤을 여러개의 WizardRegister Step을 가지고 있음
    - 단계 설정 가능 (예 : 프로그램 설치, 여러개의 Step을 주고자 할 때)

    도구상자 - 표준 - Wizard 컨트롤 추가
    FrmWizardRegister.aspx

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head runat="server">

        <title></title>

    </head>

    <body>

        <form id="form1" runat="server">

        <div>

            <asp:Wizard ID="Wizard1" runat="server">

                <WizardSteps>

                    <asp:WizardStep ID="WizardStep1" Title="회원가입시작"

                        runat="server" StepType="Start">회원가입 페이지입니다.

                    </asp:WizardStep>

                   

                    <asp:WizardStep ID="WizardStep2" runat="server"

                        Title="아이디" StepType="Step">아이디 : </asp:WizardStep>

                   

                    <asp:WizardStep ID="WizardStep3" runat="server"

                        Title="암호" StepType="Auto">암호 : </asp:WizardStep>

                       

                    <asp:WizardStep ID="WizardStep4" runat="server"

                        Title="Step 2" StepType="Finish">회원가입을 완료하시겠습니까?

                    </asp:WizardStep>

                   

                    <asp:WizardStep ID="WizardStep5" runat="server"

                        Title="Step 2" StepType="Complete">처리되었습니다.

                    </asp:WizardStep>

                   

                </WizardSteps>

            </asp:Wizard>

        </div>

        </form>

    </body>

    </html>


    결과화면

    [그림66-1]



    반응형

    Comments