This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am just beginning to look at Lightspeed, having previously looked at EntitySpaces, so I am just try to check out some common scenarios. One area which I can't seem to find in the documentation, or in this forum, is working with grids. In particular, our application relies heavily on Infragistics UltraWinGrids. Has anyone connected an entity created in Lightspeed to a similar grid, in such a way, that we can still perform the normal CRUD operations? I would be interested in seeing some simple code that I can reproduce to test this option. Many thanks
|
|
|
Well. it's been 5 days since my previous post asking if anyone had used a LightSpeed Entity with a grid, in particular an Infragistics grid, and until now there has not been a single reply. As I am sure I am not the only person using grids in my applications, therefore, this leads me to assume that Lightspeed is not good with grids. This view is reinforced by my earlier observation that there is no information regarding grids in the Lightspeed documentation. I would love to hear from anyone, with information to confirm or disprove my thoughts. |
|
|
Hi Mark, My apologies for the slack response time on this. Personally, we at Mindscape do not use grids very much - we often just build what we need to rather than using them. I was hoping somebody may have 2 cents to add but obviously not! There is no reason why a grid would not work just fine with LightSpeed. We implement most of the binding interfaces that are standard to .NET and they are supported by most grids. I do know we have several customers successfully using various grids with LightSpeed as they have occassionally asked questions about specific use cases but in no circumstances did they state they could not use LightSpeed (actually, there was an issue with a Telerik ASP.NET MVC Grid but that was more related to the fact that they only supported their own OpenAccess ORM for a while. I believe this has since been resolved as it caused frustrations for users). I personally have never used the Infragistics components to be able to conclusively answer your questions. As LightSpeed does automatically handle things like Lazy Loading, walking associations, etc then you should not run into any issues loading data to view (for example, in the Entity Framework if you lazy loaded without first making a specific call, it would blow up. We don't do such things). Updating data is fine as well, as long as you have a mechanism for storing the identity somewhere. In the brief experiments I have done with even the Microsoft DataGrids, they support this use case so you should be fine on that front. Deleting is no issue if you have the Id. LightSpeed supports the IDataErrorInfo interface on all entities which means that as long as the data grid uses standard .NET validation capabilities then you will also get notified about any errors that are encountered when persisting data. So - long answer, I'm not 100% sure but I'm willing to bet you will be fine - short answer would be to give it a quick whirl. Apologies again for the very slow response - if you do experiment with the infragistics grid and post your experiences or require some help then please post again and we will make sure we get back to you more promptly in future! John-Daniel Trask |
|