Information générale
Catégorie:
The Mere Mortals .NET Framework
Kevin,
> Try out the latest version and let me know if anything changes.
First, thanks for your quick responses.
I still have the same problem, get the same message. I've done some playing around and comparisons. I tried setting up a delete button in the datagrid and used the code from the "Jump Start: Web Form App... C# : Step 15". And it worked with no problems. So tracing and comparing (datagrid vs button on the details page), I found that the difference and problem originates in the StateChangeHandler method. The mmDatagrid's StateChangeHandler method doesn't include a case option for "mmBusinessState.Deleted" as the mmTextBox does. That is the difference, but things go wrong for me because even though the mmTextBox's has the case option for deleted (which has no code to be executed), the case option for bind "mmBusinessState.Bind" is what gets executed. This option executes the OnDataBind method, which is where things fail for me.
Any ideas? I really needing to get past this and get into my bigger projects, with the framework.
I could call a stored procedure via the business object, rather than its delete method. But I know I would be sacrificing a lot of great functionality. Any other suggestions?
Thanks,
Carter
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement