Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadOnly BO's
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01223268
Message ID:
01225771
Vues:
21
>1] When I click into a grid the toolstrip does not correctly refresh itself. The first/next/prior/last buttons are not enabled/disabled properly based on the values of the current grid. Once I move to another row in that grid then the toolstrip works ok. Is there a way for me to refresh the ToolStrip?

You can call the form's NavigateData() method with the enum value mmNavigate.Refresh. For example:
this.NavigateData(mmNavigate.Refresh);
>2] Adds in the toolstrip also don't work as well.

Can you be more specific?

>3] How do I handle textboxes or other controls that are not in a grid? Do I need to put this code in each controls Enter and Leave Events?

What is it you want to handle with other controls?

>4] Is the "this.NavControl = this.grdParentBO1;" also required?

Yes, it is.

>To get all this to work with a common tool strip seems to be a bit of extra code is there a cleaner way to do this or is it better to not have a common toolstrip.

It's best to have a common toolstrip.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform