Hello,
I use a WHDG bound to a self referenced SQL DataSource (like a simple table ID,ParentID, Name).I allowed editingcore & rowadding behaviours and set the EnableInheritance Property to True.
My problem is that i can't add row under records that have no child records.... As there's no children under those records, there's no row island and no more AddRow...
I assume that's a bug, because it works with a WHDG bound to 2 sqlDS like (Orders and OrderDetails).
Can someone help me ?
Hi gvi,
I attempted to replicate this on my end, but did not have any luck. Could you maybe send a small sample our way?
regards,David Young
Hi David,
Here's a sample.
Moreover if you could explain me how to set the default value of parentID to (null) for root creation record, it could be fine.
I hope that you'll help me, cause last time you asked me a sample, i uploaded it and i'll still waiting.So, please have a look to all my recents posts (since june) in the asp.net forums :)
Regards,
Gregory