Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in mmWizardForm
Message
From
18/04/2007 21:08:04
Walter Nicholls
Cornerstone Software Ltd
Auckland, New Zealand
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Bug in mmWizardForm
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01217569
Message ID:
01217569
Views:
71
Hi kevin, just a quick thing I've noticed.

mmWizardForm.cs , CurrentStep set:
if (value == 1)
{
    this.btnPrevious.Enabled = false;
}
else if (value == this.WizardPages.Count)
{
    this.btnNext.Enabled = false;
    this.btnFinish.Enabled = true;
}
else
{
    this.btnPrevious.Enabled = true;
    this.btnNext.Enabled = true;
}
If on the last page (value == Count) then the 'previous' button is never enabled.

There are probably more issues here but this was an obvious case. Possible that it will only show up if the wizard has exactly two pages.

Since the wizard classes aren't really documented, I suspect you might not be quite ready to unleash them on the world. In particular, I've had to do something a bit hacky to enable multiple branches of wizard (ie the second or more pages depend on selection made in the first page).


Generally, we could do with a few more examples, of a more complete development effort. Is anything like that available/ can be made available? I feel like I'm thrashing around occasionally because the developer's guide only shows a few possibilities. Most of the time this is ok - it makes me think! - but sometimes that means a lot of time searching around for a small clue to how I might approach something.

Possible topics - well, wizards; separate list & edit forms; multiple forms sharing business objects.
Next
Reply
Map
View

Click here to load this message in the networking platform