StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Infragistics ultrawebgrid and SF...Expand / Collapse
Author
Message
Posted 01/30/2008 10:46:58 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 1:41:01 PM
Posts: 61, Visits: 1,188
Can somebody please let me know how to set an Infragistics webgrid as a Hierarchical grid using two BusinessBindingSource controls? (for example Customers and Orders).

Thanks

Post #13842
Posted 01/30/2008 12:22:54 PM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 1:41:01 PM
Posts: 61, Visits: 1,188
Well, I figured it out thanks to this post: http://forum.strataframe.net/Topic2965-7-1.aspx?Highlight=master+detail

And this was the answer I needed: (I am copying and pasting the example.)

Dim ds As New DataSet
Me.CalcClientBO.FillAll()
Me.ClientInfoBO.FillAll()

ds.Tables.Add(CalcClientBO.CurrentDataTable)
ds.Tables.Add(ClientInfoBO.CurrentDataTable)
ds.Relations.Add(
"ListRelation", ds.Tables(0).Columns("ClientKey"), ds.Tables(1).Columns("ClientKey"), False)

grdList.DataSource = ds.Tables(0)
grdList.LevelTree.Nodes.Add(
"ListRelation", gvListDtl)
grdList.RefreshDataSource()

Initially I didn't find it , because I was looking for webgrid and infragistics posts, and this was in the Winforms posts and related to devexpress, but the problem was the same.

Thanks

Hugo

Post #13845
Posted 01/31/2008 9:35:32 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Glad you found an answer


www.bungie.net
Post #13861
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:39am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.