Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmUltraWebGrid AddRowBatch event only called once.
Versions des environnements
Hi,
I have a form using mmUltraWebGrid. When I add multiple new rows then 'submit', the addrowbatch routine gets called once, then the updatecellbatch gets called multiples times (once for each new row). In contrast, using ultrawebgrid it behaves as expected: addrowbatch then updatecellbatch then addrowbatch then updatecellbatch etc. calling both for each new row. Since I'm only in addrowbatch once only the first new record gets a GUID, the rest are blank which causes a halt.
At this point the mmUltraWebGrid works fine for adding one row at a time.
I basically followed the 'mmUltraWebGrid | Updating in Batch Mode' sample code from the docs -- had to add 'handles event...' for the three routines and changed 2nd last line parameter from mmBusinessState.Bind to OakLeaf.MM.Main.Business.mmBusinessState.Bind.
I've tried with a couple different objects and forms, same results.
I'm using vb, mm hotfix 2.4 (Apr 17), and netadvantage 7.1
Any suggestions?
thanks,
Larry
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