<cc1:C1AppView> 開始タグをクリックして、コントロールのC1AppView スマートタグ
を表示しますが作成されます。<cc1:C1AppView> マークアップを変更します。このマークアップは、プロジェクトに1つのC1AppViewItem を追加します。
| ソースビュー |
コードのコピー
|
|---|---|
<cc1:C1AppView ID="C1AppView1" runat="server" HeaderTitle="ホームページ" Height="300px">
<DefaultContent>
<p>
このアプリケーションは Wijmo とjQuery Mobile を使用してビルドします。
Wijmo の詳細については、<a href="http://wijmo.com">http://wijmo.com></a> を参照してください。
</p>
</DefaultContent>
<Items>
<cc1:C1AppViewItem Text="Wizard" AppViewPageUrl="/Wizard/Index.aspx">
</cc1:C1AppViewItem>
</Items>
</cc1:C1AppView>
|
|
<body> タグ内のマークアップを次のように編集します。
| マークアップ |
コードのコピー
|
|---|---|
<cc1:C1AppViewPage runat="server"> <content id="Content1" runat="server"> <Template> <cc1:C1Wizard ID="C1Wizard1" runat="server" Delay="300"> <steps> <cc1:C1WizardStep runat="server" Title="Step1" ID="C1Wizard1_Step1"> Mauris eleifend est et turpis. Duis id erat. Duis cursus. </cc1:C1WizardStep> <cc1:C1WizardStep runat="server" Title="Step2" ID="C1Wizard1_Step2"> This is the second step. </cc1:C1WizardStep> <cc1:C1WizardStep runat="server" Title="Step3" ID="C1Wizard1_Step3"> This is the third step. </cc1:C1WizardStep> <cc1:C1WizardStep runat="server" Title="Step4" ID="C1Wizard1_Step4"> This is the fourth step. </cc1:C1WizardStep> <cc1:C1WizardStep runat="server" Title="Step5" ID="C1Wizard1_Step5"> This is the final step. </cc1:C1WizardStep> </steps> </cc1:C1Wizard> </Template> </content> </cc1:C1AppViewPage> |
|
これで、新しいプロジェクトが作成され、プロジェクトに C1AppView コントロールが追加されました。次の手順では、このコントロールの外観と動作をカスタマイズします。