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

  • SEARCH
  • Home
  • 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 6344653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:40:59+00:00 2026-05-24T20:40:59+00:00

There is this Telerik’s RadTreeView (Silverlight Version) control I’d like to extend (inherit from).

  • 0

There is this Telerik’s RadTreeView (Silverlight Version) control I’d like to extend (inherit from).
Let’s call the new control MyTreeView.

The thing I’d like to achieve is that when an item is checked in MyTreeView, it will automatically check all its children items. Also, if after checking the node its parent has all its children checked, I’d like to check the parent too. That would go recursively throughout the tree up to the root. I seem to be unable to find this feature by default.

I don’t need a solution for the recursive algorithm that would check the items, I can manage that easily myself. What I see as a problem is the fact that a user can subscribe on the Checked and Unchecked events. So if a user has subscribed to a Checked event, whenever an item is checked all its children will be checked, thus raising an event for each children node that was automatically checked as a consequence of checking its parent. In my scenario, this is not a desirable behaviour. I want the event to fire only for the manually checked item, not for any other node that will be automatically checked as a consequence.

I thought I could override the OnChecked method but it is either private or there is no such a method, so I have no access to it. I could add another event handler to the Checked event in a constructor, that would be called before any other event handlers subscribed to an event, but that does not prevent the children nodes from raising the event. I would like to be able to unsubscribe the handlers on the Checked temporarily, then resubscribe them again after checking the nodes. However, since I don’t know who is subscribed to an event, I can’t unsubscribe them manually (the event is public) and I don’t seem to be able to get the invocation list.

Is there a way to iterate through the subscribed events or any other ways to turn them off temporarily? Is there any better approach to the problem described?

  • 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-05-24T20:41:00+00:00Added an answer on May 24, 2026 at 8:41 pm

    There is a RadTreeViewCheckEventArgs.IsUserInitiated property that you can use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There's this Excel file I want users to be able to download from my
I got this project, where there this error keeps occurring and its not on
There is this example code, but then it starts talking about millisecond / nanosecond
There's this program, pdftotext, that can convert a pdf file to a text file.
There is this option available in Visual Studio 2008. Is there a similar option
Before I start, I know there is this post and it doesn't answer my
I listen to the podcast java posse, on this there is often discussion about
I think in this case there is no need to declare a public constructor
I'm sure there are a million posts about this out there, but surprisingly I'm
http://developer.yahoo.com/javascript/howto-proxy.html Are there disadvantages to this technique? The advantage is obvious, that you can

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.