Hi I am new to Infragistic contol.I went thru all the topics under the help for WinNavigationBar.I am not able to make any progress still
My requirement is I need to make three nodes using WinNaviigationBar.Under each node I need to bind 2 tables.I used a NavigtionBar to Bind Dataset
I created a dataset using 2 tables .But instaed of DataSet cann I use DataTable,Or how can i acheive my requirement?
For binding DataSet I used the code as below.By doing some modification can i get my requirement?Please let me know ..It is very urgent !!I am serching for this abot 1 week ,still no progress ,Please help me...
public partial class Form1 : Form
{
InitializeComponent();
}
this.addressBaseTableAdapter1.Fill(this.thunderCommerceDataSet1.AddressBase);
// Instantiate a location but don't set it yet.
// Loop through each row in the Customers table.
// Get an array of items for the current row.
// Create the location and set its key to the customer's name.
//int i;
//if (i<9)
//{
// i++;
//}
// location = new Infragistics.Win.Misc.UltraNavigationBarLocation(items[1].ToString());
// Add the location to the root of WinNavigationBar.
// Loop through all the data relations between
// the current row and it's children.
// Create an array of DataRows containing all the
// current row's child rows.
// Loop through the child rows and add them to
// the locations collection representing the
// current row.
// Get an array of items for the child row.
// Add the order number as the key of the child location.
location.Locations.Add(childItems[0].ToString());
// Disable the AfterNavigation event so it doesn't fire
// during the next line of code.
// Have NavigationToolbar navigate to the full path of
// the location that just changed.
// Reenable the AfterNavigation event so the end user
// can navigate with the Navigation toolbar.
(
if (result == DialogResult.Yes)
else if (result == DialogResult.No)
e.StayInEditMode = false;}}}}
Attached is a sample demonstrating how to populate the UltraNavigationBar from a data source, using the familiar Customers->Orders->OrderDetails example from the MS Northwind database. Your problem is similar to this one so hopefully this will be helpful.