Commit Graph
9 Commits
Author SHA1 Message Date
Kornél Pál b4797dcddf Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
2005-07-29 00:13:41 +00:00
Lluis Sanchez 833d48dadb 2005-04-21 Lluis Sanchez Gual <[email protected]>
* FormViewDeleteEventArgs.cs:
	* FormViewInsertEventArgs.cs:
	* FormViewUpdateEventArgs.cs:
	* FormViewDeletedEventArgs.cs:
	* FormViewUpdatedEventArgs.cs:
	* FormViewInsertedEventArgs.cs: Implemented some missing properties.
	
	* LinkButton.cs:
	* IButtonControl.cs:
	* Button.cs: Removed SoftKey property.
	
	* CheckBox.cs: Don't try to load post back data if the control
	is disabled.
	
	* ImageField.cs:
	* AutoGeneratedField.cs:
	* DataControlField.cs:
	* CommandField.cs:
	* ButtonFieldBase.cs:
	* BoundField.cs:
	* CheckBoxField.cs:
	* TemplateField.cs:
	* ButtonField.cs: Don't bind fields in Insert state.
	Implemented CreateField and CopyProperties.
	
	* GridView.cs:
	* DetailsView.cs: Removed some unneeded interfaces. Don't
	generate the field rows if there are no items in the data source.
	Don't get the current keys until the whole control has been
	bound.

	* DetailsViewInsertedEventArgs.cs:
	* DataBoundControl.cs:	
	* ObjectDataSourceView.cs: Made some methods private.
	
	* MenuItemStyle.cs:
	* Menu.cs: Changed some properties from int to Unit.
	
	* DataControlButton.cs: javascript prefix is needed when raising
	the postback event from a link.
	
	* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
	The result was wrong when the total data source count was 0.
	
	* FormView.cs: Implemented.
	* FormViewRow.cs: Implemented.
	
	* Literal.cs:
	* Localize.cs: Fixed base interface.
	
	* BaseDataBoundControl.cs: In DataBind() call the base class
	DataBind method, so the binding context is properly set.


svn path=/trunk/mcs/; revision=43410
2005-04-21 16:14:46 +00:00
Lluis Sanchez 2ea848c73e 2005-04-14 Lluis Sanchez Gual <[email protected]>
* DetailsView.cs: Implemented support for Insert operation. 
	Added header and footer templates. Added missing style
	properties. 
	* ObjectDataSourceView.cs: Use ParameterCollection.GetValues
	to get filter values. Other minor fixes.
	* CommandField.cs: Properly render the Insert and New buttons.
	* ObjectDataSource.cs: Update the parameter collections after
	the page is loaded. This will fire the ParameterChanged event
	if needed.
	* DataBoundControl.cs: The OnDataSourceViewChanged method
	is called when the view changes, not when the datasource
	changes.
	
	* DetailsViewInsertedEventArgs.cs:
	* DetailsViewInsertEventArgs.cs: Implement Values property.
	
	* ImageField.cs:
	* AutoGeneratedField.cs
	* BoundField.cs:
	* CheckBoxField.cs:
	Take into account the Insert mode.
	
	* ParameterCollection.cs: Implemented UpdateValues and fixed
	GetValues (values can't be cached because can change).
	* Parameter.cs: Detect value changes in GetValue, and fire
	the change event if needed. Removed unused ParameterValue
	property. Other fixes.


svn path=/trunk/mcs/; revision=42997
2005-04-14 12:24:07 +00:00
Lluis Sanchez cc0de288d6 2005-04-08 Lluis Sanchez Gual <[email protected]>
* DetailsView.cs: Initial implementation.
	* ObjectDataSourceView.cs: Notify changes in the parameters.
	* DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
	  DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
	  Implemented some properties.
	* GridView.cs: Added null check in SelectedValue. Don't return null
	  for empty DataKeyNames list.
	* DetailsViewRowCollection.cs: Implemented.
	* DetailsViewRow.cs: Implemented.
	* ButtonFieldBase.cs: By default button field don't have headers.
	* BoundField.cs: Don't bind header fields.	  


svn path=/trunk/mcs/; revision=42709
2005-04-08 21:28:40 +00:00
Lluis Sanchez 86b8090f0b 2005-04-07 Lluis Sanchez Gual <[email protected]>
* 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
2005-04-07 16:02:36 +00:00
Lluis Sanchez eefe5a8604 2005-04-01 Lluis Sanchez Gual <[email protected]>
* ButtonField.cs: Mostly implemented.
	* DataControlFieldHeaderCell.cs: Implemented.
	* ObjectDataSourceView.cs: Initial implementation.
	* DataControlButton.cs: Added support for real buttons.
	* Label.cs, DataControlField.cs: Flush.
	* ObjectDataSource.cs: Initial implementation.
	* HiddenField.cs: Added class stub.
	* GridView.cs: Load autogenerated field properties before
	creating the children, to make sure that column info is ready.
	* ControlParameter.cs: Implemented Evaluate method.
	* ImageField.cs: Added class stub.
	* BoundField.cs: Added HtmlEncode property.
	* DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
	to its own file.
	* CheckBoxField.cs: Mostly implemented.
	* TemplateField.cs: Added class stub.
	* ObjectDataSourceSelectingEventArgs.cs: Added missing property.
	* ObjectDataSourceMethodEventArgs.cs: Fixed base class.
	* Parameter.cs: Added internal GetValue method (Evaluate is protected)


svn path=/trunk/mcs/; revision=42469
2005-04-01 17:29:21 +00:00
Lluis Sanchez 587f051b70 2005-03-23 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs: Added missing InsertVisible property.
	* AutoGeneratedFieldProperties.cs: Implemented.
	* PagerSettings.cs: Minor fix.
	* GridView.cs: Implemented support for autogenerated fields, templates,
	accessible headers. Implemented paging using PagedDataSource.
	Implemented missing overridable methods.
	* AutoGeneratedField.cs: Initial implementation.
	* BoundField.cs: Added ReadOnly property.
	* PagedDataSource.cs: Implemented 2.0 api.
	* DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
	cell class to be used by accessible headers.
	* TableCell.cs: Removed unneded constructor. If the cell is bound to
	a template, call the default RenderContents method.


svn path=/trunk/mcs/; revision=42154
2005-03-23 17:20:57 +00:00
Lluis Sanchez 6813c16ab1 2005-03-04 Lluis Sanchez Gual <[email protected]>
* DataKey.cs: Implemented.
	* XmlDataSourceView.cs: Implemented support for row pagging.
	* Table.cs: Fixed attribute value.
	* DataControlField.cs: Added support for sorting headers.
	* ChildTable.cs: Created.
	* ListControl.cs: Delay selection assignment, since control state
	is now loaded before view state.
	* GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
	GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
	several missing properties.
	* PagerSettings.cs: Fully implemented.
	* BaseDataList.cs: Added null check.
	* GridView.cs: Implemented more functionality.
	* BoundField.cs: Added support for cell editing.
	* StringArrayConverter.cs: Implemented.
	* DataKeyArray.cs: Implemented.
	* BaseDataBoundControl.cs: Reset the requires binding flag before
	executing the query. This avoids recursive query calls.
	* GridViewRow.cs: Handler commands raised from row childs.


svn path=/trunk/mcs/; revision=41455
2005-03-04 18:05:31 +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