I have a bound data set from the code behind (AutoGenerateBands is False in the WHDG) and on the WHDG's last column in the .aspx I have added
<ig:UnboundCheckBoxField key="Check" Width="16" VisibleIndex="9" Hidden="false" HeaderChecked="true"/>
"Check" is NOT part of the DataSet. The CheckBox does show but if you try and check any of them in any of the rows, you will get a dynamic error in $IG.HashTree.prototype, "Rows must have unique DataKeys. This key appears more than once: " + dataKey;
This unbound column "Check" is clearly not the unique key for the row but there is a unique key for the row in another hidden column that is indeed unique. Not sure why this error is happening? We are using version 11.1.20111.2036 in VS2010.
Hi jdynmond,
Does this still happen if you get rid of the unbound checkbox? Do you have a DataKeyFields property set? If yes and yes, do you think you could attach a small sample reproducing this? You could also try upgrading to the latest 11.1 SR to see if that resolves the issue.
regards,David Young
It does not happen once it has been removed. yes the DataKeyFields property has been set. With that, is there any documentation on the key, DataMember, and DataKeyFields? This way I can have a better understanding of them to ensure our WHDG is set up correctly. I changed that unbound column to a BoundCheckBoxField and that seems to work out better for me. Thanks.