Commit Graph
217 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier ba2f475939 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: fixed name of Enctype property and render enctype
	enctype attribute.

	* HtmlInputControl.cs: tag type is "input", not "type".

svn path=/trunk/mcs/; revision=5145
2002-06-06 23:38:26 +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
Gonzalo Paniagua Javier 3165dc992d 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added /debug flag. I wanna see line numbers in
	exceptions thrown.

	* System.Web.UI/Page.cs: run OnInit, OnLoad y PreRender before
	rendering the page. Invoke Page_Init and/or Page_Load if the user
	supplied them (though this should depend on AutoEventWireUp attribute
	of Page directive)

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: some formatting
	and use HttpUtility.Encode instead of Page.Server to encode InnerText.

svn path=/trunk/mcs/; revision=5126
2002-06-04 23:09:33 +00:00
Gonzalo Paniagua Javier f1b29831f9 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: don't throw exception in ControlID. By now,
	it returns ID.

	* System.Web.UI/Page.cs:
	(ProcessRequest): implemented.

	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	(RenderAttributes): new -> override and fixed little bug that made
	it cause an stack overflow.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: reformatted and
	added tag and its attributes rendering.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: removed TagName,
	which is already in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlTable.cs:
	(RenderEndTag): new -> override.

svn path=/trunk/mcs/; revision=5117
2002-06-04 16:49:33 +00:00
Gonzalo Paniagua Javier b90100aed8 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: stubbed out.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.

	* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.

	* System.Web.SessionState/IReadOnlySessionState.cs: New file.

	* System.Web.SessionState/IRequiresSessionState.cs: New file.

	* System.Web.SessionState/SessionStateMode.cs: New file.

	* System.Web.UI/Page.cs:
	(FileDependencies): now is public public.
	(EnableViewStateMAC): uncommented and made protected.
	(GetTypeHashCode): added method.

	* System.Web.UI.HtmlControls/HtmlForm.cs:
	(RenderAttributes): changed new by override.
	(Name): allow setting the property.

	* System.Web.UI.WebControls/WebControl.cs: added attributes
	PersistChildrenAttribute and ParseChildrenAttribute.

	* System.Web.Configuration/ChangeLog:
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Security/ChangeLog:
	* System.Web.Security/DefaultAuthenticationEventArgs.cs:
	* System.Web.SessionState/ChangeLog:
	* System.Web.SessionState/IReadOnlySessionState.cs:
	* System.Web.SessionState/IRequiresSessionState.cs:
	* System.Web.SessionState/SessionStateMode.cs: new files.

	Now we are able to compile some files generated by xsp with our
	System.Web classes.

svn path=/trunk/mcs/; revision=5102
2002-06-03 20:41:49 +00:00
Duncan Mak 47f3a806b1 2002-05-10 Duncan Mak <[email protected]>
* HtmlTableCellCollection.cs (this): Updated the indexer to return
	the right type, HtmlTableCell instead of HtmlTableRow.

	* TagPrefixAttribute.cs: Added to CVS.

svn path=/trunk/mcs/; revision=4491
2002-05-10 17:22:55 +00:00
Duncan Mak bab5fdb7f4 2002-05-10 Duncan Mak <[email protected]>
* System.Web.build: Include the System.Web.UI.HtmlControls namespace.

	* Page.cs:
	* ValidatorCollection.cs: Stubs to make things compile for
	now. Added one dummy method (RegisterClientScriptFile) that's used
	in the existing codebase,  but not in MS docs.

	* HtmlInputImage.cs (OnServerClick): Commented out parts that
	won't compile.

	* HtmlForm.cs (RenderAttributes):
	(RenderChildren): Commented out code that doesn't compile.

svn path=/trunk/mcs/; revision=4488
2002-05-10 15:02:22 +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
Miguel de Icaza 6c6fecaea1 More files from Toelen
svn path=/trunk/mcs/; revision=1101
2001-10-05 16:09:01 +00:00
Sean MacIsaac 6d11b05caa Removing old build files. NAnt doesn't use them.
svn path=/trunk/mcs/; revision=969
2001-09-26 09:11:29 +00:00
Miguel de Icaza a6933952be New update from Leen Toelen
svn path=/trunk/mcs/; revision=734
2001-09-06 17:24:29 +00:00
Bob Smith a430140b9e HtmlAnchor.cs, HtmlTextArea.cs: Initial implementation. - Leen Toelen
svn path=/trunk/mcs/; revision=709
2001-09-03 03:13:23 +00:00
Bob Smith 409bb35a33 LiteralControl implemented, and HtmlContainerControl bugfixed.
svn path=/trunk/mcs/; revision=570
2001-08-22 19:46:35 +00:00
Bob Smith f417e9e65d More implementations.
svn path=/trunk/mcs/; revision=565
2001-08-22 16:07:36 +00:00