skip to content »

inbasys.ru

Linqdatasource not updating

linqdatasource not updating-43

Rad Grid provides an API for inserting new data, updating existing data and deleting data from the specified data source.You can use these features while writing very little code.

For a live example that demonstrates automatic data source operations, see Automatic operations.I can demo this problem via Web Ex to illustrate exactly what the issues are.Actually here is the download link for the screen cast: Long37/folders/Dev Express/media/01946741-5ea3-4b3f-947f-1d5ecc6ecaee/ASPx Grid View-Linq-Issues.avi?I hope we would find the core of the problem in your scenario. But it works via postbacks while our ASPx Grid View uses callbacks.As I said before, the View State of the Linq Data Source cannot be updated on callbacks so it causes the validation error.download Only=true Hi Long, I've found a more general solution, and I believe it should help you.1. If you can't yet reproduce this issue, please let me know.

Store Original Values In View State="false" is necessary to disable generation of a huge View State.2. This problem is very complex, and I think that it has been already solved in the following thread: "Row not found or changed" message after updating data using edit template and a linq data source.

I've uploaded the same VS Solution with an added page: "ASPNet-Grid View-Linq Data Source.aspx". Net Grid View with a Linq Data Source and it works fine.

I think we could be spinning our wheels and trying to find an issue with LINQ and that might now be where the problem really is?

Im using a LINQData Source to populate a Grid View of Universities.

Each University has an associated State, which is in another table and associated by a foreign key (State ID).

(Typo correction from reply above)I've uploaded the same VS Solution with an added page: "ASPNet-Grid View-Linq Data Source.aspx". Net Grid View with a Linq Data Source and it works fine.