hi, does binding an EntitySet to DevExpress ASPXGridView is allowed directly, or i need to do something to allow filling the grid from an EntitySet, also write to the EntitySet(ex: if i have an "Order", and its EntitySet property "OrderDetails") |
Some hints using ASPxGridView:
If you have any problems just ask, i have working application using ASPxGridView + DO4 v4.3. Thanks Peter,right now i am trying something similar to your idea: i am creating ArrayList of the type to be binded to the grid(just temp array), then I registered methods on grid events(Inserting, updating and deleting). i am trying to let the grid perform operations on an EntitySet of an Entity (the Details of master record) using reflection (as types are unknown till runtime). i have a question regarding handle inserting within grid RowInserting event here thanks again Thanks Peter, i used your solution (LinqServerModeDataSource) and it works You're welcome :-) |
Hello Ahmad,
Could you tell me, which version of DataObjects.Net you are using? I'm asking because in 4.4 beta 1 we've made significant changes in this subject.
Hi Dmitri, thanks for you replay, my version is V4.3.6(build 6965), so i think i should install version 4.4.1, but what is the changes?
There are tons of changes, actually. The release notes can be found here. I should mention that as 4.4 has dramatic changes, you should use the Project Upgrade Tool that will help you to convert 4.3 project to 4.4 one.
Concerning your question: 4.3 version provides binding of EntitySet to grids but you have to keep transaction open until UI form is closed, or you should use DisconnectedState component, while 4.4 provides special profile for Session (ClientProfile) which doesn't require all these tricks.
Hope that helps.
Hi Dmitri, could you please provide me with the name space which contain those changes, as i am unable to find them.
Ahmad, the changes are described in DataObjects.Net 4.4 beta 1 Release Notes, and the link points right there.
sorry for misunderstanding