Commit Graph
20 Commits
Author SHA1 Message Date
Ben Maurer 2db31ba22c round one
svn path=/trunk/mcs/; revision=48990
2005-08-27 21:03:38 +00:00
Chris Toshok 881b6585d7 2005-08-27 Chris Toshok <[email protected]>
* HtmlControl.cs (GetAttribute, SetAttribute): implement.


svn path=/trunk/mcs/; revision=48986
2005-08-27 20:00:16 +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
Gonzalo Paniagua Javier c43284e202 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableCell.cs:
	* HtmlControl.cs: updates for 1.1 SP1.


svn path=/trunk/mcs/; revision=45622
2005-06-08 08:27:30 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Jackson Harper ee6bbb7e18 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
<[email protected]>.

svn path=/trunk/mcs/; revision=20669
2003-12-01 18:07:06 +00:00
Jackson Harper 7df1cd966c * HtmlControl.cs: Make disabled an attribute of the control so it
is rendered. This is a slightly modifed version of a patch
	by Yaron Shkop. Fixes bug #50160.

svn path=/trunk/mcs/; revision=19469
2003-10-29 22:14:46 +00:00
Andreas N e3a6958672 2003-07-17 Andreas Nahr <[email protected]>
* HtmlContainerControl.cs: Added attributes
	* HtmlControl.cs: Added attributes
	* HtmlInputControl.cs: Fixed public signature
	* HtmlInputRadioButton.cs: Fixed public signature
	* HtmlSelect.cs: Added missing attribute
	* HtmlTable.cs: Added missing attribute

svn path=/trunk/mcs/; revision=16359
2003-07-17 21:57:46 +00:00
Gonzalo Paniagua Javier 50b945fca5 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
	in MapPath.

	* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
	HtmlControl to keep the tag name.

	* System.Web.Util/UrlUtils.cs: fixed Combine ().

svn path=/trunk/mcs/; revision=11027
2003-01-29 19:16:39 +00:00
Gonzalo Paniagua Javier 26c28da391 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlContainerControl.cs:
	* HtmlControl.cs:
	* HtmlForm.cs:
	* HtmlGenericControl.cs:
	* HtmlImage.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputFile.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTable.cs:
	* HtmlTableCell.cs:
	* HtmlTableRow.cs:
	* HtmlTextArea.cs: added almost all missing attributes.

svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00
Gonzalo Paniagua Javier 55c864a5a4 Use Attributes in Style
svn path=/trunk/mcs/; revision=5956
2002-07-20 07:13:03 +00:00
Gonzalo Paniagua Javier 9ee5e0198a 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs:
	(Add): handle 'style' through styleCollection.

	* System.Web.UI/CssStyleCollection.cs:
	(fillStyle): renamed to FillStyle and made it internal.

	* System.Web.UI/Page.cs:
	(GetViewStateString): fixed, broken after other recent changes.
	(ProcessPostData): allow a second try for postback data after OnLoad.
	(ProcessRequest): clear controls collection, removed call to
	UnloadRecursive.

	* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
	ViewState as its StateBag, if not style values are lost between
	postbacks.

	* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
	(OnPreRender): don't save Text if there are no listeners on TextChanged.

svn path=/trunk/mcs/; revision=5954
2002-07-20 07:07:39 +00:00
Gonzalo Paniagua Javier 2a93e6a46e 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputText.cs:
	* HtmlTextArea.cs: Initialize EventHandlerList indexer.

	* HtmlContainerControl.cs: almost rewritten to use a LiteralControl
	instead of maintaining some flags and strings. Implemented
	LoadViewState.

	* HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.

	* HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
	and Value.

svn path=/trunk/mcs/; revision=5864
2002-07-17 16:08:01 +00:00
Gonzalo Paniagua Javier 129ad6efaa 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponse.cs:
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.UI/LiteralControl.cs:
	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	* System.Web.UI.HtmlControls/HtmlButton.cs:
	* System.Web.UI.HtmlControls/HtmlControl.cs:
	* System.Web.UI.HtmlControls/HtmlForm.cs:
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
	* System.Web.UI.HtmlControls/HtmlInputControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
	* System.Web.UI.HtmlControls/HtmlInputImage.cs:
	* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputText.cs:
	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	* System.Web.UI.HtmlControls/HtmlTable.cs:
	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	* System.Web.UI.HtmlControls/HtmlTextArea.cs:

	Fixes based on class status page:

		- Add attributes (DefaultEvent, ParseChildren).
		- Fix declarations.
		- Explicitly implement some interfaces (IPostBackDataHandler
		and IPostBackEventHandler).
		- Implemented some missing methods.

svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Gonzalo Paniagua Javier 99f37626e5 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: for each child control to render, assign
	Control.Page. Probably also needed in HtmlContainerControl derived
	classes.

	* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
	new RenderBeginTag method, defined in MS docs.

	* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
	browser.

	* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
	without arguments. Xsp used it, though now it always use the other
	.ctor.

	* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
	implemented set_Name.

svn path=/trunk/mcs/; revision=5135
2002-06-06 11:38:30 +00:00
Gonzalo Paniagua Javier 62aeab6dc1 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
	now works fine and takes care of the details.

	* System.Web.UI/Control.cs: added HasChildren property.

	* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.

	* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
	override, not new.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
	Render method in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
	render the tag and its attributes. Works for container and
	non-containers.

	* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
	to be new. Implemented Height property.

svn path=/trunk/mcs/; revision=5130
2002-06-05 15:58:32 +00:00
Duncan Mak 9c19cc267c 2002-05-07 Duncan Mak <[email protected]>
* HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
	clashing with the method defined in the parent class.
	(OnDataBinding): Added missing casts.

	* HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
	'this' to IAttributeAccessor before calling interface method.
	Also renamed some calls to reflect changes in the API.

	* HtmlControl.cs (WriteOnClickAttribute): Made it not static and
	fixed a typo.

svn path=/trunk/mcs/; revision=4485
2002-05-10 14:11:22 +00:00
Gaurav Vaish b259284dc2 2002-24-02 Gaurav Vaish <[email protected]>
* *.cs -- Updates from Leen Toelen ([email protected])

svn path=/trunk/mcs/; revision=2142
2002-01-24 04:14:05 +00:00
Miguel de Icaza 7c9ee1a3ee Flush pending changes I got from a contributor that did not put his name in
svn path=/trunk/mcs/; revision=1263
2001-11-05 07:10:08 +00:00
Bob Smith f417e9e65d More implementations.
svn path=/trunk/mcs/; revision=565
2001-08-22 16:07:36 +00:00