Browse DevX
Sign up for e-mail newsletters from DevX


Whidbey's New Wizard Control Adds Navigational Power : Page 2

As Web applications get more complex, the need for multi-page forms has increased as well. Unfortunately, handling multi-page form data and page navigation in a stateless Web application is particularly demanding. To simplify the process, Microsoft has added built-in multi-page form capability to ASP.NET in the Visual Studio "Whidbey" release. Find out how to give Wizard power to your Web applications.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Add Template Definitions
The HeaderTemplate, StartNavigationTemplate, FinishNavigationTemplate, SideBarTemplate, and StepNavigationTemplate help you configure the Header, Start, Finish, Sidebar, and intermediate steps of the Wizard respectively. You add these templates within the section. The HeaderTemplate is the simplest. To use it, add the HeaderTemplate definition shown in Listing 2.

Listing 2 contains nothing remarkable, just HTML declarations for a table with header text and an image. The header content will appear on each screen except the screen where steptype is Complete. Figure 6 shows how adding a header template changes the Start screen display. Remember to copy any image files to the image folder for your project, which you'll find under the root folder.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date