Commit Graph
6 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
Sebastien Pouliot 654fbba661 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
	

svn path=/trunk/mcs/; revision=50252
2005-09-19 18:43:11 +00:00
Sebastien Pouliot 87102f681d 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on HRef property for 2.0.
	* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlHead.cs: Remove IPageHeader interface.
	* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
	* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputImage.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on Src property for 2.0.
	* HtmlInputPassword.cs: Added [SupportsEventValidation].
	* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputReset.cs: Added [SupportsEventValidation].
	* HtmlInputSubmit.cs: Added [SupportsEventValidation].
	* HtmlInputText.cs: Added [SupportsEventValidation] on class and 
	re-enabled RenderAttribute for 2.0.
	* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
	* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.


svn path=/trunk/mcs/; revision=50248
2005-09-19 18:08:33 +00:00
Sebastien Pouliot 32d253709e 2005-09-01 Sebastien Pouliot <[email protected]>
* HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
	HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
	HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
	HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs, 
	HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
	HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
	HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
	HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs, 
	HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
	attributes AspNetHostingPermission for Minimal level on all classes
	(LinkDemand) and for non-sealed classes (InheritanceDemand).


svn path=/trunk/mcs/; revision=49299
2005-09-01 21:24:35 +00:00
Chris Toshok 51661c2c64 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: doh, make this NET_2_0 only.


svn path=/trunk/mcs/; revision=49002
2005-08-28 05:25:29 +00:00
Chris Toshok 0c33719c43 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: implement.


svn path=/trunk/mcs/; revision=49001
2005-08-28 05:06:54 +00:00