Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmUltraWebGrid AddRowBatch event only called once.
Message
De
18/04/2007 21:06:12
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmUltraWebGrid AddRowBatch event only called once.
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01217568
Message ID:
01217568
Vues:
80
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
Fil
Voir

Click here to load this message in the networking platform