Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > TreeView Expand collapse not working in Vista
 

TreeView Expand collapse not working in Vista

I am using TreeView control in Winforms application.
My Issue is that TreeView control does not work as expected. The Expand and Collpase fails. When i clcik on+/- symbol nothing happens. This isue is only with Vista.
Earlier we where using XP based servers it was working on this server without any issue. Please suggest what i need to do to resolve this.

Thanks in advance

Suresh
V_Suresh  Wednesday, August 19, 2009 3:06 PM
The TreeView definitely works on Vista. Please post a sample of code that demonstrates the problem.

Check to see if you are doing anything strange in the Expanded/Expanding/or other event handlers. Try commenting out the code in such event handlers temporarily.

> When i clcik on+/- symbol nothing happens.

Is the whole app'sUI frozen, or just the TreeView does not respond?
BinaryCoder  Wednesday, August 19, 2009 10:23 PM
Yes. I tried commented out all the codes which is coded on the TreeView events. Still the issue is there. I am using Vista 64bit. No, the UI is not frozen.

I also have static images attached to the TreeView nodes.
V_Suresh  Thursday, August 20, 2009 7:43 AM
I'd recommend that you continue to comment out unnecessary things until you find out which is causing the problem.
BinaryCoder  Thursday, August 20, 2009 10:53 AM

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Best regards,
Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, August 26, 2009 7:46 AM

You can use google to search for other answers

Custom Search

More Threads

• How to close a form without validating a DataGridView
• me.bindingcontext().position stays @ -1
• DataAdapter Fill command from values in list box only working on first value
• ArrayList to DataTable ...
• How to type in a datagridviewcomboboxcolumn with keyboard - Visual Basic.Net
• How to get DataGridView combobox to work with access database table ?
• display a DATETIMEPICKER control in a column in a gridview in VB 2005
• DataGridViewCheckBoxColumn and CellTemplate.Value
• move focus from cell to usercontrol
• Prevent Row Sort in DataGridView?