Click here to Skip to main content
15,890,506 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: help with TreeView and right-click popup menu Pin
leppie14-Jan-03 11:49
leppie14-Jan-03 11:49 
GeneralRe: help with TreeView and right-click popup menu Pin
Marc Clifton15-Jan-03 0:39
mvaMarc Clifton15-Jan-03 0:39 
GeneralVS.Net embedding cursors Pin
jstonge14-Jan-03 1:06
jstonge14-Jan-03 1:06 
GeneralGeneral opinion on architecture needed Pin
Paul Ingles13-Jan-03 11:56
Paul Ingles13-Jan-03 11:56 
GeneralRe: General opinion on architecture needed Pin
Gertjan Schuurmans13-Jan-03 13:02
Gertjan Schuurmans13-Jan-03 13:02 
GeneralCustom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel13-Jan-03 1:34
Victor Vogelpoel13-Jan-03 1:34 
GeneralRe: Custom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel16-Jan-03 7:36
Victor Vogelpoel16-Jan-03 7:36 
GeneralDatabound TreeView Pin
yaaang12-Jan-03 20:16
yaaang12-Jan-03 20:16 
On many newsgroups/forums have I repeatedly seen the question: "How do I bind a TreeView to a datasource?" Now, I'm attempting to create a DataTreeView by inheriting from TreeView and providing complex data-binding, but have run into many design issues. I have seen several solutions, such as the ones here:

http://msdn.microsoft.com/library/en-us/dnwinforms/html/custcntrlsamp3.asp#custcntrlsamp3_download
http://www.abderaware.com/WhitePapers/datatreeview.htm

However, the problem with all these solutions (and many other things .NET) is their exclusive focus on DataSets. I'm trying to create a more versatile control that can additionally support actual tree structures, lists of lists, or any other class.

One solution I considered - specifying a DisplayMember/ValueMember/ChildCollectionMember for the control - limits you to using a single type throughout the entire tree (or at least all types with the same display/value/children property names).

Another solution requires ITreeNode and ITreeNodeCollection interfaces to be implemented by the data source. For existing classes like the DataSet, this means either re-implementation or ITreeNode/Collection "adapter" classes. This is the best I've come up with, but I'm wondering if anybody can provide me with some more insight and/or has already done this (since a databound TreeView is one of the more sought-after controls). Or better yet, have an article that discusses how to accomplish this on the site.

What? Were you expecting something witty or funny here?
GeneralUsing .NET objects from good-ol JScript Pin
Nick Blumhardt12-Jan-03 17:12
Nick Blumhardt12-Jan-03 17:12 
GeneralRe: Using .NET objects from good-ol JScript Pin
Stephane Rodriguez.14-Jan-03 1:42
Stephane Rodriguez.14-Jan-03 1:42 
GeneralRe: Using .NET objects from good-ol JScript Pin
Nick Blumhardt14-Jan-03 16:33
Nick Blumhardt14-Jan-03 16:33 
Generalwildcard file exits and delete methods Pin
Lorne11-Jan-03 8:49
Lorne11-Jan-03 8:49 
GeneralRe: wildcard file exits and delete methods Pin
leppie12-Jan-03 8:46
leppie12-Jan-03 8:46 
GeneralResource Question Pin
matthias s.9-Jan-03 2:26
matthias s.9-Jan-03 2:26 
GeneralRe: Resource Question Pin
Stephane Rodriguez.9-Jan-03 2:56
Stephane Rodriguez.9-Jan-03 2:56 
QuestionHow to tell if .NET framework is installed? Pin
BigAndy9-Jan-03 1:42
BigAndy9-Jan-03 1:42 
AnswerRe: How to tell if .NET framework is installed? Pin
Stephane Rodriguez.9-Jan-03 2:50
Stephane Rodriguez.9-Jan-03 2:50 
GeneralASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 4:12
Dato8-Jan-03 4:12 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Daniel Turini8-Jan-03 5:04
Daniel Turini8-Jan-03 5:04 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 6:24
Dato8-Jan-03 6:24 
GeneralGOT IT FIXED: STRANGE: Re: ASP.NET Apps NOT Working HELP ! Pin
Dato11-Jan-03 5:11
Dato11-Jan-03 5:11 
GeneralCannot Uninstall Visual Studio.Net Pin
garfild8-Jan-03 4:00
garfild8-Jan-03 4:00 
GeneralRe: Cannot Uninstall Visual Studio.Net Pin
Nick Parker8-Jan-03 4:17
protectorNick Parker8-Jan-03 4:17 
GeneralCodeProject namespace Pin
charliedurrant7-Jan-03 6:41
charliedurrant7-Jan-03 6:41 
GeneralRe: CodeProject namespace Pin
leppie7-Jan-03 7:10
leppie7-Jan-03 7:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.