473,700 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP Wizard Steps

Hi all,

How can I keep track of which wizard steps have been navigated to and
completed, as well as how far down the wizard the user has navigated, ie I
want to knw that he has been as far as step 5 and not step six. I gather
this would be esiest by keeping a flag on the wizard.

Thanks
Robert

Mar 21 '08 #1
1 1554
On Mar 21, 7:25*am, "Robert Bravery" <m...@u.comwrot e:
Hi all,

How can I keep track of which wizard steps have been navigated to and
completed, as well as how far down the wizard the user has navigated, ie I
want to knw that he has been as far as step 5 and not step six. I gather
this would be esiest by keeping a flag on the wizard.

Thanks
Robert
Hi,

You could keep a bool array where each entry represent a completed
step.

Additionally if the steps needs to be completed in sequence you can
keep only the last one.

Ignacio Machin ( .NET/ C# MVP )
machin TA laceupsolutions .com
Mar 21 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2065
by: Bill Gauvey | last post by:
I have a wizard control on a page with the first two setps are static, created in the VS2005 UI; the remaining steps are created dynammically. For some reason I cant get it to retain in the viewstate. In the Page_Init I create the wizard steps. There will be 17 steps in all. protected void Page_Init(object sender, EventArgs e) { if (!IsPostBack) {
1
1680
by: rdlauer | last post by:
Two (hopefully) quick questions for you all: 1. Is there any way within a Wizard Step to programmatically determine whether or not a postback has occurred? It appears as though, after the first step, you are always posting back (which makes sense). However, there are plenty of times when you would want to only execute code if the Wizard Step is being loaded for the first time. I'm getting around this by using some hidden fields, but...
12
2593
by: raghav | last post by:
Hi I am working on ASP.NET 2.0. I am developing a website using Wizard control. Based on number of steps added, next, previous, finish buttons generate automatically. After running the application, these button work automatically, means we can go to next step, previous step by clicking on corresponding buttons. In my application I have 3 steps. On Next button click of step 1, I want two things to happen. One is inserting data of step 1 in...
5
21777
by: Nick Gilbert | last post by:
Hi, I'm using the asp:Wizard control and on some of the steps, I would only like the user to be able to progess to the next step by clicking an image button. Therefore I would like to be able to hide the Next button on these steps. Is there any way to do this? I know you can convert the navigation to a template, but this is a
1
2306
by: Nightcrawler | last post by:
I am using a Wizard control with 5 steps. On step 2 the user is present with a radiobuttonlist with two listitems in it. If the first radiobutton is selected I want to take the user to step 3, if the second is selected I want to take the user to step 4. I have the OnActiveStepEvent that fires on every step and the code looks like this: if (Wizard.ActiveStepIndex == 2) { switch (RadioButtonList.SelectedValue)
1
1672
by: =?Utf-8?B?QU5lZWxpbWE=?= | last post by:
I am using the asp.net 2.0 wizard with 5 steps and would like to do the following: Load a different .ascx (control) into each of the 5 steps I can load them fine but I notice that every time I navigate between steps, the entire UI 'flickers'. By debugging the problem, I noticed that the page_load event for each of the controls is called each time I click 'Next' or 'Previous' in the wizard
0
1467
by: Larry R | last post by:
I have a wizard control that has a varying number of steps. Each step utilizes different custom business objects and populates values. The steps are partially determined at the beginning of the wizard. Imagine a reporting wizard where you grab all of the parameters for a report. So, each of the steps are in a separate user control. The user control loads the appropriate objects from session controlled by properties on the control...
3
6872
by: M. Ali Qureshi | last post by:
Hi, I have a wizard in my aspx page, and i create steps programatically. There are about 8 steps in all. The default text for StepNextButton is "Next". But i want that only in step 4, the next button text should be changed to something else. For example, "Continue to step 5". Is it possible? Here is my code for generating steps: ============================== Protected Sub HitRaterWiz_Init(ByVal sender As Object, ByVal e As
0
1257
by: Junior | last post by:
I need to learn which pattern or some coding methodology I should use to repeat all of the steps when using a Wizard control. Each iteration of the Wizard has 10 steps each of which collects data. The Wizard maintains state in ViewState but there could easily be as many as 10 iterations required collecting data from 10 steps per iteration. What's a good way to collect the data while still making it accessible in the Wizard while the...
0
8641
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9203
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9060
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8958
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6557
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4650
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2379
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2021
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.