Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
UltraWinGrid 2006.2
posted

Hello,
I'm having a problem with the UltraWinGrid 2006.2 version.  I would use the 2011.2 version that I have, however having both DLLs from each version in the project causes namespace ambiguity.  This problem doesn't exist for the .NET controls because the namespaces on the .NET dlls are typed with the version (ie: infragistics2.xxx and infragistics4.xxx).   So, I'm stuck with using this old version, as I don't want to have to update every single infragistics control in my win application. 

I've just started using your controls, however I thought I understood them pretty well.  I have an UltraWinGrid (2006.2 version) bound to a dataset.  The dataset has a relation set up in it.  However, there are no child bands displaying.  Can you please tell me why?  Also, can you please provide a link for the documentation on the 2006.2 version of the controls?  

The way I'm populating the two tables may not make complete sense, as you cannot see the code for the methods I'm calling, but I assure you the data is there.  I can write the dataset to XML and verify it.  Code is below:

Dim datViwProviders As DataView

datViwProviders = clsApplicationHelper.ProviderSearch.ProviderReimbursementSchedule.DefaultView
datViwProviders.RowFilter = "ProviderID = '" & _dr.ProviderID.ToString & "' "

datSetResults.Tables.Add(clsApplicationHelper.GetProviderAddresses(datViwProviders(0)(0).ToString()).Tables("ProviderAddresses").Copy())
datSetResults.Tables.Add(datViwProviders.ToTable("ProviderReimbursementScheduleAddress"))

'Add the data relations so the ultra grid will load the child band.
datSetResults.Relations.Add("ProviderAddresses_ProviderReimbursementScheduleAddress", _
New DataColumn() {datSetResults.Tables("ProviderAddresses").Columns("AddressID"), datSetResults.Tables("ProviderAddresses").Columns("AddressTypeID")}, _
New DataColumn() {datSetResults.Tables("ProviderReimbursementScheduleAddress").Columns("AddressID"), datSetResults.Tables("ProviderReimbursementScheduleAddress").Columns("AddressTypeID")}, False)

Me.ugResults.DataSource = datSetResults