This is a migrated thread and some comments may be shown as answers.

What event can I handed when radpane loaded

4 Answers 100 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 04 Aug 2014, 09:35 PM
I thought it would be something like the loaded event but that appears to not be the case.  Please advise, thanks.

public partial class Menu : RadPane
{
public Menu()
{
InitializeComponent();
DataContext = new MenuViewModel(mc);
Loaded += Menu_Loaded; //breakpoint here executes

}

void Menu_Loaded(object sender, RoutedEventArgs e)
{
Loaded -= Menu_Loaded; // never executes
((MenuViewModel)DataContext).ShowMenu();
}

protected override void OnLoaded(object sender, RoutedEventArgs e)
{
base.OnLoaded(sender, e); // never executes
((MenuViewModel)DataContext).ShowMenu();
}

}

4 Answers, 1 is accepted

Sort by
0
Keith
Top achievements
Rank 1
answered on 04 Aug 2014, 09:36 PM
Title should be "What event can I handle when radpane is loaded"
0
Accepted
Kalin
Telerik team
answered on 05 Aug 2014, 12:52 PM
Hi Keith,

You would be able to hook to the Loaded event of RadPane without a problem. Could you please share some more details about the exact issue you are facing?

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Keith
Top achievements
Rank 1
answered on 05 Aug 2014, 09:15 PM
Please see this question which is a better description of the problem thx
http://www.telerik.com/forums/how-to-programmatically-add-a-radpane-to-a-docking-control
0
Kalin
Telerik team
answered on 08 Aug 2014, 09:53 AM
Hello Keith,

I have already answered you in the other forum thread and will ask you to continue the conversation there.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Docking
Asked by
Keith
Top achievements
Rank 1
Answers by
Keith
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or