Commit Graph
407 Commits
Author SHA1 Message Date
Chris Toshok 545c9d318f 2005-09-01 Chris Toshok <[email protected]>
* Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
	CommandField.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
	CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
	Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
	TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
	BaseValidator.cs, CustomValidator.cs, TextBox.cs,
	ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
	RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
	Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
	XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
	WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
	TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
	TableItemStyle.cs: Add some WebCategory and WebSysDescription
	attributes.


svn path=/trunk/mcs/; revision=49301
2005-09-01 21:25:48 +00:00
Chris Toshok 621ac485c3 2005-09-01 Chris Toshok <[email protected]>
* AccessDataSource.cs: corcompare work.

	* SqlDataSource.cs: same.


svn path=/trunk/mcs/; revision=49283
2005-09-01 18:21:51 +00:00
Miguel de Icaza 9280957789 2005-09-01 Miguel de Icaza <[email protected]>
* Various places: make sure that the DefaultValue matches the
	type.  Thanks to Michael for pointing this out.

	In future audits, you might want to use the following awk command:

	awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
	!/string/ && !/ int / && !/ bool / { print FILENAME; print v;
	print $0; looking = 0; } /public/ && looking { looking = 0; } '
	*.cs

	The above skips bools, strings and ints as those were fine as we
	set them.  The bug was on the other ones.



svn path=/trunk/mcs/; revision=49274
2005-09-01 14:55:44 +00:00
Gonzalo Paniagua Javier 24a9eb0e15 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix the build.


svn path=/trunk/mcs/; revision=49238
2005-09-01 01:38:22 +00:00
Chris Toshok 113a081ad4 2005-08-31 Chris Toshok <[email protected]>
* Repeater.cs: lots of 2.0 work, much of it c&p'ed from
	{Base}DataList, and also from debug spew garnered from some
	Repeater subclass tests on MS.
	(CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
	the IEnumerable by calling GetData().
	(DataBind): reset RequiresDataBinding to false (2.0).
	(DataMember): copy the set implementation from DataList, and add
	2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
	(DataSource): more c&p.
	(DataSourceID); implement (2.0)
	(Initialized): implement (2.0)
	(IsBoundUsingDataSource): implement (2.0)
	(RequiresDataBinding): implement (2.0)
	(SelectArguments): implement (2.0)
	(CreateDataSourceSelectArguments): implement (2.0)
	(EnsureDataBound): implement (2.0)
	(GetData): implement.
	(OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
	(2.0)
	(OnDataSourceViewChanged): set RequiresDataBinding to true, but
	leave the MonoTODO. (2.0)
	(OnInit): call base.OnInit instead of throwing NIE, but leave the
	MonoTODO (2.0)
	(OnLoad): implement.
	(OnPreRender): implement.
	(ConnectToDataSource): new method - look for the right control.


svn path=/trunk/mcs/; revision=49234
2005-08-31 23:40:32 +00:00
Chris Toshok 7dfa9b7650 2005-08-31 Chris Toshok <[email protected]>
* XmlDataSourceView.cs: fix the scope of our select.  Don't use
	call SelectNodes on the XmlDocument, not on
	XmlDocument.DocumentElement.


svn path=/trunk/mcs/; revision=49231
2005-08-31 23:20:56 +00:00
Chris Toshok 20a18e8733 2005-08-31 Chris Toshok <[email protected]>
* XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
	(DoXPathSelect): put the xpath selection stuff here.
	(ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
	null).

	* XmlDataSource.cs (IDataSource.GetView): don't do the XPath
	select here, the view does it.


svn path=/trunk/mcs/; revision=49227
2005-08-31 22:58:49 +00:00
Jackson Harper a056a76b89 * DataList.cs: Remove some debugging code that was starting to bug
me (tee hee).


svn path=/trunk/mcs/; revision=49226
2005-08-31 22:48:12 +00:00
Chris Toshok 01fb7cc119 2005-08-31 Chris Toshok <[email protected]>
* XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
	create our Navigator by calling node.CreateNavigator().


svn path=/trunk/mcs/; revision=49225
2005-08-31 22:28:47 +00:00
Chris Toshok 577c97a2fe 2005-08-31 Chris Toshok <[email protected]>
* XmlDataSource.cs (GetXmlDataDocument): rename this to
	GetXmlDocument, and change the return value from XmlDataDocument
	to XmlDocument.
	(LoadXmlDataDocument): similar change.
	(Save): xmlDataDocument -> xmlDocument.
	(CanBeSaved): there's no ReadOnly attribute.
	(LoadViewState, SaveViewState, TrackViewState): nuke.
	(GetHierarchicalView): xmlDataDocument -> xmlDocument.
	(CacheDuration): stub out with NIE.
	(CacheExpirationPolocy): same.
	(CacheKeyDependency): same.
	(EnableCaching): same.
	(ReadOnly): nuke.
	(Data, DataFile): xmlDataDocument -> xmlDocument.
	(Schema, SchemaFile): nuke.
	(Transform, TransformFile): xmlDataDocument -> xmlDocument.


svn path=/trunk/mcs/; revision=49218
2005-08-31 21:21:09 +00:00
Lluis Sanchez ada5b7053c 2005-08-30 Lluis Sanchez Gual <[email protected]>
* SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
	  Don't use the obsolete IsSet method.
	* Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
	* CheckBox.cs: Implement some 2.0 methods.
	* GridView.cs: Removed some "throw new NotImplementedException"


svn path=/trunk/mcs/; revision=49115
2005-08-30 11:50:32 +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
Jackson Harper 47ec50c25c * PagedDataSource.cs: If it's not a list or collection we don't
use a bounded enumerator.


svn path=/trunk/mcs/; revision=49079
2005-08-29 18:26:43 +00:00
Chris Toshok cf0df4471c 2005-08-29 Chris Toshok <[email protected]>
* LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.

	* CheckBox.cs: same.
	
	* BaseValidator.cs: same.
	
	* DropDownList.cs: same.
	
	* ValidationSummary.cs: same.


svn path=/trunk/mcs/; revision=49071
2005-08-29 17:50:13 +00:00
Chris Toshok fc7a165972 2005-08-28 Chris Toshok <[email protected]>
* XmlHierarchyData.cs: fix IHierarchyData.GetParent.


svn path=/trunk/mcs/; revision=49007
2005-08-28 06:21:23 +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
Michael Hutchinson 7ea013c4aa 2005-08-22 Michael Hutchinson <[email protected]>
* WebControl.cs: Correct type for some default values
	* UnitConverter.cs: Fix potential infinite loop


svn path=/trunk/mcs/; revision=48669
2005-08-22 16:20:57 +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
Eyal Alalouf 8e0a4a27fc Implement accessibility features for NET_1_1 configuration.
svn path=/trunk/mcs/; revision=47711
2005-07-26 16:30:17 +00:00
Eyal Alalouf 64e4a0fc02 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47418
2005-07-19 16:53:47 +00:00
Lluis Sanchez 0b6940fbf2 2005-06-27 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs: Ignore the ShowHeader property when
	building the control's content. It is the resposability of
	the field container to decide if the header should be shown
	or not.


svn path=/trunk/mcs/; revision=46540
2005-06-27 08:57:27 +00:00
Lluis Sanchez 513b87dc26 2005-06-10 Lluis Sanchez Gual <[email protected]>
* AdType.cs:
	* ImageFieldMode.cs:
	* DynamicImageParameterMode.cs:
	* TableViewMode.cs: Removed.
	
	* SortDirection.cs:
	* AdRotator.cs:
	* TableRowSection.cs:
	* AutoCompleteType.cs:
	* DayNameFormat.cs: Track changes in 2.0 api.
	
	* StringArrayConverter.cs: This class is 2.0 only.


svn path=/trunk/mcs/; revision=45761
2005-06-10 15:29:36 +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
Gonzalo Paniagua Javier a39f196b0d 2005-05-29 Gonzalo Paniagua Javier <[email protected]>
* ListItemCollection.cs: Patch from Curtis ([email protected]) that fixes
	FindByText. Closes bug #74205.


svn path=/trunk/mcs/; revision=45168
2005-05-29 23:23:01 +00:00
Gonzalo Paniagua Javier 803a0337dd 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
	1 when there's a datasource and 0 pages. Closes bug #73864.


svn path=/trunk/mcs/; revision=45086
2005-05-26 23:06:52 +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
Ben Maurer ed8ddeaaf6 2005-05-21 Ben Maurer <[email protected]>
* BaseDataList.cs: Caption is in 1.1 too, though not
	documented. Gonz owes me [more] ice cream. Yummmmm.

svn path=/trunk/mcs/; revision=44865
2005-05-21 05:44:57 +00:00
Gonzalo Paniagua Javier 42bb4033f6 2005-05-20 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: implemented 2.0 Caption property.


svn path=/trunk/mcs/; revision=44860
2005-05-20 22:05:39 +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 19054caffc 2005-05-13 Lluis Sanchez Gual <[email protected]>
* WizardStepBase.cs:
	* WizardStep.cs: Added missing attributes.
	* Wizard.cs: Implemented missing methods and properties. It can now
	be considered feature complete.


svn path=/trunk/mcs/; revision=44499
2005-05-13 13:53:20 +00:00
Gonzalo Paniagua Javier 08e72ade6c 2005-05-10 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
	the method if the data source was en empty IEnumerator. Fixes
	bug #74804.


svn path=/trunk/mcs/; revision=44355
2005-05-10 21:21:53 +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 494e5c582e 2005-05-04 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs:
	* CommandField.cs: 
	* GridView.cs:
	* FormView.cs:
	* DataControlCommands.cs:
	* DetailsView.cs: Use constants to identify commands.

	* SubMenuStyle.cs: Use Unit instead of int for padding.
	* SubMenuStyleCollection.cs: Implemented.
	
	* DataList.cs:
	* Menu.cs: Added some missing methods and properties.
	
	* Literal.cs:
	* DataGridPagerStyle.cs: Fixed default value attributes.
	* ListControl.cs: Implemented IEditableTextControl interface.
	
	* MenuItemBinding.cs: Added Selectable property.
	* CustomValidator.cs: removed interface.
	
	* MenuItem.cs: Added support for custom binding. 
	* DropDownList.cs: Moved text properties to base class.


svn path=/trunk/mcs/; revision=44009
2005-05-04 08:53:30 +00:00
Gonzalo Paniagua Javier 1c4152c4c8 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: OnDayRender can toggle IsSelectable on our back.


svn path=/trunk/mcs/; revision=43800
2005-04-29 18:40:04 +00:00
Gonzalo Paniagua Javier 6b71b0b38a 2005-04-26 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: when the day is active, modify the text of the literal
	control that holds the number, not the text of the TableCell. Also call
	OnDayRender before updating that text. Fixes bug #74718.


svn path=/trunk/mcs/; revision=43581
2005-04-26 07:24:42 +00:00
Lluis Sanchez d0ad44f105 2005-04-22 Lluis Sanchez Gual <[email protected]>
* DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
	members.
	* DataControlFieldHeaderCell.cs: Save Scope in view state.
	Added AbbreviatedText property.
	* AutoGeneratedField.cs: The constructor should actually be internal.
	* DataGridItem.cs: Added implemented interface in 2.0.
	* DataControlFieldCollection.cs: Implemented CloneFields and
	GetKnownTypes().
	* 


svn path=/trunk/mcs/; revision=43443
2005-04-22 15:07:47 +00:00
Gonzalo Paniagua Javier 31dff2c474 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* StringArrayConverter.cs:
	* Calendar.cs: warnings.


svn path=/trunk/mcs/; revision=43429
2005-04-22 04:37:32 +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 db92b94879 2005-04-15 Lluis Sanchez Gual <[email protected]>
* DetailsView.cs: Added some null checks.
	* TemplateField.cs: Implemented support for two-way bindings.


svn path=/trunk/mcs/; revision=43074
2005-04-15 20:41:42 +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
Gonzalo Paniagua Javier f4dfa77164 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
* UnitConverter.cs:
	* FontUnitConverter.cs: fixed ConvertTo to work with target
	InstanceDescriptor and value as a string.

	* Unit.cs: culture might be null.

	Fixes bug #74431.


svn path=/trunk/mcs/; revision=42621
2005-04-07 05:45:31 +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 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 2e3c283553 2005-03-16 Lluis Sanchez Gual <[email protected]>
* ListControl.cs: Load selected indices in the right place. Fixes #73745.


svn path=/trunk/mcs/; revision=41885
2005-03-16 11:01:05 +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 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