General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
I got clarification from Kevin on this.
The problem is that the .NET GridView completely bypasses the business object when you use the feature that automatically adds a new row. It goes behind the scenes and adds a new row to the associated DataTable, so the business object is not notified and the new values can’t be added. I recommend adding a New button to the form (mmButtonNew) that adds a new entity to the business object instead—then all your default value behavior kicks in.
Thanks everyone.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only