Is it possible that RadModalWindow.WindowOpended event is fired to early?
Basically what I'm trying to do is navigate to an URL every time the window is opened. So I used WindowOpended event to do that. But I'm getting an exception: "You cannot call WebBrowser methods until it is in the visual tree.
Take a look at the following code:
sender, RoutedEventArgs e)
window.Content = browser;
sender, EventArgs e)
// always navigate to the same url when opening the window
Currently I have a workaround using a Timer that will fire after 250 ms and then call browser.Navigate(). That works fine. But it would be great if this will work without a timer.