Commit Graph
23 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier d2b127ebfa 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed Visible property.
	* Page.cs: fixed GetViewStateString.

svn path=/trunk/mcs/; revision=5653
2002-07-08 18:02:45 +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 a524bd67b5 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs:
	(Session): return null instead of throwing an exception.

	* System.Web/HttpRequest.cs:
	(HttpMethod): return RequestType if not set.
	(GetRawContent): return QueryString if we don't have a
	HttpWorkerRequest.

	* System.Web/HttpUtility.cs: fixed Decode and Encode.

	* System.Web.UI/Control.cs: reimplemented FindControls.

	* System.Web.UI/Page.cs:
	(.ctor): set the page for this control.
	(IsPostBack): return valid value.
	(DeterminePostBackMode): finished.
	(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
	(ProcessPostData): implemented. Raises change and postback events.
	(ProcessRequest): changed to support reuse of the instance.
	(RegisterRequiresPostBack): implemented.

	* System.Web.UI/ValidatorCollection.cs: implemented all methods.

	* System.Web.UI.WebControls/Button.cs:
	(.ctor): fixed to render the correct tag.
	(IPostBAckEventHandler.RaisePostBackEvent): fixed.

svn path=/trunk/mcs/; revision=5499
2002-06-29 16:27:54 +00:00
Gonzalo Paniagua Javier 0b02144e55 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs:
	* System.Web/HttpContext.cs: added System.Web.SessionState namespace.

	* System.Web/HttpSessionState.cs: removed. It is under
	System.Web.SessionState.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs: first attemp to save view state.

	* System.Web.UI.HtmlControls/HtmlForm.cs: don't render Action.

svn path=/trunk/mcs/; revision=5455
2002-06-25 20:54:16 +00:00
Gonzalo Paniagua Javier 087e90c0ff 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs:
	(AddedControl): new function that is called whenever a control is
	added to a collection of controls in a container. It sets the defaults
	except for Page.

	* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.

	* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
	Text, Render, SetStaticString and SetDataBoundString.

	* System.Web.UI/Page.cs: removed SetDefaults.

	* System.Web.UI.WebControls/Repeater.cs: implemented
	CreateControlHierarchy. Fixed some event processing methods.

svn path=/trunk/mcs/; revision=5357
2002-06-20 07:59:53 +00:00
Gonzalo Paniagua Javier 865ba07b1a 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/CompiledTemplateBuilder.cs: new file. Used in the
	code generated by xsp.

	* System.Web.UI/Control.cs:
	(BindingContainer): implemented.
	(EnsureChildControls): avoid stack overflow.

	* System.Web.UI/DataBinder.cs: implemented Eval and PropertyValue.

	* System.Web.UI.WebControls/Repeater.cs:
	(Controls):
	(OnDataBinding): fixed stack overflow.

	Still need more work in Repeater.cs to make it render.

svn path=/trunk/mcs/; revision=5345
2002-06-19 14:49:12 +00:00
Gonzalo Paniagua Javier 0e138b26f1 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented PreventAutoID.

	* System.Web.UI/Page.cs:
	(SetDefaults): don't set ID automatically if Control.PreventAutoID has
	been called.

	* System.Web.UI.WebControls/Style.cs: fixed IsEmpty and Width.

	* System.Web.UI.WebControls/Table.cs: mono-stylized.
	(TableRowControlCollection.AddAt): fixed.
	(AddAttributesToRender): fixed.

	* System.Web.UI.WebControls/TableCell.cs: mono-stylized.
	(.ctor): use PreventAutoID.
	(AddAttributesToRender): fixed.
	(AddParsedSubObject): fixed.

	* System.Web.UI.WebControls/TableRow.cs: mono-stylized. Added
	ParseChildren attribute.

	* System.Web.UI.WebControls/TableStyle.cs:
	(get_GridLine): fixed.

svn path=/trunk/mcs/; revision=5307
2002-06-17 11:10:08 +00:00
Gonzalo Paniagua Javier b79e2220a3 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
	don't throw NotImplementedException in constructors.

	* System.Web.UI/Control.cs:
	(MapPathSecure): until security is implemented, return the same path
	received as argument.
	(RenderControl): call OnPreRender before rendering the control. So
	AdRotator can read its configuration file.Is there any other place
	where this should be done?

	* System.Web.UI/HtmlTextWriter.cs:
	(AddAttribute): fixed. Now it really stores attributes.
	(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).

	* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
	should, but now it returns useful data (only the first ad in the file).
	Set the NavigateUrl property in the hyperlink if available.

	* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
	couple of stack overflows.

	* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
	stack overflow.

	* System.Web.UI.WebControls/WebControl.cs:
	(RenderBeginTag): fixed.
	(TagName): don't call Enum.IsDefined twice.

svn path=/trunk/mcs/; revision=5230
2002-06-11 19:37:03 +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 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
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
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Gaurav Vaish 9857157773 2001-12-19 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls/*.cs

  ---      Still working hard to make build succesfull. Lots of errors. Really, lots and lots. Not it's 6:00AM and I need to sleep :))

svn path=/trunk/mcs/; revision=1634
2001-12-18 20:29:05 +00:00
Gaurav Vaish 810ebf9a88 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web.UI.WebControls.cs  -- trying to make build. A nightmare!!

svn path=/trunk/mcs/; revision=1629
2001-12-18 15:34:40 +00:00
Gaurav Vaish 7679c319e1 2001-12-18 Gaurav Vaish <[email protected]>
* System.Web.UI/*.cs
* System.Web/*.cs      -- Looks like I need to take control of this now. Build is otherwise failing

svn path=/trunk/mcs/; revision=1627
2001-12-18 14:11:11 +00:00
Bob Smith 32cee6c01e Control.cs: Figured out some undocumented API.
svn path=/trunk/mcs/; revision=658
2001-08-28 20:50:33 +00:00
Bob Smith 01b04fb75b Control.cs: Bug fixes and implementations.
svn path=/trunk/mcs/; revision=647
2001-08-27 20:09:30 +00:00
Bob Smith 68dae9923e Control.cs: Bug fixes.
svn path=/trunk/mcs/; revision=607
2001-08-24 15:04:13 +00:00
Bob Smith 9efa35f799 Control.cs: More implementation. Events reworked for performance.
svn path=/trunk/mcs/; revision=591
2001-08-23 19:07:24 +00:00
Bob Smith f417e9e65d More implementations.
svn path=/trunk/mcs/; revision=565
2001-08-22 16:07:36 +00:00
Bob Smith 94e5d7320c Added more notes for later use.
svn path=/trunk/mcs/; revision=543
2001-08-21 15:55:20 +00:00
Bob Smith 134538f13a Control.cs: More implementation.
svn path=/trunk/mcs/; revision=522
2001-08-20 20:24:35 +00:00
Bob Smith d2688d7fc5 Started work on System.Web.UI.Control
svn path=/trunk/mcs/; revision=488
2001-08-17 15:30:43 +00:00