2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
index bd30268511fab63a2ebe823ac727d75e487aacc8..f6c83aa351e88b5853e118a590476b9a7af0ad78 100644 (file)
@@ -1,3 +1,173 @@
+2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: fixed related to ViewState. Added RemovedControl.
+
+       * ControlCollection.cs: notify owner of control removal.
+       
+       * CssStyleCollection.cs: almost rewritten to make it render the style
+       attribute after changes to it.
+
+       * Page.cs: follow the guidelines in 'Control execution lifecycle'.
+       Removed Xml code.
+
+       * StateBag.cs: don't use IDictionary.GetEnumerator on the
+       HybridDictionary: it makes the program give an InvalidCastException at
+       runtime. Why?
+
+2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: fire Init and Load events for all children.
+
+2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * UserControl.cs: New file.
+
+2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ControlBuilderAttribute.cs: finished implementation.
+
+2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ConstructorNeedsTagAttribute.cs: the default constructor sets the
+       property to false.
+
+2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
+
+       * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
+       Hashtable. Added internal .ctor.
+
+       * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
+       Equals and GetHashCode.
+
+       * System.Web.UI/DataBoundLiteralControl.cs:
+       (LoadViewState):
+       (SaveViewState): implemented.
+
+       * System.Web.UI/Page.cs: FileDependencies is not public.
+
+       * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
+       (GetHashCode):
+       (Equals):
+       (IsDefaultAttribute): implemented.
+
+2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: fixed Visible property.
+       * Page.cs: fixed GetViewStateString.
+
+2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Web.UI/Page.cs:
+       (GetViewStateString): new function to give the server access to the
+       generated view state string.
+       (Validate): d'oh!
+
+2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs:
+       (SaveViewstateRecursive): implemented.
+       (SaveViewState): fixed.
+       (IParserAccessor.AddParsedSubObject): don't use 'this'.
+
+       * Page.cs: added code to save view state to an xml file.  It's not
+       being used right now.
+
+2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Web.UI/LiteralControl.cs: 
+       Fixes based on class status page:
+       
+               - Add attributes (DefaultEvent, ParseChildren).
+               - Fix declarations.
+               - Explicitly implement some interfaces (IPostBackDataHandler
+               and IPostBackEventHandler).
+               - Implemented some missing methods.
+
+2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: reimplemented FindControls.
+
+       * 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.
+
+       * ValidatorCollection.cs: implemented all methods.
+
+2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs:
+       * Page.cs: first attemp to save view state.
+
+       * HtmlForm.cs: don't render Action.
+
+2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: implemented more properties using information we already
+       have in Context.
+       (OnFormRender):
+       (OnFormPostRender):
+       (VerifyRenderingInServerForm): implemented.
+
+2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
+       out runtime. Renamed Page_Init and Page_Load.
+
+       After this, we can load a dll and render HTML in linux.
+
+2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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.
+       
+       * ControlCollection.cs: call AddedControl in Add/AddAt.
+
+       * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
+       SetStaticString and SetDataBoundString.
+
+       * Page.cs: removed SetDefaults.
+
+2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CompiledTemplateBuilder.cs: new file. Used in the code generated
+       by xsp.
+
+       * Control.cs:
+       (BindingContainer): implemented.
+       (EnsureChildControls): avoid stack overflow.
+
+       * DataBinder.cs: implemented Eval and PropertyValue.
+
+2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
+       bug as in regular attributes).
+
+2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: implemented PreventAutoID.
+
+       * Page.cs:
+       (SetDefaults): don't set ID automatically if Control.PreventAutoID has
+       been called.
+
+2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs:
+       (Validators): if the collection is null, create one.
+       (GetPostBackEventReference 2): don't throw exception.
+       (GetPostBackClientEvent): return a string with containing the method
+       name, the control name and the argument.
+
 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Page.cs: SetPage is now called SetDefaults and also sets a default