I have a grid bound to a table with three columns, the first being the identity column. All three columns are visible in grid. I am using the webgrid designer to generate SQL CRUD and enable adding/deleting/updating. Its all working fine.
I also have AJAX enabled. When I add a new row, the identity column in the grid is not being filled in with the SQL Server generated value. How do I get that value to populate in the grid?
If I disable Ajax or if I click on another button that causes postback, then the ID value gets filled in the grid... but I'd like to have that value filled immediately after an add with ajax enabled. Is it possible with ajax enabled to have just add row do a full page postback?
Thanks for the help.
See:
http://forums.infragistics.com/forums/p/19848/71793.aspx#71793z
The main reason I wanted to do a postback after add row while ajax was enabled was so edit and delete on the new row would work.
I've posted a sample solution to this on another thread: http://forums.infragistics.com/forums/p/19848/72433.aspx#72433