Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8210497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:05:19+00:00 2026-06-07T10:05:19+00:00

As can be seen in the SimpleMDI Caliburn Micro project there are some conventions

  • 0

As can be seen in the SimpleMDI Caliburn Micro project there are some conventions that bind the selectionEvent in tabControls to the ActivateItem in a Conductor. I can’t really see any mention of what this event might be.

However when you have a control that doesn’t fullfill these convention I’m lost on how to manage them myself.

I have a Telerik RadTreeView that I want to manage with a conductor to be able to load on demand the childs of nodes (via WCF call).

Here is where I am at:

<telerik:RadTreeView x:Name="Items"
                     cal:Message.Attach="[Event Selected] = [ActivateItem($dataContext)]"  />

Passing $dataContext is wrong because that way he passes the Conductor itself, $SelectedItem returns null.

So my rather simple question is threefold.

1) If RadTreeView is a Selecetor why doesn’t the basic CM convention work with it,

2) What event should I use to call ActiveItem

3) What could I pass in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:05:21+00:00Added an answer on June 7, 2026 at 10:05 am

    This might help understand the different approaches to doing treeviews and mvvm.

    I was using the RadTreeView also and I ended up sending the events to the ViewModel that hosted the Items collection of TreeViewItemViewModel. When an action/event, for example, Edit, was sent to the MainViewModel, I had a method like:

     public void Edited(object sender, RadTreeViewItemEditedEventArgs e)
            {
                var treeViewItemViewModel = e.NewValue as IEditable;
                if (treeViewItemViewModel == null) return;
    
                treeViewItemViewModel.EndEdit();
            }
    

    So this worked at any level in the tree and also worked for having different behaviors, checking to see if the interface for different things was implemented.

    xaml for the RadTreeView

     <telerik:RadTreeView x:Name="MyTree"
                                         Grid.Row="1"
                                         Margin="0,20,0,0"
                                         VerticalAlignment="Stretch"
                                         FontSize="16"
                                         FontFamily="{StaticResource MainFontFamily}"
                                         ItemsSource="{Binding Children, Mode=TwoWay}"
                                         ItemTemplate="{StaticResource HierarchicalDataTemplate}"
                                         ItemEditTemplateSelector="{StaticResource ItemEditTemplateSelector}"
                                         ItemEditTemplate="{x:Null}"
                                         IsLoadOnDemandEnabled="True"
                                         IsEditable="True"
                                         IsDragDropEnabled="True"
                                         DropExpandDelay="00:00:01"
                                         telerik:TextSearch.TextPath="ItemId"
                                         PathSeparator="|"
                                         cal:Message.Attach="
                                        [Event LoadOnDemand] = [Action LoadOnDemand($eventArgs)];
                                        [Event PreviewDragStarted] = [Action PreviewDragStarted($source,$eventArgs)];
                                        [Event PreviewDragEnded] = [Action PreviewDragEnded($source,$eventArgs)];
                                        [Event DragEnded] = [Action DragEnded($source,$eventArgs)];
                                        [Event Edited] = [Action Edited($source,$eventArgs)];
                                        [Event EditCanceled] = [Action EditCanceled($source,$eventArgs)]"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a jQuery animation that can be seen by clicking the Preview
I have created a drop down with jQuery that can be seen here by
I'm trying to programmatically recreate the indented button look that can be seen on
How do you precompile WCF code so that the WCF code can't be seen
Active site can be seen here: http://www.studioimbrue.com/index2.php There are currently two small problems with
The problem that I am facing at the moment as can be seen in
I have created #define statement in project's pch file so it can be seen
I like the navigation that can be seen here: But I don't know how
Is there any way in which it can be seen the type of the
The link to the content can be seen here: http://bit.ly/K6jRGI The issue is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.