I tryed to add radwindows to my layoutroot, this case a grid, then i tryed to go throw the childrens of layoutroot to store the radwindows that exist... but i don't find any of my radwindows in layoutroot.children. i then tryed to get the parent of the radwindow as sonn as i add it... but is null, it wasnn't no parent..
is this a bug?
here some code
is this a bug?
here some code
RadWindow
window = new RadWindow();
window.Header =
"Janela";
window.Height = 500;
window.Width = 500;
window.WindowStartupLocation =
WindowStartupLocation.CenterParent;
window.WindowAnimation =
WindowAnimation.OnShow;
gs =
new grid(_boxUrl, cbs_codcorpo.Text.ToString(), "janela");
window.Content = gs;
window.Header =
"Bombeiros";
LayoutRoot.Children.Add(window);
LayoutRoot.UpdateLayout();
window.Show();
string pai = window.Parent.ToString();
this string pai is null.. and ain other places when i try to find in a cycle on layoutroot, i don't find radwindow either...
If any one can help me on this one..
thanks alot in advance
Rui