Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New two New buttons
Message
 
To
10/07/2006 15:24:34
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01133963
Message ID:
01135195
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform