Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with New button
Message
 
To
21/07/2008 15:03:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01332870
Message ID:
01332933
Views:
10
Hi Tim,
I do have some code in the mmButtonNew click method. I have some code that needs to execute right after the new row is added that needs to reside in the form, so a hook method won't work. Where should I put that code? I think I have another form that has code in the click method that works correctly. Thanks.

>Hi Linda,
>
>>I have a business form that has multiple search criteria by which users can locate records and have them displayed in a grid. When the user goes to the detail tab, the currently selected row is displayed. At one time, the new button worked correctly. Now, when I press the New button, I do not get a new row. The only things I can think of that might have affected this are (1)that I decided to use the Business Layer Generator to generate stored procedures and (2) that I put some code in the DetailPage_Enter method to reset the values of a couple of combo boxes. Any idea what may be causing the problem? Thanks.
>
>Is this an mmButtonNew in the form you are talking about? You might want to verify you didn't inadvertantly double click it and cause a Click Event to be created for this button as I think that would break the MM behavior already in the button.
>Tim
Linda Harmes
HiBit Technologies, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform