Wizard control example
Previous | Home | Next |
Wizard concept is a new concept in ASP.NET 2.0. We can use wizard concept instead of using more then one pages in any process like registration, OnLineQuiz etc. The part of a wizard are Main: This contains the user interface for each step (This area includes Navigational buttons). Header: It displays header information about the current step. Sidebar: It contains navigational steps for quick navigation The part of a wizard are Main: This contains the user interface for each step (This area includes Navigational buttons). Header: It displays header information about the current step. Sidebar: It contains navigational steps for quick navigation
.......................Designing code for wizard control........... ................................................................... <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>.....................................................................................cs code........................................... using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { Label1.Text = TextBox1.Text.ToString(); Label2.Text = TextBox2.Text.ToString(); } } ....................................................................Untitled Page
Previous | Home | Next |