Wizard Concept in Asp.net
Wizard Concept Are newly added in asp.net.It is used to take a lot of data from multiple Steps...
it represent like a interface..It phenomenenon represent as the type of wizard itself.we can add more than one wizard step in this control.
Introduction
Wizard Concept are newly added in Asp.net 2.0 This control is used to bring wizard inferace into asp.net.It can gather a lot of data into multiple steps.
Example
Demonstration
In this data are splitted into two wizard and way of presentation Will be good
When lot of data are Summarized
Here in this project we are used two wizard .. one is user details. In this page we collected information of user. in next wizard we collected registration details
<asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" Height="487px" Width="610px"
DisplayCancelButton="True">
<WizardSteps>
<asp:WizardStep ID="WizardStep2" runat="server" Title="User Detail">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:Label ID="Label4" runat="server" Text="Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Required" ControlToValidate ="TextBox4"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" Text="Age"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Required" ControlToValidate ="TextBox5"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Designation"></asp:Label>
</td>
<td >
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Required" ControlToValidate="TextBox6"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep ID="WizardStep1" runat="server" Title="Register">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Login"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required"
ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Required"
ControlToValidate="TextBox2"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Confirm Passsword"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Passsword dismatched"
ControlToCompare="TextBox3" ControlToValidate="TextBox2"></asp:CompareValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Required"
ControlToValidate="TextBox3"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" Text=""></asp:Label></td>
</tr>
</table>
</asp:WizardStep>
</WizardSteps>
</asp:Wizard>
Reference: Wizard Concept in Asp.net