Traverseing ralationships...

Posts   
 
    
hlesesne avatar
hlesesne
User
Posts: 47
Joined: 22-Jul-2004
# Posted on: 13-Dec-2004 22:58:08   

[Sorry about the misspelling in the subject line - posting before preview is never a good idea :-)]

I know that Infragistics does this (amoung others), but I was wondering if anyone has had any luck using LLBLGen to generate classes then binding those classes to a datagrid and having it traverse the relationships automatically. (Generating bands, etc)

I have been working to develop a datagrid inherited control to do just that, but don't know enough about the whole databinding process to figure out how to follow the relationships from within the datagrid, without necessarily knowing the entity/collectiontype or that it is in fact an LLBL Base.

If anyone could point me the direction of some good databinding resources, I would really appreaciate it and would be glad to share the code when (if ever) complete...

Thanks,

Hal

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 14-Dec-2004 12:25:24   

You mean with the .NET datagrid? Doesn't that grid have a property which allows/disallowes hierarchies? (it's on by default if I'm not mistaken)

Frans Bouma | Lead developer LLBLGen Pro
hlesesne avatar
hlesesne
User
Posts: 47
Joined: 22-Jul-2004
# Posted on: 14-Dec-2004 16:18:05   

Right - sorry I didn't specify... This would be the WebControl datagrid, not the windows.forms datagrid... As near as I can find, I haven't found native ability for the WebControl datagrid to fold or band on the relations...

Thanks for the response - as always...

Hal

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 16-Dec-2004 21:29:14   

hlesesne wrote:

Right - sorry I didn't specify... This would be the WebControl datagrid, not the windows.forms datagrid... As near as I can find, I haven't found native ability for the WebControl datagrid to fold or band on the relations...

Thanks for the response - as always...

Hal

Just wanted to chime in.. I have mour trouble PREVENTING Infragistics webgrid from traversing the relationships than I do trying to get it to work. It should work for you without any problems as long as the data is loaded into memory.