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 6807913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:53:28+00:00 2026-05-26T19:53:28+00:00

I have a part of code which analyzes a list with checked nodes ID’s,

  • 0

I have a part of code which analyzes a list with checked nodes ID’s, and checks into the a TreeList existing ID’s. (I’m using a XtraTreeList control)

I want to calculate amount for each checked node, and I just though to make this when the node is checked.

Is there any event which observes that a node from TreeList was checked from code (programmatic)?

Cause if I check/uncheck a node with the mouse, or with the keyboard BeforeCheckNode and AfterCheckNode events takes Fire, but when i check the node from code – they don’t fires.

foreach (TreeListNode item in tln) {
    var nodeID = (this.tlServices.GetDataRecordByNode(item) as __ServiceInfo).ID;
    if (svc.Select(value => value.Model.service.id).Contains(nodeID)) {
        item.Checked = true;
    }
    else if (item.HasChildren) {
        this.FindNode(item.Nodes, svc);
    }
}
  • 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-26T19:53:28+00:00Added an answer on May 26, 2026 at 7:53 pm

    You can use the TreeList.NodeChanged event:

    void treeList1_NodeChanged(object sender, NodeChangedEventArgs e) {
        if(e.ChangeType == NodeChangeTypeEnum.CheckedState) { 
            // do something
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class, which is part of a code library project that was
I have the following code, which is run every 10ms as part of a
We have this anonymous function in our code, which is part of the jQuery's
In an MSVC C++ program I have a part of code which I want
I have the following code which is a part of my digital clock: library
I have the following code which is part of unit testing for serialization support
If you have JS code which is intended to run as part of loading/building
I have this code which applies a counter to each item on the list.
I have the following code which works as expected: #include <iostream> using namespace std;
I am working in VS2005, I have a part of freeimage source code. I

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.