After data is entered and I press the enter key, the page does a postback and the record is not saved to the grid or the database.
<ig:RowAdding> <ColumnSettings> <ig:RowAddingColumnSetting ColumnKey="Row_ID" ReadOnly="True" /> <ig:RowAddingColumnSetting ColumnKey="Row_ID_Hyperlink" ReadOnly="True" /> <ig:RowAddingColumnSetting ColumnKey="Member_ID" /> <ig:RowAddingColumnSetting ColumnKey="Member_Name_LF" ReadOnly="True" /> <ig:RowAddingColumnSetting ColumnKey="DOS" /> <ig:RowAddingColumnSetting ColumnKey="BMI" /> <ig:RowAddingColumnSetting ColumnKey="Percentile_Flag" /> <ig:RowAddingColumnSetting ColumnKey="Weight_in_Lbs" /> <ig:RowAddingColumnSetting ColumnKey="Approved_Flag" /> <ig:RowAddingColumnSetting ColumnKey="Documentation_Scanned_Flag" /> <ig:RowAddingColumnSetting ColumnKey="Comment" /> </ColumnSettings> <EditModeActions EnableOnActive="True" EnableOnKeyPress="True" /></ig:RowAdding>
Hello Angela,
I want to point out that BatchUpdating is used for reducing the postbacks. So if you have BatchUpdating set to True you will need to trigger manually a postback which in the background OnRowUpdating event you will be able to refer to the modified data and respectively update your dataSource with the new one.
Before you take action please refer to the links that I've provided.
If you have further questions, please let me know.
Best regardsAleksandar KamenovAssociate Software Developer.
It seems to be tied to BatchUpdating being set to true. When it's set to false, the new record is added successfully, but when it's set to true, pressing enter causes a postback and the record is not saved.
I was hoping it would be this simple, but unfortunately that doesn't seem to make a difference.
Could you please try to set to <ig:RowAdding Enabled="true">
I'm looking forward your reply.