I have a page that loads severa RadWindows. It seems that when I focus one window and then re-focus the original window the Loaded event fires again. Is this the way it is meant to work? If it is I can live with it by coding round it but to me it just seems wrong.
Any pointers would be appreciated.
Cheers,
Simeon
Any pointers would be appreciated.
Cheers,
Simeon
6 Answers, 1 is accepted
0
Hello Simeon,
Unfortunately this was the only way we were able to implement the BringToFront functionality (the Silverlight Popup control doesn't support ZIndex and the only way to bring one popup in front of the others is to reopen it). We don't like this also, but we won't be able to fix it before the Canvas.ZIndex property start working.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Clint Singer
Top achievements
Rank 1
answered on 27 Feb 2010, 01:58 AM
Hi,
I have a usercontrol in the RadWindow and its loaded event also gets called everytime the window gains focus. I assume this is the same as the issue described below?
Cheers,
Clint
I have a usercontrol in the RadWindow and its loaded event also gets called everytime the window gains focus. I assume this is the same as the issue described below?
Cheers,
Clint
0
Hello Clint,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You are right - this is the same problem. The popup of the window is reopened every time when the window should bright itself to the front.
Greetings,Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
chen zili
Top achievements
Rank 1
answered on 21 Apr 2011, 03:57 AM
Solve RadWindow Loaded event will be redo when it BringToFront.
I user WindowView to replace RadWindow,and use ViewLoaded replace Loaded.
I user WindowView to replace RadWindow,and use ViewLoaded replace Loaded.
public class WindowView : RadWindow
{
/// <summary>
/// Solve RadWindwo Loaded event bug,subscribe to ViewLoaded Event will excute once
/// </summary>
public event RoutedEventHandler ViewLoaded
{
add
{
this._ViewLoaded = value;
this.Loaded += OnLoaded;
}
remove { }
}
private RoutedEventHandler _ViewLoaded;
private void OnLoaded(object sender, RoutedEventArgs e)
{
this._ViewLoaded.Invoke(sender, e);
this.Loaded -= OnLoaded;
}
}
0
cagdas ilhan
Top achievements
Rank 1
answered on 14 May 2012, 02:23 PM
Hi
did you solve this radwindow problem?
did you solve this radwindow problem?
0
abhinav
Top achievements
Rank 1
answered on 12 Jan 2015, 08:47 AM
Hi ,
This issue can be solved by taking a integer and setting = 1 in initialization
then check if =1 else increment it in Loaded
This issue can be solved by taking a integer and setting = 1 in initialization
then check if =1 else increment it in Loaded