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 all,
I have a webGrid 6.0 with LinqDataSource. It functions well for select, insert and updates.
Now I've added a RowCheck (IsRowChecker Column = True).
If I try to add a new row I got a Jscript error: "children.0.checked is null' but this new column isn't bound from datasource (see attachment).
Best regards
Nicola
In you are using a RowChecker column, you will need to use this RowValidate client side event handler:
function WebGrid1_OnRowValidate(rowObject){ if(rowObject.getAttribute('type') == "NewRow") { rowObject.childNodes[1].innerHTML = '<input class="DefChkBox" type="checkbox" rowchecker="1" hidefocus="hideFocus"/>'; } return true;}
Hi Glenn,
thanks for your reply.
I tryed your snippet, rowchecker is my first column of webgrid, but on add row I got an error (Null reference object, see image attached).
The null reference error seems to be caused by a WebGrid bug. A bug report has been submitted to our developer. We will inform you if there is any update or progress regarding this issue.
I have just been updated regarding this issue, the fix will be available on the next hotfix release.
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