Click here to Skip to main content
16,004,761 members
Home / Discussions / C#
   

C#

 
QuestionRuntime type casting? Pin
Thomas W25-Mar-03 21:36
Thomas W25-Mar-03 21:36 
AnswerRe: Runtime type casting? Pin
Don_s25-Mar-03 22:03
Don_s25-Mar-03 22:03 
GeneralRe: Runtime type casting? Pin
Thomas W25-Mar-03 22:21
Thomas W25-Mar-03 22:21 
GeneralPublisherIdentityPermission question Pin
Anonymous25-Mar-03 21:29
Anonymous25-Mar-03 21:29 
GeneralXML object in C# Pin
novice.NET25-Mar-03 20:11
novice.NET25-Mar-03 20:11 
GeneralRe: XML object in C# Pin
Don_s25-Mar-03 22:12
Don_s25-Mar-03 22:12 
Generalcascading treeview checkbox changes Pin
vlusardi25-Mar-03 20:10
vlusardi25-Mar-03 20:10 
GeneralRe: cascading treeview checkbox changes Pin
Don_s25-Mar-03 22:23
Don_s25-Mar-03 22:23 
vlusardi,

There is no built in way to do this, however a simple function like the following should do what you want:

private void CheckChildNodes(TreeNode ParentNode)
{
	foreach(TreeNode t in ParentNode.Nodes)
	{
		t.Checked = ParentNode.Checked;
		if(t.Nodes.Count > 0)
		{
			this.CheckChildNodes(t);
		}
	}
}

GeneralRe: cascading treeview checkbox changes Pin
vlusardi26-Mar-03 5:48
vlusardi26-Mar-03 5:48 
GeneralNeed some informations Pin
franck_alain25-Mar-03 11:09
franck_alain25-Mar-03 11:09 
QuestionVirutal Functions - new or override? Pin
monrobot1325-Mar-03 6:38
monrobot1325-Mar-03 6:38 
AnswerRe: Virutal Functions - new or override? Pin
Marc Clifton25-Mar-03 7:09
mvaMarc Clifton25-Mar-03 7:09 
AnswerRe: Virutal Functions - new or override? Pin
Paul Riley25-Mar-03 7:52
Paul Riley25-Mar-03 7:52 
AnswerRe: Virutal Functions - new or override? Pin
monrobot1325-Mar-03 8:31
monrobot1325-Mar-03 8:31 
Generalvirtual, not virutal Pin
leppie25-Mar-03 10:40
leppie25-Mar-03 10:40 
General.NET Wrapper for SharePoint Portal Pin
kaschimer25-Mar-03 3:53
kaschimer25-Mar-03 3:53 
GeneralRe: .NET Wrapper for SharePoint Portal Pin
David Stone26-Mar-03 12:47
sitebuilderDavid Stone26-Mar-03 12:47 
GeneralDoubt Regarding grid in .NET Pin
shankara_raman25-Mar-03 0:48
shankara_raman25-Mar-03 0:48 
GeneralFTP Uploads Pin
MrEyes25-Mar-03 0:25
MrEyes25-Mar-03 0:25 
GeneralLinking several .net modules into one .dll Pin
VizOne25-Mar-03 0:06
VizOne25-Mar-03 0:06 
GeneralRe: Linking several .net modules into one .dll Pin
Daniel Turini25-Mar-03 2:37
Daniel Turini25-Mar-03 2:37 
GeneralRe: Linking several .net modules into one .dll Pin
VizOne25-Mar-03 8:51
VizOne25-Mar-03 8:51 
GeneralRe: Linking several .net modules into one .dll Pin
leppie25-Mar-03 10:44
leppie25-Mar-03 10:44 
GeneralRe: Linking several .net modules into one .dll Pin
VizOne25-Mar-03 10:55
VizOne25-Mar-03 10:55 
GeneralRe: Linking several .net modules into one .dll Pin
leppie26-Mar-03 7:13
leppie26-Mar-03 7:13 

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.