RadGrid codeless hierarchy support with LinqDataSource Tuesday, January 15, 2008 by Vladimir Enchev | Comments 2 Email to a friend I'm pleased to announce that the latest versions of RadGrid ("Classic" & "Prometheus") will support hierarchy using LinqDataSource completely codeless: Small example can be found here: http://blogs.telerik.com/files/RadGridHierarchyLinq.zip Enjoy! Vladimir Enchev, Senior Technical Architect Email to a friend 2 Comments Shane Milton 31 Jan 2008 I'd LOVE to see more examples of some of Telerik's products being used with all of the new Microsoft TLAs! WPF, WCF, WF, LINQ, etc. Keep it up with support for the new! :) scott mac 06 May 2008 This is a very useful example for us trying to go full linq. I tried modifying this sample to allow inserts, updates, and deletes at both levels, and they work except for the insert. I added the two required insert parameters, and hooked the where i extracted the parent key ID and stuffed it into the DefautValue of the insert parameters collection. It's even present when i hook the OnInserting event of linqdatasource2. But when the operation occurs, i get a FK constraint error. When i dump/log the datacontext to see the actual SQL, the parentID is being set to zero. Any hints, or a clear example with child table updates would be swell....thx... Comments Comment Apply CSS Class RadEditor hidden textarea RadEditor - please enable JavaScript to use the rich text editor. Name Click to add Email Click to add (optional, emails won't be shown on public pages) Your URL Click to add (optional) Read more articles by Vladimir Enchev - or - read latest articles in Developer Tools
Shane Milton 31 Jan 2008 I'd LOVE to see more examples of some of Telerik's products being used with all of the new Microsoft TLAs! WPF, WCF, WF, LINQ, etc. Keep it up with support for the new! :)
scott mac 06 May 2008 This is a very useful example for us trying to go full linq. I tried modifying this sample to allow inserts, updates, and deletes at both levels, and they work except for the insert. I added the two required insert parameters, and hooked the where i extracted the parent key ID and stuffed it into the DefautValue of the insert parameters collection. It's even present when i hook the OnInserting event of linqdatasource2. But when the operation occurs, i get a FK constraint error. When i dump/log the datacontext to see the actual SQL, the parentID is being set to zero. Any hints, or a clear example with child table updates would be swell....thx...