Commit Graph
37 Commits
Author SHA1 Message Date
Marek Habersack 81c4068d12 2008-10-17 Marek Habersack <[email protected]>
* ImageMap.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in Render ().

	* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().

	* TextBox.cs: validate the event in LoadPostData ().
	Register for event validation in AddAttributesToRender ().

	* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
	Register for event validation in Render ().

	* RadioButton.cs: validate the event in LoadPostData ().
	Register for event validation in InternalAddAttributesToRender.

	* CheckBox.cs, RadioButtonList.cs: validate the event in
	RaisePostDataChangedEvent.

	* Menu.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in GetClientEvent ().

	* DetailsView.cs, GridView.cs: validate the event in
	RaisePostBackEvent ().
	Register for validation in GetCallbackScript () and in OnPreRender

	* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
	ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* Control.cs: added the ValidateEvent internal method, used by
	classes descending from Control to automatically trigger event
	validation.

	* Page.cs: removed the CheckForValidationSupport method. It moved
	to Control.cs
	RaisePostBackEvent no longer validates the events, this
	functionality has been moved to Control.ValidateEvent.

2008-10-17  Marek Habersack  <[email protected]>

	* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.

	* HtmlInputButton.cs: validate the event in
	RaisePostBackEventInternal ().
	Register for event validation in RenderAttributes ()

	* HtmlTextArea.cs: validate the event in
	RaisePostBackDataChangedEvent ().

	* HtmlButton.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ()

	* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ().

	* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
	LoadPostData.

	* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
	HtmlInputPassword.cs: validate the event in
	RaisePostDataChangedEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* MenuAdapterTest.cs: work around event validation failure in the
	test environment.

2008-10-17  Marek Habersack  <[email protected]>

	* PageTest.cs: use a custom version of HtmlInputHidden control to
	work around the new event validation code which doesn't work in
	this instance.

svn path=/trunk/mcs/; revision=116231
2008-10-17 14:56:19 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Marek Habersack 7b644dae90 2007-10-01 Marek Habersack <[email protected]>
* ListItem.cs: make HasAttributes available for the 1.1 profile as
	well.

	* DropDownList.cs: render custom ListItem attributes in the 1.1
	profile. Fixes bug #326288

svn path=/trunk/mcs/; revision=86701
2007-10-01 13:30:11 +00:00
Marek Habersack a53f2c9675 2007-09-25 Marek Habersack <[email protected]>
* WebControl.cs: added an internal method, BuildScriptAttribute,
	which merges the specified JavaScript code in an attribute, with
	the value of that attribute specified by the user.

	* CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
	preserve user-specified attribute value, if present.

	* ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
	after doing its job. AutoPostBack handling makes sure to preserve
	user-specified attribute value, if present. Fixes bug #327816.

svn path=/trunk/mcs/; revision=86294
2007-09-25 00:22:04 +00:00
Igor Zelmanovich c34ff0e8bc 2007-08-01 Igor Zelmanovich <[email protected]>
* DropDownList.cs: fixed onchange attribute.


svn path=/trunk/mcs/; revision=83198
2007-08-01 14:36:21 +00:00
Igor Zelmanovich b5a21f4848 2007-03-05 Igor Zelmanovich <[email protected]>
* DropDownList.cs: in 2.0 first item is rendered with selected attribute
	is Enabled=false and no selected items.

svn path=/trunk/mcs/; revision=73735
2007-03-05 16:53:35 +00:00
Igor Zelmanovich c31ba5e272 2007-03-05 Igor Zelmanovich <[email protected]>
* DropDownList.cs:
	* ListBox.cs:
	used "ONLY_1_1" instead "!NET_2_0"	


svn path=/trunk/mcs/; revision=73722
2007-03-05 15:34:59 +00:00
Igor Zelmanovich c20d29ca50 2007-01-31 Igor Zelmanovich <[email protected]>
* CheckBoxList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* RadioButtonList.cs:
	EnsureDataBound is called when PostData is processed to restore 
	'state' of control if EnableViewState is false				 

svn path=/trunk/mcs/; revision=72025
2007-01-31 14:16:39 +00:00
Igor Zelmanovich 32e03f9a63 2006-12-10 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	* ListBox.cs:
	* DropDownList.cs:
	fixed rendering for 2.0			


svn path=/trunk/mcs/; revision=69271
2006-12-10 12:39:55 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Igor Zelmanovich 698f4abb82 2006-11-19 Igor Zelmanovich <[email protected]>
* DropDownList.cs: fixed: support for event validation.

svn path=/trunk/mcs/; revision=68154
2006-11-19 15:13:04 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Igor Zelmanovich bd0cfe9cbf 2006-10-30 Igor Zelmanovich <[email protected]>
* DropDownList.cs: fixed: rendering "name" attribute".


svn path=/trunk/mcs/; revision=67122
2006-10-30 10:48:16 +00:00
Igor Zelmanovich 5ac4523ef5 make rendering of the onclick attribute to consider ValidationGroup property
Page.Validate() is called when CausesValidation=true


svn path=/trunk/mcs/; revision=65581
2006-09-18 14:37:33 +00:00
Gonzalo Paniagua Javier 7d8b3bf80f 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
* DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.


svn path=/trunk/mcs/; revision=54128
2005-12-08 21:28:02 +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
Sebastien Pouliot 0bbe2342c3 2005-09-20 Sebastien Pouliot <[email protected]>
* AccessDataSource.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [ToolboxBitmap] on class.
	* AdRotator.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Removed extra Page and ViewState properties.
	* BulletedList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Button.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Calendar.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* CheckBox.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* CompositeControl.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added new protected RecreateChildControls method.
	* DataControlCommands.cs: Added declarative security (LinkDemands) for 
	Minimal. Added private ctor.
	* DataGrid.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Fixed properties for 2.0 (mostly removing 
	[Bindable]). Added override for TagKey property.
	* DataGridColumn.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
	* DataGridItem.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added IDataItemContainer interface for 2.0.
	* DataGridPagerStyle.cs: Added declarative security (LinkDemands) for 
	Minimal. Remove [Bindable] from 2.0 and add [Localizable].
	* DataList.cs: Removed [Load|Save]ControlState methods.
	* DropDownList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* EditCommandColumn.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Added missing attributes, 
	[DefaultValue] and [Localize] for 2.0.
	* FontInfo.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Remove [Bindable] and added [RefreshProperties] 
	for 2.0.
	* Login.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
	* ImageButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* LinkButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* ListBox.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Literal.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
	* LoginStatus.cs: Added missing [Themeable] attributes on properties.
	* MenuItemStyle.cs: Changed IsEmpty to public (required to compile - 
	but will be shown as extra).
	* RadioButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* RadioButtonList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* RangeValidator.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added missing [Themeable] attributes.
	* RegularExpressionValidator.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add 
	[Localizable].
	* RoleGroupCollection.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Fixed base class (changed in RC). 
	Re-implemented CopyTo. Removed some methods.
	* Style.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
	is now public in 2.0.
	* Table.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* TableCell.cs: Fixed PersistenceMode for 2.0.
	* TextBox.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* TreeNodeStyle.cs: Changed IsEmpty to public (required to compile - 
	but will be shown as extra).
	* WebControl.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated 
	property.


svn path=/trunk/mcs/; revision=50329
2005-09-20 19:41:00 +00:00
Chris Toshok 071571acdf 2005-09-09 Chris Toshok <[email protected]>
* CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
	ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
	LoadPostData/RaisePostDataChangedEvent.


svn path=/trunk/mcs/; revision=49828
2005-09-09 20:25:04 +00:00
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 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
Peter Dennis Bartok d50296e731 2005-08-25 Peter Dennis Bartok <[email protected]>
* StyleTest.cs: Added tests for CssRegisteredStyle

2005-08-03  Peter Dennis Bartok  <[email protected]>

	* EditCommandColumnTest.cs: Updated; InitializeCell() passes except
	  for the missing footer; InitializeCellEdit() has a problem with
	  the name given to the TextBox controls

2005-08-03  Peter Dennis Bartok  <[email protected]>

	* EditCommandColumnTest.cs: Enable tests

2005-08-03  Peter Dennis Bartok  <[email protected]> 

	* DataGridPagerStyleTest.cs: Added testcase

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* StyleTest.cs: Added font-related tests to check for special
	  Name/Names behaviour

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* EditCommandColumnTest.cs: Added tests; marked some as NotWorking
	  until PagedDataSource is not throwing NotImpl

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* CustomValidatorTest.cs: Added tests

2005-07-27  Peter Dennis Bartok  <[email protected]>

	* DataGridPagerStyleTest.cs: Added tests

2005-07-26  Peter Dennis Bartok  <[email protected]>

	* DataGridItemTest.cs: Added tests

2005-07-26  Peter Dennis Bartok  <[email protected]> 

	* DataGridItemCollectionTest.cs: Added tests

2005-07-25  Peter Dennis Bartok  <[email protected]> 

	* StyleTest.cs: Refined tests

2005-07-21  Peter Dennis Bartok  <[email protected]> 

	* CustomValidatorTest.cs: Added

2005-07-21  Peter Dennis Bartok  <[email protected]> 

	* RangeValidatorTest.cs: More test cases

2005-07-20  Peter Dennis Bartok  <[email protected]> 

	* DropDownListTest.cs: Added [ExpectedException] for double select
	  test

2005-07-20  Peter Dennis Bartok  <[email protected]> 

	* ValidationSummaryTest.cs: Added rendering tests

2005-07-19  Peter Dennis Bartok  <[email protected]> 

	* DropDownListTest.cs: Testcases added
	* RangeValidatorTest.cs: Added
	* ValidatedControlConverterTest.cs: Added
	* ValidationSummaryTest.cs: Added

2005-07-15  Peter Dennis Bartok  <[email protected]> 

	* DropDownListTest.cs: Testcases added

2005-07-14  Peter Dennis Bartok  <[email protected]> 

	* WebColorConverter.cs: Testcases added

2005-07-14  Peter Dennis Bartok  <[email protected]> 

	* TargetConverterTest.cs: Testcases added

2005-07-13  Peter Dennis Bartok  <[email protected]> 

	* FontNamesConverterTest.cs: Testcases added

2005-07-13  Peter Dennis Bartok  <[email protected]>

	* ListItemCollectionTest.cs: Added
	* ListBoxTest.cs: Marked test as not working since it dependes on
	  ListControl making a call to an obsolete internal method

2005-07-12  Peter Dennis Bartok  <[email protected]>

	* WebControlTest.cs: Added test for loading/saving of state. Switched
	  to use Sebastiens GetWriter method

2005-07-11  Peter Dennis Bartok  <[email protected]>

	* WebControlTest.cs: Added test.

2005-07-07  Peter Dennis Bartok  <[email protected]>

	* StyleTest.cs: Added test.

2005-07-21  Peter Dennis Bartok  <[email protected]>

	* PageTest.cs: Added new test file, added exception test for
	  Request property

2005-07-18  Peter Dennis Bartok  <[email protected]>

	* ControlTest.cs: Added test file for Control class, initially
	  contains only IDataBindingsAccessor test

2005-07-26  Peter Dennis Bartok  <[email protected]>

	* HtmlSelect.cs: Added missing attributes

2005-07-25  Peter Dennis Bartok  <[email protected]>

	* HtmlForml.cs: Implemented UniqueID (new in sp1)
	* HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes

2005-07-21  Peter Dennis Bartok  <[email protected]>

	* Page.cs: Need to throw exception when accessing Request but no
	  context exists

2005-07-18  Peter Dennis Bartok  <[email protected]>

	* Control.cs: Added IDataBindingsAccessor interface methods

2005-07-18  Peter Dennis Bartok  <[email protected]>

	* Control.cs: Added missing IParserAccessor.AddParsedSubObject 
	  interface method

2005-07-18  Peter Dennis Bartok  <[email protected]>

	* Control.cs:
	  - Default name for controls on MS.Net is "_ctl" not "_ctrl"
	  - MS does not append 'a' for auto-generated names

2005-07-11  Peter Dennis Bartok  <[email protected]>

	* AttributeCollection.cs: 
	  - Changes to match MS behaviour, the "style" attribute is always 
	    added to the list, in addition to being added to the 
	    CssStyleCollection. Also added check for "style" attribute when 
	    setting via index setter
	  - When "Style" attribute is added, CssStyleCollection is 
	    automatically created
	  - The style keyword needs to be lowercase

2005-08-25  Peter Dennis Bartok  <[email protected]>

	* Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
	  and RegisteredCssClass property

2005-08-25  Peter Dennis Bartok  <[email protected]>

	* Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
	  Load ViewState for derived classes; no public LoadViewState override 
	  exists in those classes
	* Style.cs: Added 2.0 IsStyleEmpty method

2005-08-04  Peter Dennis Bartok  <[email protected]>

	* ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
	* ListControl.cs: Clear item list before adding data (again)

2005-08-04  Peter Dennis Bartok  <[email protected]> 

	* DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
	  creating rows
	* ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
	  if DataTextField is bound
	* EditCommandColumn.cs(InitializeCell): MS inserts a &nbsp; between the 
	  two controls in edit mode, lets do the same

2005-08-03  Peter Dennis Bartok  <[email protected]> 

	* EditCommandColumn.cs: No need to offer edit when in edit mode.
	  Flipped output

2005-08-03  Peter Dennis Bartok  <[email protected]> 

	* WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
	  set tracking var

2005-08-03  Peter Dennis Bartok  <[email protected]> 

	* DataGridPagerStyle.cs(PageButtonCount): Throw exception on
	  negative value

2005-08-01  Peter Dennis Bartok  <[email protected]> 

	* WebControl.cs: Track enabled state across sessions

2005-08-01  Peter Dennis Bartok  <[email protected]> 

	* ListControl.cs(OnDatabinding): Value is equivalent to text if
	  by default

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* FontInfo.cs:
	  - Name property now throws exception when set to null
	  - Names now handles situation where our bit tells us we have
	    a font, but it's not in the StateBag (null removal)
	* RangeValidator.cs: Removed unused vars

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* EditCommandColumn.cs: Implemented

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* CustomValidator.cs: Bug fixes (Thanks to Chris for creating the 
	  client side code)

2005-07-27  Peter Dennis Bartok  <[email protected]>

	* DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
	  for it's constructor, so remove it
	* DataGridPagerStyle.cs: Removed DataGrid argument from constructor

2005-07-27  Peter Dennis Bartok  <[email protected]> 

	* DataGridPagerStyle.cs: Implemented
	* TableItemStyle.cs (MergeWith): Now only sets style bits it owns
	* Style.cs: Added Styles enum values for DataGridPagerStyle

2005-07-26  Peter Dennis Bartok  <[email protected]>

	* DataGridItem.cs: Implemented

2005-07-26  Peter Dennis Bartok  <[email protected]>

	* DataGridItemCollection.cs: Implemented

2005-07-26  Peter Dennis Bartok  <[email protected]>

	* FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
	  Fixed use of literal strings, instead using Consts
	* Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
	  TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
	  Panel.cs, Literal.cs: Added attributes
	* BaseValidator.cs: Added missing override

2005-07-25  Peter Dennis Bartok  <[email protected]>

	* BaseValidator.cs: Added AssociateControlID (new in sp1), fixed 
	  attributes
	* Xml.cs: Fixed base class, attributes
	* Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs, 
	  Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs, 
	  CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs, 
	  DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs, 
	  ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes

2005-07-25  Peter Dennis Bartok  <[email protected]> 

	* DataGridSortCommandEventArgs: Sealed class
	* ButtonColumn.cs, Calendar.cs: Added Attributes

2005-07-25  Peter Dennis Bartok  <[email protected]>

	* Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
	  BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes

2005-07-25  Peter Dennis Bartok  <[email protected]> 

	* FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
	  DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes

2005-07-22  Peter Dennis Bartok  <[email protected]> 

	* Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)

2005-07-22  Peter Dennis Bartok  <[email protected]> 

	* Style.cs (CopyFrom): Reset our styles and don't set bits from
	  target explicitly, properties will set them

2005-07-21  Peter Dennis Bartok  <[email protected]> 

	* CustomValidator.cs: Initial implementation, still work in progress

2005-07-20  Peter Dennis Bartok  <[email protected]> 

	* DropDownList.cs: 
	  - Implemented RaisePostDataChangedEvent()
	  - Spewing postback command if AutoPostBack is true

2005-07-20  Peter Dennis Bartok  <[email protected]> 

	* ListItemCollection.cs: Removed obsolete method that's no longer
	  referenced

2005-07-20  Peter Dennis Bartok  <[email protected]>

	* DropDownList.cs: Oops. Forgot to implement LoadPostData
	* ListItemCollection.cs: Added convenience method to have faster
	  PostData handling

2005-07-20  Peter Dennis Bartok  <[email protected]>

	* DropDownList.cs:
	  - Automatically select the first item if none are selected
	  - Throw exception if more than one item is selected

2005-07-20  Peter Dennis Bartok  <[email protected]> 

	* ValidationSummary.cs: Implemented rendering

2005-07-19  Peter Dennis Bartok  <[email protected]> 

	* ValidationSummaryTest.cs: Started implementation
	* RangeValidator.cs: Implemented
	* ValidatedControlConverter.cs: Implemented
	* DropDownList.cs: Implemented

2005-07-14  Peter Dennis Bartok  <[email protected]> 

	* WebColorConverter.cs: 
	  - Alpha of 255 is only set if the hex number is exactly 6 digits
	  - Ben didn't like the catch { throw; } (even though MS documents to
	    do so)
	  - Use Invariant Culture for parsing (thanks, Ben)

2005-07-14  Peter Dennis Bartok  <[email protected]>

	* WebColorConverter.cs: Implemented

2005-07-14  Peter Dennis Bartok  <[email protected]>

	* TargetConverter.cs: Implemented

2005-07-13  Peter Dennis Bartok  <[email protected]>

	* FontNamesConverter.cs: Implemented

2005-07-13  Peter Dennis Bartok  <[email protected]> 

	* ListItemCollection.cs: Count can be derived from the array, which
	  allows us to use a Pair instead of a Triplet and save some space

2005-07-13  Peter Dennis Bartok  <[email protected]>

	* ListItemCollection.cs: Implemented
	* WebControl.cs: Added check for enumeration validity (thanks Jackson)

2005-07-13  Peter Dennis Bartok  <[email protected]>

	* FirstDayOfWeek.cs: Added

2005-07-13  Peter Dennis Bartok  <[email protected]>

	* Style.cs (AddAttributesToRender): Don't render attributes if they
	  contain only their default value

2005-07-12  Peter Dennis Bartok  <[email protected]>

	* WebControl.cs (AddAttributesToRender): Added ID to rendered
	  attributes

2005-07-12  Peter Dennis Bartok  <[email protected]>

	* Style.cs(MergeWith): Handle null styles

2005-07-12  Peter Dennis Bartok  <[email protected]> 

	* Style.cs: Only render font elements if fontinfo object exists
	* WebControl.cs:
	  - Implemented SaveViewState()
	  - Added loading of Style to LoadViewState
	  - Implemented IAttributeAccessor methods

2005-07-12  Peter Dennis Bartok  <[email protected]> 

	* WebControl.cs: 
	  - Implemented methods
	  - Fixed brackets

2005-07-12  Peter Dennis Bartok  <[email protected]> 

	* WebControl.cs: Implemented properties

2005-07-11  Peter Dennis Bartok  <[email protected]> 

	* FontInfo.cs: Now using BenM's fancy internal StateBag methods

2005-07-11  Peter Dennis Bartok  <[email protected]>

	* FontUnit.cs: Added TypeConverter attribute to class
	* FontUnitConverter.cs: Implemented

2005-07-11  Peter Dennis Bartok  <[email protected]>

	* Style.cs: Handle null constructor argument for bag

2005-07-07  Peter Dennis Bartok  <[email protected]>

	* FontInfo.cs: Fixed behaviour discrepancies showed by tests

2005-07-07  Peter Dennis Bartok  <[email protected]>

	* FontInfo.cs: Added and implemented.
	* Style.cs: Fixed behaviour discrepancies showed by tests

2005-07-06  Peter Dennis Bartok  <[email protected]>

	* Style.cs: Added and implemented.

2005-07-06  Peter Dennis Bartok  <[email protected]>

	* WebControl.cs: Added stub

svn path=/trunk/mcs/; revision=48922
2005-08-26 22:28:18 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +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 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 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 9021c6864b 2005-02-10 Lluis Sanchez Gual <[email protected]>
* Button.cs: Use validation group when validating page.
	* XmlDataSourceView.cs: Implemented ExecuteSelect.
	* Menu.cs: Minor fix.
	* CheckBox.cs: Added 2.0 properties and methods.
	* BaseDataList.cs: Always databind the control if view state
	is not enabled.
	* DataList.cs: In 2.0, use control state to save the selected index.
	* DetailsViewUpdatedEventArgs.cs: Fix typo.
	* CustomValidator.cs: Implement IStaticTextControl interface.
	* CheckBoxList.cs: Added missing 2.0 methods.
	* DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
	interface.
	* XmlDataSource.cs: Return childs of DocumentElement, not the root
	document.
	* DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
	Implemented 2.0 API.
	


svn path=/trunk/mcs/; revision=40379
2005-02-10 09:37:42 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +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 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 bb699e5ad9 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: uncommented Dispose.

	* System.Web.UI/Page.cs:
	(DeterminePostBackMode): more checkings.
	(GetPostBackClientHyperLink): implemented.
	(GetPostBackEventReference): added some comments with the HTML that MS
	generates for that.
	(ProcessRequest): fixed processing order. The page is unloaded after
	a request and regenerated from view state on subsequents posts.

	* System.Web.UI.WebControls/DropDownList.cs:
	(ToolTip): fixed.

	* System.Web.UI.WebControls/ListItem.cs:
	(LoadViewState): fixed.

	* System.Web.UI.WebControls/ListItemCollection.cs:
	(TrackViewState): use items instead of 'this' in foreach.

	* System.Web.UI.WebControls/Style.cs:
	(LoadViewState): more checking of parameters.

	* System.Web.UI.WebControls/WebControl.cs: implemented LoadViewState
	and SaveViewState.

svn path=/trunk/mcs/; revision=5945
2002-07-19 18:55:14 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Gonzalo Paniagua Javier 91e5108757 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: forgot to add using System.ComponentModel.

	* BaseValidator.cs: use explicitly
	System.ComponentModel.AttributeCollection as there is another class
	with the same name under System.Web.UI.

svn path=/trunk/mcs/; revision=5642
2002-07-08 00:01:33 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +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 ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish 15ae7bf033 2002-01-30 Gaurav Vaish <[email protected]>
* DropDownList.cs  -- Completed

* ListItemCollection.cs -- Add method FindByValueInternal to assist derived
 classes. Found a bug in FindByValue(...). Corrected

* ChangeLog, TODO  -- Properly Updated

svn path=/trunk/mcs/; revision=2194
2002-01-30 03:58:31 +00:00