Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in mmWizardForm
Message
De
18/04/2007 21:08:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Bug in mmWizardForm
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01217569
Message ID:
01217569
Vues:
73
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform