RadGrid codeless hierarchy support with LinqDataSource

by Vladimir Enchev | Comments 2
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!

,
Senior Technical Architect

2 Comments

Shane Milton
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
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

  1.    
      
      
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)
Read more articles by Vladimir Enchev - or - read latest articles in Developer Tools