User Profile & Activity

Juliet Obsteins Member
Posted: September 15, 2009 2:45 PM

Hierarchical="true"

and

HierarchicalMode="LoadOnDemand"

Posted: September 15, 2009 11:17 AM

Yes, I realized a while ago that I could get this working using classic binding.  But, I can not get child tables to work under this scenario.  When I define WebGrid.IObjectRelations the same way as DataSource.IObjectRelations in my business class the grid binds and loads the root table without error but does not give me the '+' to expand child rows.  Only if I RetrieveHierchicalStructure at runtime does it provide them.  This is not practical for my solution as I have too many column changes and format conditions to then apply at runtime.  I want to define my columns at design time.  Can you provide me an example of Self-Referencing Load-On-Demand using Custom Business Objects that also has child tables and does not RetrieveHierarchicalStructure at runtime.

 

Posted: September 14, 2009 10:29 AM

After waiting 24hours to find that I can no longer post to TDN - instead of being notified in the automated reply to my posting - I then waited another 24 hours for your response to my post in the new forum - only to find you didn't read my post closely enough.

Once again

If you modify the GetEmployees method - not the GetEmployeesBy method - to SELECT * FROM EMPLOYEES WHERE ReportsTo IS NULL the sample no longer works.

How can you fix this?

 

All times are GMT -5. The time now is 4:42 PM.
Previous Next