Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmButtonNew
Message
 
To
24/12/2009 09:54:07
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
01440219
Message ID:
01442093
Views:
45
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
Previous
Reply
Map
View

Click here to load this message in the networking platform