Commit Graph
15 Commits
Author SHA1 Message Date
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
Kornél Pál 83946b2158 Replaced assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47823
2005-07-28 23:46:29 +00:00
Lluis Sanchez af7e54758c 2005-06-06 Lluis Sanchez Gual <[email protected]>
* GridView.cs:
	* FormView.cs:
	* DetailsView.cs: Bind the control after creating all child
	 controls.
	* DataBoundControl.cs: Call OnDataBinding and OnDataBound in
	the correct methods.
	* BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
	in this class. This is done in DataBoundControl. All this fixes
	bug #75076.


svn path=/trunk/mcs/; revision=45481
2005-06-06 11:29:51 +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 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 3139788397 2005-02-18 Lluis Sanchez Gual <[email protected]>
* Style.cs: Method name fix.
	* HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
	* BaseCompareValidator.cs: Method signature fix.
	* CollectionDataSource.cs: Implemented DataSource wrapper for collections.
	* BaseDataList.cs, Repeater.cs: Fixed data binding code.
	* BulletedList.cs: Added missing method.
	* DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.


svn path=/trunk/mcs/; revision=40887
2005-02-18 20:38:29 +00:00
Lluis Sanchez 0991e0512b 2005-02-16 Lluis Sanchez Gual <[email protected]>
* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
	* RadioButton.cs: Added missing 2.0 methods.
	* ListItem.cs: Added Enabled property.
	* MailMessageEventArgs.cs: Use the correct message class.
	* ListControl.cs: Implemented missing properties and support for
	control state. Implemented base RenderContents method.
	* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
	properties.
	* BaseCompareValidator.cs: Implemented methods that support conditional
	use of the invariant culture.
	* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
	* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
	It takes a DbCommand instead of a IDbCommand.
	* GridViewSortEventArgs.cs: Added SortDirection property.
	* TextBox.cs, CheckBoxList.cs: Added protected version of
	IPostBackDataHandler methods.
	* RadioButtonList.cs: Added protected version of
	IPostBackDataHandler and IRepeatInfoUser methods.
	* Repeater.cs: Updated some method names.
	* DropDownList.cs:  Added protected version of
	IPostBackDataHandler methods. Reuse RenderContents from base class.
	* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
	* GridViewUpdatedEventArgs.cs: Fix typo.
	* ListBox.cs: Added protected version of IPostBackDataHandler methods.
	Reuse RenderContents from base class.
	* BaseDataBoundControl.cs: Several fixes.
	* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.


svn path=/trunk/mcs/; revision=40772
2005-02-16 20:42:06 +00:00
Lluis Sanchez 300c4162b7 2005-02-02 Lluis Sanchez Gual <[email protected]>
* Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
	CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
	ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
	DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
	RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
	BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
	IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
	RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
	RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
	CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
	QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
	CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
	RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
	DataGridSortCommandEventArgs.cs, Repeater.cs,
	MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
	XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
	Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, HierarchicalDataBoundControl.cs,
	EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
	ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
	ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
	WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
	ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
	LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
	AdCreatedEventArgs.cs:
	
	General 2.0 API fixes: missing attributes, incorrect inheritance,
	missing sealed keywords, wrong signatures, etc.


svn path=/trunk/mcs/; revision=39994
2005-02-02 16:24:08 +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
Sanja Gupta c07af6cb8a ChangeLog: Updated.
BaseDataList.cs:
DataBountControl.cs:
Repeater.cs: Added SelectArguments property and updated.
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Removed extra method, which was there to keep 
                      things compiling.


svn path=/trunk/mcs/; revision=36515
2004-11-25 04:20:53 +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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Ben Maurer 19d8d5d139 2003-11-09 Ben Maurer <[email protected]>
* DataBoundControl.cs: Implement
	* ListControl.cs: inherit from the above.
	* Repeater.cs, BaseDataList.cs: should reset whenever we databind.

svn path=/trunk/mcs/; revision=19773
2003-11-10 00:15:45 +00:00