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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:06:34+00:00 2026-06-17T16:06:34+00:00

i am beginner to .net and i want to put selected node string to

  • 0

i am beginner to .net and i want to put selected node string to a textbox. May be it is not possible to do with treeview control because it has no use in application.

ps I tried to insert choices in listcheckbox control on a button click, may be this thing is also not possible.

Do you have another way of doing this

  • 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-17T16:06:35+00:00Added an answer on June 17, 2026 at 4:06 pm

    The TreeView control has an event called AfterSelect.
    You can use this event to detect when an item has been selected.

    Here’s a sample code:

    Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect
        extBox1.Text = e.Node.Text
    End Sub
    

    Of course, you will need to change TreeView1 and TextBox1 for the actual names of your treeview and textbox controls.


    To add items to a CheckedListBox when a button is clicked, you would use a code similar to this one:

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        If TextBox1.Text <> "" Then CheckedListBox1.Items.Add(TextBox1.Text)
    End Sub
    

    This code will add a new item to CheckedListBox1, using the text from the TextBox1 control as input, when Button1 is clicked.

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

Sidebar

Related Questions

I am a .Net beginner. I want to color some characters inside a rich
I am a beginner to asp.net. I want to sort a gridview but the
I'm a beginner at ASP.net. I want to create a custom GridView where it
I'm a beginner at ASP.net, and want to create a class file that contains
I am flex beginner. I want to create project in Flex and VS.Net using
I'm a complete beginner when it comes to ASP.NET but I want to learn
Possible Duplicate: C# GUI Programming Starting… I want my brother learn about Microsoft .Net
I'm just a beginner at VB.NET... I want to be able to insert a
I'm an C# ASP.NET beginner, so please excuse anything that's... not quite right! In
I am beginner.I want to study about Application Domain in ASP.NET. Can anyone explain

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.