Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmUltraWebGrid AddRowBatch event only called once.
Message
From
18/04/2007 21:06:12
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmUltraWebGrid AddRowBatch event only called once.
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01217568
Message ID:
01217568
Views:
81
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
Next
Reply
Map
View

Click here to load this message in the networking platform