Commit Graph
32 Commits
Author SHA1 Message Date
Igor Zelmanovich 5feeb7e28f 2006-12-11 Igor Zelmanovich <[email protected]>
* TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl


svn path=/trunk/mcs/; revision=69596
2006-12-17 11:20:51 +00:00
Igor Zelmanovich 914c287794 2006-12-06 Igor Zelmanovich <[email protected]>
* TreeView.cs: fixed: support for event validation.


svn path=/trunk/mcs/; revision=69099
2006-12-06 15:06:26 +00:00
Marek Habersack f5869e74d2 more optimizations
svn path=/trunk/mcs/; revision=68450
2006-11-25 02:43:22 +00:00
Igor Zelmanovich bfd235c3ae corrected rendering
svn path=/trunk/mcs/; revision=65298
2006-09-12 12:25:03 +00:00
Igor Zelmanovich 9e949e8074 corrected rendering: HoverNodeStyle works
svn path=/trunk/mcs/; revision=65214
2006-09-11 09:03:15 +00:00
Igor Zelmanovich 6afd41088d corrected rendering: styles are applied correct
svn path=/trunk/mcs/; revision=65175
2006-09-10 15:41:47 +00:00
Igor Zelmanovich fd2f5e65bd fixed: for PopulateOnDemand nodes expanded and checked state restored correct on PostBack
svn path=/trunk/mcs/; revision=65153
2006-09-10 10:44:00 +00:00
Igor Zelmanovich 50cdb7cb1e fixed: populating nodes.
svn path=/trunk/mcs/; revision=65065
2006-09-07 14:52:01 +00:00
Igor Zelmanovich 8783f29c0b fixed: populating nodes flow.
svn path=/trunk/mcs/; revision=65002
2006-09-06 12:58:18 +00:00
Igor Zelmanovich 513bf45787 TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag
svn path=/trunk/mcs/; revision=64985
2006-09-06 07:32:52 +00:00
Igor Zelmanovich 91d8a1a5b0 TreeView.cs: fixed: when specified value is not one of the TreeNodeTypes values exception is threw.
svn path=/trunk/mcs/; revision=64984
2006-09-06 07:01:42 +00:00
Igor Zelmanovich ff21dfce47 TreeView.cs: fixed: when specified image set is not one of the TreeViewImageSet values exception is threw.
svn path=/trunk/mcs/; revision=64983
2006-09-06 06:19:58 +00:00
Igor Zelmanovich 5d0dc03639 fixed data binding
svn path=/trunk/mcs/; revision=64440
2006-08-27 14:20:21 +00:00
Gonzalo Paniagua Javier 6eaf7760c4 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
* Style.cs:
	* Label.cs:
	* TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.


svn path=/trunk/mcs/; revision=63311
2006-08-03 16:59:39 +00:00
Gonzalo Paniagua Javier 1752cddaf5 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
* TreeView.cs: several changes to improve compatibility with MS.
	Patch by Marek Habersack that fixes bug #77551.


svn path=/trunk/mcs/; revision=63093
2006-07-28 18:46:40 +00:00
Lluis Sanchez 8033c6a610 2006-04-11 Lluis Sanchez <[email protected]>
* 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-04-11 16:28:52 +00:00
Chris Toshok 5cb4398967 In System.Web.UI:
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
2006-02-23 15:21:28 +00:00
Sebastien Pouliot adf172ecf9 2005-09-23 Sebastien Pouliot <[email protected]>
* Button.cs: For 2.0 don't add the "name" attribute unless there's an 
	id.
	* DataGrid.cs: Fix TagKey (table) for 2.0.
	* DataList.cs: Revert 2.0 specific stuff that was changed in RC.
	* DropDownList.cs: For 2.0 don't add the "name" attribute unless 
	there's an id.
	* ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
	id.
	* RoleGroupCollection.cs: Fix "extra" exception in Remove method.
	* Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty 
	(i.e. not null).
	* TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
	id.
	* TreeView.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* XmlDataSource.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.


svn path=/trunk/mcs/; revision=50583
2005-09-23 15:46:05 +00:00
Chris Toshok f306634b08 2005-08-29 Chris Toshok <[email protected]>
* TreeView.cs: Use the StateBag accessors Ben added, and implement
	SkipLinkText and Visible.


svn path=/trunk/mcs/; revision=49091
2005-08-29 20:26:29 +00:00
Chris Toshok c4411f0f84 2005-08-29 Chris Toshok <[email protected]>
* TreeView.cs: fix typo in an attribute.


svn path=/trunk/mcs/; revision=49083
2005-08-29 18:58:58 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Lluis Sanchez 3b4fdcc1c6 2005-05-26 Lluis Sanchez Gual <[email protected]>
* DataListItem.cs:
	* GridViewRow.cs:
	* DataGridItem.cs:
	* RepeaterItem.cs:
	* FormView.cs:
	* MenuItemTemplateContainer.cs:
	* DetailsView.cs: Track changes in the IDataItemContainer interface.
	
	* CommandField.cs: Added CausesValidation property. Set that
	property value to all buttons of the field.
	
	* SqlDataSourceView.cs:
	* CollectionDataSource.cs:
	* XmlDataSourceView.cs: Properly initialize the base class.
	
	* SiteMapDataSource.cs:
	* SiteMapHierarchicalDataSourceView.cs:
	* SiteMapNodeItem.cs:
	* SiteMapDataSourceView.cs:
	* SiteMapPath.cs: Mostly implemented.
	
	* HierarchicalDataBoundControl.cs: Always bind the control when the
	page is loaded for the first time.
	
	* TreeView.cs: Properly bind the control when loaded from a callback.


svn path=/trunk/mcs/; revision=45062
2005-05-26 16:17:00 +00:00
Lluis Sanchez 46dbfec58d 2005-05-18 Lluis Sanchez Gual <[email protected]>
* TreeView.cs: Always render the startup script. This fixes
	bug #74949. 


svn path=/trunk/mcs/; revision=44690
2005-05-18 16:27:47 +00:00
Lluis Sanchez fb0ff612f6 2005-05-06 Lluis Sanchez Gual <[email protected]>
* 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
2005-05-06 16:41:50 +00:00
Lluis Sanchez 35e56f8ce6 2005-03-16 Lluis Sanchez Gual <[email protected]>
* TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
	  event when loading the view state. Fixes #73746.


svn path=/trunk/mcs/; revision=41888
2005-03-16 11:35:49 +00:00
Lluis Sanchez 170d79ed12 2005-03-11 Lluis Sanchez Gual <[email protected]>
* Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
	  correctly.
	* CommandField.cs: Mostly implemented.
	* Menu.cs: Use callback methods moved to ClientScriptManager.
	* DataControlButton.cs: Internal control used to implement buttons
	  for navigating in data bound controls.
	* DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
	  to render the column headers.
	* CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
	  DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
	  Don't use Page.GetPostBackClientEvent
	  since it is deprecated in 2.0.
	* GridView.cs: Implemented some several interfaces.
	  Implemented support client sorting and page navigation (using callbacks).
	  Implemented the autogenerated command column using the new CommandField
	  class.
	* ButtonFieldBase.cs: Implemented.
	* GridView.js: New helper script to support client side sorting and
	  paging in the grid view.


svn path=/trunk/mcs/; revision=41698
2005-03-11 13:25:26 +00:00
Lluis Sanchez e175537b2b 2005-02-25 Lluis Sanchez Gual <[email protected]>
* XmlDataSourceView.cs: ExecuteSelect now returns a list of
	XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
	it is possible to query for properties fore each data item.
	* Menu.cs, TreeView.cs: Make sure that objects are correctly created
	when loading its view state.
	* DataControlField.cs: Implement properties using a StateBag.
	* XmlDataSourcePropertyDescriptor.cs: Implemented.
	* PagerSettings.cs: Mostly implemented.
	* AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
	* DataBoundControl.cs: Added null check.
	* GridView.cs: Initial implementation.
	* CompositeDataBoundControl.cs: Implemented.
	* BoundField.cs: Initial implementation.
	* GridViewRowCollection.cs: Initial implementation.
	* DataControlFieldCollection.cs: Initial implementation.
	* DataControlFieldCell.cs: Fixed control tag.
	* GridViewRow: Initial implementation.
	* XmlDataSourceNodeDescriptor.cs: Implemented.


svn path=/trunk/mcs/; revision=41191
2005-02-25 12:08:35 +00:00
Lluis Sanchez 9415a199b3 2004-12-10 Lluis Sanchez Gual <[email protected]>
* Menu.cs: Implemented basic rendering. Added some missing properties.
	* MenuItem.cs: Improved implementation of Depth.
	* Unit.cs: Added serializable attribute.
	* TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
	so it can be reused.
	* Menu.js: New script to support he Menu control.


svn path=/trunk/mcs/; revision=37584
2004-12-10 17:52:06 +00:00
Lluis Sanchez fbb5a6fb41 2004-12-03 Lluis Sanchez Gual <[email protected]>
* MenuEventArgs.cs: Changed to sealed.
	* TreeView.cs: Minor fix.
	* Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
	MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
	MenuItemStyleCollection.cs: Initial Menu code.


svn path=/trunk/mcs/; revision=37044
2004-12-03 19:09:20 +00:00
Lluis Sanchez 0156d5e21a 2004-12-02 Lluis Sanchez Gual <[email protected]>
* 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
2004-12-02 16:02:36 +00:00
Lluis Sanchez 7cd5b5fde6 2004-11-26 Lluis Sanchez Gual <[email protected]>
* 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
2004-11-26 16:42:35 +00:00
Lluis Sanchez 058e32506b 2004-11-23 Lluis Sanchez Gual <[email protected]>
* TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
	TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
	TreeView.cs: Initial implementation.
	* DataBoundControl.cs: Set the correct base class.
	* HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
	* TreeNodeSelectAction.cs: Formatting.
	* TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
	TreeView_Default_NoExpand.gif: TreeView images.


svn path=/trunk/mcs/; revision=36429
2004-11-23 10:39:10 +00:00