iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
I’ve spent one complete day to find the cause of this nasty bug.
I’ve a GRID, with option of AllowBatchUpdate="True"
So I had a problem, when I was updating the batch and sending it to the server it was throwing an error message unhandled error null object….etc
And this is the only grid have that error, the rest were ok updating the batch.
After spending good time to find out what is wrong, here is the error root cause:
I had this column definition:
<ISWebGrid:WebGridColumn Caption="Discount" DataMember="PromotionDiscount"
Name="Discount"Width="70px"DataType="System.Decimal">
<HeaderStyleCursor="Hand"Font-Italic="True"Font-Underline="True"HorizontalAlign="Center"/>
</ISWebGrid:WebGridColumn>
So as you can see, the DataMember = “PromotionDiscount” while the Name=”Discount” and that for some reason causing a problem to the batch update, they have to be exactly the same, and when I changed it to:
Name="PromotionDiscount"Width="70px"DataType="System.Decimal">
It worked fine!
I guess your developers instead of reading the DataMember field to set and read from the datasource, they used the Name field instead!!
That doesn't happen when we don't use the batch update!! I mean go normal and update the data instantly.
My work around fix the issue by renaming the name to match the DataMember, but other people may not be able to find that fix!
Thanks,
Maged
I was able to replicate the issue and have forwarded this issue to WebGrid development team.
A work item, work item #822, has been submitted to WebGrid dev team regarding this issue. I’ll keep you updated with any news I heard from the team regarding this work item number.
I’d like inform you about the status of work item #822.
WebGrid development team has managed to get the issue resolved in WebGrid 7. I have tested the nightly build of the hotfix and found that the issue no longer persists.
Should you need to have the nightly build hotfix to be tested on your local end, please let us know.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname