* 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
* TreeNode.cs: reset the path data for all child nodes too.
* TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
node tree, set the correct index for the nodes so that the Path is
correct.
svn path=/trunk/mcs/; revision=131186
* 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
* TreeNode.cs: correct version of the fix in r76488. Nodes
retrieved from a navigation data source which have empty URL will
not be selectable.
svn path=/trunk/mcs/; revision=76604
* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
* TreeNodeBinding.cs: Added HasPropertyValue property
to check if some properties have a value in the
state bag.
* TreeNode.cs: Lazily get the dataPath. Instead of getting
bound properties when they are requested, get all of
them when the node is bound and store their values in
the state bag. In this way it won't be necessary to
query every time the datasource to get the values.
* XmlHierarchyData.cs: Implemented IHierarchyData.Path.
* TreeView.cs: Call base in OnInit(). Bind nodes after
adding them to the list, to properly keep track of
changes. Don't databind in postbacks.
svn path=/trunk/mcs/; revision=59366
2006-02-23 Chris Toshok <[email protected]>
* Page.cs (ProcessCallbackData): track change to
ICallbackEventHandler iface.
* ICallbackEventHandler.cs: enable the proper members of this
interface.
* DataSourceSelectArguments.cs: reformat getter/setters.
In System.Web.UI.WebControls:
2006-02-23 Chris Toshok <[email protected]>
* BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
SqlDataSourceCommandType.cs, TableSectionStyle.cs,
TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
errors. most were caused by a property/method being virtual when
it shouldn't be, or vice versa.
svn path=/trunk/mcs/; revision=57203
* TreeNode.cs:
* TreeView.cs:
* Menu.cs: Implemented some new properties from beta 2.
* DataControlButton.cs: Render the ControlStyle if it
is not empty.
* UnitConverter.cs:
* FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
It will now generate an object creation, instead of a Parse call.
* GridViewCommandEventArgs.cs: Added missing property.
* SubMenuStyleCollection.cs: This class is not sealed.
* MultiView.cs: Set Visible=false to all views that are not
shown. This ensures that it's view state is saved.
* BaseDataBoundControl.cs:
* GridViewDeletedEventArgs.cs: Minor api fixes.
* FormViewDeleteEventArgs.cs:
* DetailsViewDeletedEventArgs.cs:
* ListControl.cs: Fix warnings.
* CircleHotSpot.cs
* HotSpot.cs
* HotSpotCollection.cs
* ImageMap.cs
* PolygonHotSpot.cs
* RectangleHotSpot.cs
* WizardStepCollection.cs : Implemented.
* WizardStep.cs
* WizardStepBase.cs
* Wizard.cs: Initial implementation.
svn path=/trunk/mcs/; revision=44148
* ButtonField.cs: Get data item properties using TypeDescriptor.
Made OnDataBindField private.
* ObjectDataSourceView.cs: Implemented support for Delete and
Insert operations, support for filtering and sorting,
conflict detection, etc. It's now complete.
* ObjectDataSource.cs: Completed most of functionality. Only
caching support is missing.
* ObjectDataSourceFilteringEventHandler.cs: New event handler.
* TreeNode.cs: Get data item properties using TypeDescriptor.
* PagerSettings.cs: Flush.
* ObjectDataSourceFilteringEventArgs.cs: New event args.
* GridView.cs: Get data item properties using TypeDescriptor
and cache them. Properly set descending order in the sort
expression. In UpdateRow, make sure we get the old values
before the control is bound again.
* ImageField.cs: Implemented.
* AutoGeneratedField.cs: Initialize the field's sort
expression in the constructor.
* MenuItem.cs: Get data item properties using TypeDescriptor.
* BoundField.cs: Get data item properties using TypeDescriptor.
* CheckBoxField.cs: Added missing attributes.
* TemplateField.cs: Implemented.
svn path=/trunk/mcs/; revision=42646
* TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
Implemented SetDirtyObject.
* Style.cs: Implemented SetDirty().
* TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
* TreeNode.cs: Added missing attributes added support for
PopulateOnDemand. Added some missing property bindings.
* TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
to newly added elements to make sure al new data is saved.
* TreeView.js: Implemented support for client population of nodes.
* TreeNodeStyle.cs: Added missing attributes.
* TreeView.cs: Implemented support for PopulateNodesFromClient and
PopulateOnDemand. Improved rendering.
svn path=/trunk/mcs/; revision=36946
* TreeNodeBindingCollection.cs: Implemented.
* TreeNodeBinding.cs: Implemented.
* TreeNode.cs: Added support for data binding.
* TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
TreeView_Default_NoExpand.gif: Moved to resources directory.
* ListControl.cs: Fixed api.
* XmlHierarchicalEnumerable.cs: Made internal.
* DataBoundControl.cs: Modified api to match latest ms.net.
* TreeView.js: New javascript file to support TreeView in the client.
* XmlDataSource.cs: Added missing attributes.
* HierarchicalDataBoundControl.cs: Mostly implemented.
* BaseDataBoundControl.cs: Mostly implemented.
* XmlHierarchyData.cs: Made internal.
* TreeView.cs: Mostly implemented. The major missing feature is
client side tree population.
svn path=/trunk/mcs/; revision=36652