2003-12-28 Alon Gazit * HtmlSelect.cs: add parentheses to if statement. Currently the else statement refers to the inner if statement. 2003-12-28 Alon Gazit * HtmlSelect.cs: fix upper bound of for statement. 2003-12-19 Jackson Harper * HtmlInputFile.cs: Do not set value when loading post data. 2003-12-14 Alon Gazit * HtmlInputButton.cs: The problem was in RenderAttributes(). Before adding the script to the HTML, the number of Validators should be checked. fixes bug #52158. 2003-12-07 Alon Gazit * HtmlTableCell.cs: fixing a typo in NoWrap property. 2003-12-04 Jackson Harper * HtmlInputRadioButton.cs: Lookup name in postadata and compare to value. This is because radio button groups are created by setting the name to the same value with each button, then on postback the value of the name is the id of the selected radio button. 2003-12-03 Gonzalo Paniagua Javier * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653. 2003-12-03 Gonzalo Paniagua Javier * HtmlSelect.cs: with the new LosFormatter, we get array types right, so remove the code used to workaround that. 2003-12-01 Jackson Harper * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit . 2003-11-25 Gonzalo Paniagua Javier * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit . Fixes bug #51377. 2003-11-24 Gonzalo Paniagua Javier * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit . 2003-10-29 Jackson Harper * 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. 2003-10-16 Gonzalo Paniagua Javier * HtmlTextArea.cs: fixed infinite recursion. 2003-10-13 Gonzalo Paniagua Javier * HtmlForm.cs: render the onsubmit attribute. 2003-08-26 Gonzalo Paniagua Javier * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we need to pass true here. Fixes bug #47918. 2003-07-17 Andreas Nahr * 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 2003-06-20 Gonzalo Paniagua Javier * HtmlSelect.cs: fixed bug #44894. 2003-04-30 Gonzalo Paniagua Javier * HtmlImage.cs: * HtmlInputControl.cs: * HtmlSelect.cs: added control builder attribute. * HtmlSelectBuilder.cs: builder for HtmlSelect. * HtmlControlBuilder.cs: common builder for all HtmlControls. 2003-01-29 Gonzalo Paniagua Javier * HtmlControl.cs: _tagName is now internal. * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag name. 2003-01-17 Gonzalo Paniagua Javier * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute. 2003-01-03 Gonzalo Paniagua Javier * HtmlInputButton.cs: fixed bug #35677. 2003-01-03 Gonzalo Paniagua Javier * HtmlInputControl.cs: fixed bug #35673. 2003-01-03 Gonzalo Paniagua Javier * HtmlInputText.cs: fixed bug #35670. 2002-11-12 Gonzalo Paniagua Javier * HtmlSelect.cs: fixed LoadViewstate. 2002-11-07 Gonzalo Paniagua Javier * HtmlButton.cs: make it do a POST if the button has any ServerClick events. 2002-09-23 Gonzalo Paniagua Javier * 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. 2002-07-20 Gonzalo Paniagua Javier * HtmlControl.cs: the attributes must use ViewState as its StateBag, if not style values are lost between postbacks. 2002-07-17 Gonzalo Paniagua Javier * 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. 2002-07-12 Gonzalo Paniagua Javier * HtmlGenericControl.cs: fixed TagName signature and get/set. * HtmlInputImage.cs: added attribute and fixed signature of ServerClick. * HtmlInputText.cs: added attribute. 2002-07-05 Gonzalo Paniagua Javier * HtmlForm.cs: don't render action attribute. 2002-07-04 Gonzalo Paniagua Javier * HtmlContainerControl.cs: (CreateControlCollection): added. All containers must have a non-empty control collection. 2002-06-30 Gonzalo Paniagua Javier * 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. 2002-06-24 Gonzalo Paniagua Javier * HtmlForm.cs: (RenderChildren): use OnFormRender and OnFormPostRender. 2002-06-09 Gonzalo Paniagua Javier * HtmlSelect.cs: (RenderAttributes): new -> override and fixes stack overflow. (RenderChildren): only 1 option can be selected at any given time except when Multiple property is true. (Multiple): the attribute value is either "true" or "false", not "multiple". * HtmlTable.cs: (Add): (AddAt): allow HtmlTableRow as children, not HtmlTableCell. * HtmlTableCell.cs: (RenderEndTag): new -> override. * HtmlTableRow.cs: (RenderChildren): fixed another stack overflow. (RenderEndTag): new -> override. * HtmlTextArea.cs: (RenderAttributes): new -> override. 2002-06-07 Gonzalo Paniagua Javier * HtmlInputHidden.cs: fixed constructor. * HtmlInputRadioButton.cs: (RenderAttributes): fixed stack overflow. (Name): (RenderedName): new -> override. (Value): new property. * HtmlInputText.cs: (RenderAttributes): fixed the same kind of stack overflow and make string comparison case insensitive. 2002-06-07 Gonzalo Paniagua Javier * HtmlForm.cs: fixed name of Enctype property and render enctype enctype attribute. * HtmlInputControl.cs: tag type is "input", not "type". 2002-06-06 Gonzalo Paniagua Javier * HtmlControl.cs: Render contents moved to new RenderBeginTag method, defined in MS docs. * HtmlForm.cs: Render output when no IE browser. * HtmlInputButton.cs: added constructor without arguments. Xsp used it, though now it always use the other .ctor. * HtmlInputControl.cs: cosmetic changes and implemented set_Name. 2002-06-05 Gonzalo Paniagua Javier * HtmlButton.cs: RenderAttributes is an override, not new. * HtmlContainerControl.cs: use the new Render method in HtmlControl. * HtmlControl.cs: added Render method to render the tag and its attributes. Works for container and non-containers. * HtmlImage.cs: RenderAttributes don't need to be new. Implemented Height property. 2002-06-05 Gonzalo Paniagua Javier * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode instead of Page.Server to encode InnerText. 2002-06-04 Gonzalo Paniagua Javier * HtmlAnchor.cs: (RenderAttributes): new -> override and fixed little bug that made it cause an stack overflow. * HtmlContainerControl.cs: reformatted and added tag and attributes rendering. * HtmlGenericControl.cs: removed TagName, which is already in HtmlControl. * HtmlTable.cs: (RenderEndTag): new -> override. 2002-06-03 Gonzalo Paniagua Javier * System.Web.UI.HtmlControls/HtmlForm.cs: (RenderAttributes): changed new by override. (Name): allow setting the property. 2002-05-10 Duncan Mak * HtmlTableCellCollection.cs (this): Updated the indexer to return the right type, HtmlTableCell instead of HtmlTableRow. * HtmlInputImage.cs (OnServerClick): Commented out parts that won't compile. * HtmlForm.cs (RenderAttributes): (RenderChildren): Commented out code that doesn't compile. 2002-05-07 Duncan Mak * 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. 2001-09-03 Leen Toelen * HtmlAnchor.cs: Initial implementation. * HtmlTextArea.cs: Initial implementation. 2001-08-22 Bob Smith * HtmlContainerControl.cs: Initial implementation. * HtmlControl.cs: Initial implementation. * HtmlGenericControl.cs: Initial implementation.