Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New two New buttons
Message
 
À
10/07/2006 15:24:34
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01133963
Message ID:
01135195
Vues:
20
>Following your suggestions didn't work, probably because I _am_ using VB. Any workaround?

There is a known bug with VB .NET not allowing you to wire up to inherited handler methods. However, you can add code. Check out the MM .NET Dev Guide topic "How do I create a handler for a inherited control in VB .NET?"...it's under Windows Forms FAQs.

>I had to create a whole new "new row with defaults" routine.
>Ah, well, better control over the application which is what I guess I want to do anyway. Right?
>
>Now that I got the Requisition form working with two buttons, I'm having problems with getting the items record created. Seems that using the "Business Layer Generator" didn't correctly initialize the fields. The fields have to be initialized somewhere, but I can't see where. Looks like I'll have to create a new "new row with defaults" routine with my line items and receiver rows as well.

We have a new 2.2 release headed your way soon that does a more when it comes to creating default values on new rows. If you are adding code manually, I recommend adding it to the same method the generator adds it...the HookSetDefaultValues() method.

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