Perhaps we are missing something very obvious...
We are using a RadGrid (Telerik Grid) with the LLBLGenProDataSource2 control.
Select is working (grid displays the table). Insert is working (using inline edit of RadGrid, the Insert is working automatically as expected with no surprises). However Update is not working.
No columns are being updated and when enabling SQL trace, there does not appear to be any UPDATE attempt to the DB.
The Grid's UpdateCommand event does fire, and the datasource update parameters collection is empty (I have not set this collection, however I did not need to do this when inserting either. I have also tried adding parameters for a few columns and this did not update either).
I have tried changing the cache location from viewstate to session etc.
How can we get the datasource to update automatically (SELECT and INSERT are working great!)?
Do we have to construct an Entity in the update command and update manually? We have not tried this yet because this should be do-able automatically right?
What do you suggest to solve this update problem?
summary:
- using march 21 build llblgen
- using llblgenprodatasource2 with RadGrid (telerik grid)
- radgrid -> AllowAutomaticUpdates = true
- select works
- insert works
- don't use select/insert parameters because in this test it is working without.
- live persistence = true
- cache location viewstate and session
- SQL trace does not show an update attempt
- grid's update command does fire. (not doing any code here)
Thanks!