Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not find where the Menu becomes disabled
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Could not find where the Menu becomes disabled
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01402579
Message ID:
01402579
Vues:
103
Hi everybody,

In my form I have only two places where I try to change Menu.Enabled property.

This is one

private void tcOrders_SelectedIndexChanged(object sender, EventArgs e)
{
this.SearchMenuItem.Enabled = (this.tcOrders.SelectedIndex == this.tcOrders.TabPages.IndexOf(tabSearch));

and another one in the form's Constructor where I set it to true. In design time it is set to true as well. Yet the form comes with this menu disabled and I could not find where does it change.

Do you have ideas how can I figure this out?

Thanks.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform