Commit Graph
32 Commits
Author SHA1 Message Date
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 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
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 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 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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Alon Gazit 6eb1ccb667 fixed LoadViewState() and SaveViewState() in WebControl.
Before the change the Enabled property wasn't updated when a postback
event was raised.
fixed SelectedIndex property implementation in ListControl.
Prevents throwing ArgumentOutOfRangeException (that should not be thrown),
when the list is empty.

svn path=/trunk/mcs/; revision=26817
2004-05-06 12:18:22 +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
Gonzalo Paniagua Javier 8be0f4eb7c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

svn path=/trunk/mcs/; revision=18245
2003-09-21 15:49:51 +00:00
Gonzalo Paniagua Javier df56a2ae8a 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: patch by Yaacov Akiba Slama <[email protected]> that
	fixes selection of values before assigning a data source and other
	issues.

svn path=/trunk/mcs/; revision=17333
2003-08-14 16:51:40 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Gonzalo Paniagua Javier 76c9194a9e 2003-07-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: added SelectedValue property (1.1). Closes 46412.

svn path=/trunk/mcs/; revision=16472
2003-07-21 08:06:27 +00:00
Gonzalo Paniagua Javier 143f1512ad 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: save viewstate data when any of the 3 values is not
	null. Fixed condition to save selection indices. Closes bug #45493.

svn path=/trunk/mcs/; revision=15661
2003-06-26 17:53:47 +00:00
Gonzalo Paniagua Javier 73094fe20a 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed OnDataBinding.

svn path=/trunk/mcs/; revision=7828
2002-09-26 00:51:05 +00:00
Gonzalo Paniagua Javier d1062e5f1d Moved from System.Web.Utils to System.Web.Util
svn path=/trunk/mcs/; revision=7041
2002-08-26 00:57:47 +00:00
Gonzalo Paniagua Javier 17e4f87593 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: added myself to the list of authors.
	* DropDownList.cs: fixed a few properties.
	* ListControl.cs: fixed SelectedIndex.

svn path=/trunk/mcs/; revision=6265
2002-07-30 23:10:53 +00:00
Gonzalo Paniagua Javier 6ca2807e53 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed a couple of range checks.
	* WebControl.cs: MS lies! Not all WebControls must be rendered inside
	an HtmlForm (p.e., Label).

svn path=/trunk/mcs/; revision=5785
2002-07-13 23:07:22 +00:00
Gonzalo Paniagua Javier ba81961a6c 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* list: updated. Currently mcs cannot compile System.Web because it
	cannot find NameObjectCollectionBase.KeysCollection.

	* System.Web.build: don't display unused event nor always default value
	warnings by now.

	* System.Web.UI/Control.cs:
	(SaveViewstateRecursive): implemented.
	(SaveViewState): fixed.
	(IParserAccessor.AddParsedSubObject): don't use 'this'.

	* System.Web.UI/Page.cs: added code to save view state to an xml file.
	It's not being used right now.

	* System.Web.UI.WebControls/AdRotator.cs:
	(LoadAdFile): make the dictionary null after every iteration.

	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListControl.cs:
	* System.Web.UI.WebControls/ListItem.cs: fixed warnings.

svn path=/trunk/mcs/; revision=5603
2002-07-05 14:35:29 +00:00
Gonzalo Paniagua Javier 47418d0455 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
	* DataGridPagerStyle.cs:
	* DataList.cs:
	* DataListItem.cs:
	* Image.cs:
	* LinkButton.cs:
	* ListControl.cs:
	* ListItem.cs:
	* ListItemCollection.cs:
	* Repeater.cs:
	* ServerValidateEventArgs.cs:
	* Style.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: more class status page based changes.

svn path=/trunk/mcs/; revision=5508
2002-06-30 23:24:53 +00:00
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00
Gaurav Vaish 01172da4be 2001-12-21 Gaurav Vaish <[email protected]>
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs

  -- The ISP was down yesterday and today morning. So many files. See changelog for more details.

svn path=/trunk/mcs/; revision=1666
2001-12-21 08:42:28 +00:00
Gaurav Vaish a25836b7b2 2001-12-19 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs

 --> Got over 100 erros, 50+ warning (with /nowarn:1595). Trying to remove them for first build. Completing uncompleted. Creating new ones.

svn path=/trunk/mcs/; revision=1640
2001-12-19 10:35:06 +00:00
Gaurav Vaish 65596a386e 2001-12-17 Gaurav Vaish <[email protected]>
* RepeaterItem  --- Initial DUMMY implementation

* AdRotator - Minor

* BaseCompareValidator -- Large part done
* ListControl -- Minor error

* RepeaterCommandEventArgs -- Modified

svn path=/trunk/mcs/; revision=1591
2001-12-16 15:28:23 +00:00
Gaurav Vaish 6ef8607b21 2001-12-02 Gaurav Vaish <[email protected]>
* ListControl.cs     --- Done

svn path=/trunk/mcs/; revision=1506
2001-12-02 17:13:20 +00:00
Gaurav Vaish 02473cec3d 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs       --- Finished it. And also understood what DataBinding is all about. :)))

svn path=/trunk/mcs/; revision=1496
2001-12-01 05:15:43 +00:00
Gaurav Vaish 5d79c2e260 2001-12-01 Gaurav Vaish <[email protected]>
* ListControl.cs  --- Pretty descent. Looks complete.

svn path=/trunk/mcs/; revision=1494
2001-12-01 04:56:03 +00:00
Gaurav Vaish c11b52a917 2001-11-30 Gaurav Vaish <[email protected]>
Important changes:

 * System.Web.WebUtils removed... renamed to System.Web.Utils based on some hacking done.

 * AdRotator.cs      --- Updated to use Utils
 * BaseDataList.cs   --- Removing rubbishness
 * CheckBox.cs       --- Working
 * CheckBoxList.cs   --- Finalized?
 * ListControl.cs    --- Initital Implementation

svn path=/trunk/mcs/; revision=1486
2001-11-30 03:43:45 +00:00
Gaurav Vaish 5feaa3ea7a 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBoxList.cs     --- Wanted to go for this class.

* ListControl.cs      --- But ended up taking up this one.

svn path=/trunk/mcs/; revision=1475
2001-11-29 18:11:51 +00:00