private void AddFields(UltraTreeNode node, Field field, int depth) {
ConfigureFieldNode(node.Nodes.Add(), field);
}
{
string parentName = "";
parentName = parentField.Name;
node.Cells["Selected"].Value = false;
node.Cells["Name"].Tag = parentField; // Just needed a spot to store this.
node.Cells["DataType"].Tag = referring; // Just needed a spot to store this.
node.Cells["CascadeAdd"].Value = false;
node.Cells["Name"].Appearance.FontData.Bold = DefaultableBoolean.True;
node.Cells["CascadeAdd"].Value = null;
node.Tag = record;
//
// If we have a child referring table, we need to set its visibility.
// We always show the referring tables for the main record.
node.Visible = showChildReferringRecords;
node.Cells["DataType"].Value = field.DataType.ToString();
node.Tag = field;
Hi,
It's pretty hard to tell anything from a code snippet like this.
My first suggestion would be that you set teh IDE to break on all run-time exceptions. A common cause of performance issues is that exceptions are being hit and caught. Turning on all exceptions will show you if any exceptions are occurring and might provide some hint as to why they are occurring and how to get around them.
If that doesnt' help, see if you can reproduce the issue in a small sample project and Submit an incident to Infragistics Developer Support so they can see what's taking so long.
No exceptions are occuring with either the 2005 or 2008 code. I've been tryign to upgrade to your latest controls for years, but there is always some sort of critical failure with your new stuff that prevents an upgrade. :(