The Additional Standard Web Server Controls: In ASP.NET 1.1, wizards were implemented using either multiple pages with plenty of duplicate, boiler-plate code (as in Figure 4.8), or within a single page with numerous Panel controls, or by dynamically adding user controls to a single page based on the wizard step. The multiple panels within a single page approach eliminates the duplicated code problem of numerous pages; unfortunately, it comes at the cost of plenty of awkward code to toggle the visibility of the panels and buttons and to track the wizard state. I was involved with an ASP.NET 1.1 wizard project with nine discrete steps and more than 20 possible panels all contained within a single ASP.NET page; the conditional logic just for handling the panels and button controls was enough to make even the most hardened ASP spaghetti-code veteran wince in pain. The new Wizard control in ASP.NET 2.0 makes the process of creating a Web wizard significantly easier. This control provides a simpler mechanism for building Figure 4.8 Typical Web wizard processing «wizard step» Step 1 «wizard step» Step 2 «wizard step» Step 3 «wizard step» Step N Retrieve previous step’s input data. Verify it is still valid. If user has entered step illegally, then exit. Save this and previous step's data. Goto next step. Retrieve previous steps’ input data. Verify it is still valid. If user has entered step illegally, then exit. Save this and previous steps' data. Goto next step. Retrieve all previous steps’ input data. Verify it is still valid. If user has entered step illegally, then exit. - Study24x7
Social learning Network
12 Apr 2019 03:41 PM study24x7 study24x7

The Additional Standard Web Server Controls: In ASP.NET 1.1, wizards were implemented using either multiple pages with plenty of duplicate, boiler-plate code (as in Figure 4.8), or within a single page with numerous Panel controls, or by dynamically adding user controls to a sing...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles