Commit Graph
14 Commits
Author SHA1 Message Date
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Habersack 8d39b158e5 [asp.net] Fix for bug #626829. Nodes need to be re-populated on postback, with populate on demand active
When one clicks on the plus sign in the tree with populate on demand active and then clicks on the node's
text, the resulting post back is a plain one, not a callback. In this case all the nodes need to be repopulated
or they will vanish from the rendering. At the same time, the nodes have to be simply marked as populated when
a post back in callback mode is processed.

Disabled one test and a small chunk of code in TreeView.RenderNode - it needs more investigation (nothing critical
though)
2010-08-13 00:12:23 +02:00
Marek Habersack 77aff7f68b Removed debugging code
svn path=/trunk/mcs/; revision=160186
2010-07-10 00:25:07 +00:00
Marek Habersack e4aea66ffa More 4.0 test fixes
svn path=/trunk/mcs/; revision=160057
2010-07-08 13:10:45 +00:00
Marek Habersack b58f5b27ba 2009-11-16 Marek Habersack <[email protected]>
* TreeNodeTest.cs: added test for a situation when a
	node already contains children when the PopulateOnDemand property
	is set.

2009-11-16  Marek Habersack  <[email protected]>

	* TreeNodeCollection.cs: whenever a node is added, let the owner
	know about it.

	* TreeNode.cs: added internal property HadChildrenBeforePopulating
	which is used to let TreeView know about an error condition where
	a populate-on-demand node contains children added outside the
	OnTreeNodePopulate event

	* TreeView.cs: if a node has any child nodes and PopulatOnDemand
	is set, throw an exception from RenderNode. This is the behavior
	of .NET

svn path=/trunk/mcs/; revision=146275
2009-11-16 17:09:06 +00:00
Marek Habersack bc0513683f set svn:eol-style to native and converted several files to unix line ending
svn path=/trunk/mcs/; revision=124209
2009-01-22 14:52:09 +00:00
Igor Zelmanovich aa20dc91b4 2007-05-06 Igor Zelmanovich <[email protected]>
* TreeNode.cs: fixed: 
	when 'Value' property is not set, value of 'Text' property is used 
	instead and vice versa.

	* TreeNodeTest.cs:
	* TreeViewTest.cs:
	new tests were added.	


svn path=/trunk/mcs/; revision=76782
2007-05-06 13:55:51 +00:00
Noam Lampert ff7eb7a4ce Remove NotWorking as a number of bugs have been fixed
svn path=/trunk/mcs/; revision=70087
2006-12-26 16:53:49 +00:00
motym 11751be748 Bug #6502 fixed, enabling this test
svn path=/trunk/mcs/; revision=69267
2006-12-10 12:11:34 +00:00
Noam Lampert a9146fb120 Remove unnecessary NotWorking directives
svn path=/trunk/mcs/; revision=69095
2006-12-06 12:34:26 +00:00
Andrew Skiba 6ced565d97 TARGET_JVM
svn path=/trunk/mcs/; revision=67450
2006-11-07 12:55:44 +00:00
Igor Zelmanovich df86059ddf fixed tests, removed NotWorking attributes
svn path=/trunk/mcs/; revision=65303
2006-09-12 12:52:43 +00:00
Igor Zelmanovich 6843127774 fixed: ToggleExpandState().
svn path=/trunk/mcs/; revision=65059
2006-09-07 14:11:53 +00:00
Hagit Yidov 0341ffd423 TreeNodeBindingTest.cs, TreeNodeCollectionTest.cs, TreeNodeStyleCollectionTest.cs, TreeNodeTest.cs, TreeViewTest.cs, , TreeNodeBindingCollectionTest.cs
svn path=/trunk/mcs/; revision=64435
2006-08-27 11:36:26 +00:00