473,321 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Problem with a treeview

Hi,
I'm using .NET1.1.
I have a windows form with two controls
1.Treeview
2.Checkbox

I added the items into tree view, the user selects the item in
treeview.
When i click the item in treeview it get selected(highlighted in blue
color) .
But when I click the checkbox, the selected item in the treeview gets
deselected(highlight goes away).
My need is that selected item has to be highlighted in blue or grey
while checking checkbox
Is it feasible?

Thanks,
Mani

Jun 18 '07 #1
2 2229
On Jun 18, 1:01 pm, Manikandan <plmanikan...@gmail.comwrote:
Hi,
I'm using .NET1.1.
I have a windows form with two controls
1.Treeview
2.Checkbox

I added the items into tree view, the user selects the item in
treeview.
When i click the item in treeview it get selected(highlighted in blue
color) .
But when I click the checkbox, the selected item in the treeview gets
deselected(highlight goes away).
My need is that selected item has to be highlighted in blue or grey
while checking checkbox
Is it feasible?

Thanks,
Mani
Hi,
when I changed the property hideselection to false, treeview is
highlighted in grey color when clicking checkbox.
I think this the solution
Is it correct?

Thanks,
Mani

Jun 18 '07 #2
Manikandan wrote:
On Jun 18, 1:01 pm, Manikandan <plmanikan...@gmail.comwrote:
>Hi,
I'm using .NET1.1.
I have a windows form with two controls
1.Treeview
2.Checkbox

I added the items into tree view, the user selects the item in
treeview.
When i click the item in treeview it get selected(highlighted in blue
color) .
But when I click the checkbox, the selected item in the treeview gets
deselected(highlight goes away).
My need is that selected item has to be highlighted in blue or grey
while checking checkbox
Is it feasible?

Thanks,
Mani

Hi,
when I changed the property hideselection to false, treeview is
highlighted in grey color when clicking checkbox.
I think this the solution
Is it correct?

Thanks,
Mani
you have answered your own question :-)
Jun 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Samuele Giovanni Tonon | last post by:
hi, i'm trying to develop a trivial application which random copy files from a directory to another one. i made it using pygtk for the graphical interface, however i find some problem with...
4
by: Jeroen Ceuppens | last post by:
Hi, I want to make something that adds a TreeNode to the end of TreeView, that TreeView Looks like + Level 1 + Level 2 + Level 3 - Level last
0
by: Emerson | last post by:
The following assumes a System.Windows.Forms.DataGrid with a System.Data.DataTable set as the DataSource. I'm programming in C# Here's my scenario I click in a cell on a DataGrid. I enter some...
3
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
4
by: Jeff Beem | last post by:
I have a class that inherits from TreeView. The treeview has tooltips for the nodes but they're showing up behind the form. Has anyone seen this? Are there any known fixes? Thanks in advance,...
3
by: christof | last post by:
I've got a really easy problem, please help me: There are two pages in one I'm creating a TreeView like that: TreeView dbTree = new TreeView(); TreeNode dbTreeRoot = new TreeNode("Root");...
2
by: Claus | last post by:
Hello, I have a long treeview with scrollbars. When I scroll down and press a treeview node, then the Load event fires and navigate in an iframe to another page. The problem is, that afterwards...
0
by: thirunavukarasukm | last post by:
Hai.. i have Problem with Treeview control...... i am developed one web application... i am have many aspx page in this project..but all page undercontrol with treeview .. i am alreay...
0
by: thirunavukarasukm | last post by:
Hai... Problem in Print Friendly Version with treeview control... i am creating one web applications.. in this web application in main page The left side one panel and right side one Iframe...
0
by: bsturg21 | last post by:
Hello, I have an app that has a custom treeview which inherits the base treeview class and I am having a problem with the way the treeview is being redrawn. Each node in the treeview represents a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.