I have on my application one Radtabcontrol with several RadTabItem as children.
Each RadTabItem has a set of StackPanel that in turn has several components like TextBox, TextBlock, etc.
The question is: The only items that are initialized are ones of currentTab and the others with excepion of TextBoxes. Why this error happens?
It follows an snippet of code:
this.Width = Utils.Current.Host.Content.ActualWidth - 100;
this.Height = Utils.Current.Host.Content.ActualHeight - 100;
Utils.ProgressBar(ref _semaphoreProgressBar, ref progressBar);
LayoutRoot.KeyUp += new System.Windows.Input.KeyEventHandler(Utils.LayoutRoot_KeyUp);
this.DataContext = new NFeValidator();
and the method LoadFields has the following structure:
textBoxName.Text = data.Name;
numericUpDownNumber.Value = data.Number;
Just remebering all the fields (textBoxName, numericupDownNumber are children of Stackpanels that are children of RadTabItem.
Do you know why this bug happen, or what to do to turn around it?