Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmButtonNew
Message
 
À
24/12/2009 09:54:07
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
01440219
Message ID:
01442093
Vues:
44
Wayne,

>I actually tried to do this (adding the updated binding context position statement). But, at least using VB.NET, we get a compiler error as soon as we create the click event:
>
>"Handles clause requires a WithEvents variable defined in the containing type or one of its base types."
>
>
>So instead we tried to put the binding context statement in the grid view RowsAdded event instead. But something in the framework happens between the RowsAdded event and completing the internal handling of the button click because our manually updated position gets blown away by the time the event is over.

Did you see the MM .NET Help topic "How do I create a handler for a inherited control in VB.NET?" There is a bug in Visual Studio / VB .NET when creating a handler for an inherited user interface control.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform