I am using WinForms Q2 2010 SP2 (v2010.2.10.0914)
I have a form with a gridview and a save button outside gridview. The gridview has a commandcell column with dynamically generated command buttons to open another form. When the row gets modified, click the save button will save the grid data into database.
If I modified the data and clicked the commandcell button, without leaving the row, then click the save button outside gridview. It will stop working. It seems that the dataset bounded to the grid donsn't get the row state changed to modified.
My work around is to force the row change by setting Radgridview1.CurrentRow to first or last row in the save button click event. Wonder if this is a known issue. Is there any better solution. My work around will fail if there is only one row in the grid.
Thanks.
I have a form with a gridview and a save button outside gridview. The gridview has a commandcell column with dynamically generated command buttons to open another form. When the row gets modified, click the save button will save the grid data into database.
If I modified the data and clicked the commandcell button, without leaving the row, then click the save button outside gridview. It will stop working. It seems that the dataset bounded to the grid donsn't get the row state changed to modified.
My work around is to force the row change by setting Radgridview1.CurrentRow to first or last row in the save button click event. Wonder if this is a known issue. Is there any better solution. My work around will fail if there is only one row in the grid.
Thanks.