2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / ChangeLog
1 2004-01-15  Alon Gazit <along@mainsoft.com>
2         * HtmlForm.cs: The property name always return the value of the
3         property UniqueID.
4
5 2003-12-28  Alon Gazit <along@mainsoft.com>
6         * HtmlSelect.cs: fix typo in LoadPostData().
7
8 2003-12-29  Alon Gazit <along@mainsoft.com>
9         * HtmlInputButton.cs: update the implementation of RenderAttributes().
10         Change the if statement that determines if the onclick script is rendered.  
11
12 2003-12-28  Alon Gazit <along@mainsoft.com>
13         * HtmlSelect.cs: add parentheses to if statement. 
14         Currently the else statement refers to the inner if statement. 
15
16 2003-12-28  Alon Gazit <along@mainsoft.com>
17         * HtmlSelect.cs: fix upper bound of for statement.
18
19 2003-12-19  Jackson Harper <jackson@ximian.com>
20
21         * HtmlInputFile.cs: Do not set value when loading post data.
22         
23 2003-12-14  Alon Gazit <along@mainsoft.com>
24         * HtmlInputButton.cs: The problem was in RenderAttributes().\r
25         Before adding the script to the HTML, the number of Validators should \r
26         be checked. fixes bug #52158.
27
28 2003-12-07  Alon Gazit <along@mainsoft.com>
29         * HtmlTableCell.cs: fixing a typo in NoWrap property. 
30
31 2003-12-04  Jackson Harper <jackson@ximian.com>
32
33         * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
34         value. This is because radio button groups are created by setting
35         the name to the same value with each button, then on postback the
36         value of the name is the id of the selected radio button. 
37         
38 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
39
40         * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
41
42 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
45         remove the code used to workaround that.
46
47 2003-12-01  Jackson Harper <jackson@ximian.com>
48
49         * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
50         <along@mainsoft.com>.
51         
52 2003-11-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
53
54         * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
55         <along@mainsoft.com>. Fixes bug #51377.
56
57 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
58
59         * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
60         <along@mainsoft.com>.
61
62 2003-10-29 Jackson Harper <jackson@ximian.com>
63
64         * HtmlControl.cs: Make disabled an attribute of the control so it
65         is rendered. This is a slightly modifed version of a patch
66         by Yaron Shkop. Fixes bug #50160.
67         
68 2003-10-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
69
70         * HtmlTextArea.cs: fixed infinite recursion.
71
72 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
73
74         * HtmlForm.cs: render the onsubmit attribute.
75
76 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
77
78         * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
79         need to pass true here. Fixes bug #47918.
80
81 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
82
83         * HtmlContainerControl.cs: Added attributes
84         * HtmlControl.cs: Added attributes
85         * HtmlInputControl.cs: Fixed public signature
86         * HtmlInputRadioButton.cs: Fixed public signature
87         * HtmlSelect.cs: Added missing attribute
88         * HtmlTable.cs: Added missing attribute
89
90 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
91
92         * HtmlSelect.cs: fixed bug #44894.
93
94 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
95
96         * HtmlImage.cs:
97         * HtmlInputControl.cs:
98         * HtmlSelect.cs: added control builder attribute.
99
100         * HtmlSelectBuilder.cs: builder for HtmlSelect.
101
102         * HtmlControlBuilder.cs: common builder for all HtmlControls.
103
104 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
105
106         * HtmlControl.cs: _tagName is now internal.
107         * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
108         name.
109
110 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
111
112         * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
113
114 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
115
116         * HtmlInputButton.cs: fixed bug #35677.
117
118 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
119
120         * HtmlInputControl.cs: fixed bug #35673.
121
122 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
123
124         * HtmlInputText.cs: fixed bug #35670.
125
126 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
127
128         * HtmlSelect.cs: fixed LoadViewstate.
129
130 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
131
132         * HtmlButton.cs: make it do a POST if the button has any ServerClick
133         events.
134
135 2002-09-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
136
137         * HtmlAnchor.cs:
138         * HtmlButton.cs:
139         * HtmlContainerControl.cs:
140         * HtmlControl.cs:
141         * HtmlForm.cs:
142         * HtmlGenericControl.cs:
143         * HtmlImage.cs:
144         * HtmlInputButton.cs:
145         * HtmlInputCheckBox.cs:
146         * HtmlInputControl.cs:
147         * HtmlInputFile.cs:
148         * HtmlInputHidden.cs:
149         * HtmlInputImage.cs:
150         * HtmlInputRadioButton.cs:
151         * HtmlInputText.cs:
152         * HtmlSelect.cs:
153         * HtmlTable.cs:
154         * HtmlTableCell.cs:
155         * HtmlTableRow.cs:
156         * HtmlTextArea.cs: added almost all missing attributes.
157
158 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
159
160         * HtmlControl.cs: the attributes must use ViewState as its StateBag,
161         if not style values are lost between postbacks.
162
163 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
164
165         * HtmlAnchor.cs:
166         * HtmlButton.cs:
167         * HtmlInputButton.cs:
168         * HtmlInputCheckBox.cs:
169         * HtmlInputHidden.cs:
170         * HtmlInputImage.cs:
171         * HtmlInputText.cs:
172         * HtmlTextArea.cs: Initialize EventHandlerList indexer.
173
174         * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
175         instead of maintaining some flags and strings. Implemented
176         LoadViewState.
177
178         * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
179
180         * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
181         and Value.
182
183 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
184
185         * HtmlGenericControl.cs: fixed TagName signature and get/set.
186         * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
187         * HtmlInputText.cs: added attribute.
188
189 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * HtmlForm.cs: don't render action attribute.
192
193 2002-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * HtmlContainerControl.cs: 
196         (CreateControlCollection): added. All containers must have a non-empty
197         control collection.
198
199 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
200
201         * System.Web.UI.HtmlControls/HtmlAnchor.cs: 
202         * System.Web.UI.HtmlControls/HtmlButton.cs: 
203         * System.Web.UI.HtmlControls/HtmlControl.cs: 
204         * System.Web.UI.HtmlControls/HtmlForm.cs: 
205         * System.Web.UI.HtmlControls/HtmlGenericControl.cs: 
206         * System.Web.UI.HtmlControls/HtmlInputButton.cs: 
207         * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs: 
208         * System.Web.UI.HtmlControls/HtmlInputControl.cs: 
209         * System.Web.UI.HtmlControls/HtmlInputFile.cs: 
210         * System.Web.UI.HtmlControls/HtmlInputHidden.cs: 
211         * System.Web.UI.HtmlControls/HtmlInputImage.cs: 
212         * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs: 
213         * System.Web.UI.HtmlControls/HtmlInputText.cs: 
214         * System.Web.UI.HtmlControls/HtmlSelect.cs: 
215         * System.Web.UI.HtmlControls/HtmlTable.cs: 
216         * System.Web.UI.HtmlControls/HtmlTableCell.cs: 
217         * System.Web.UI.HtmlControls/HtmlTableRow.cs: 
218         * System.Web.UI.HtmlControls/HtmlTextArea.cs: 
219
220         Fixes based on class status page:
221         
222                 - Add attributes (DefaultEvent, ParseChildren).
223                 - Fix declarations.
224                 - Explicitly implement some interfaces (IPostBackDataHandler
225                 and IPostBackEventHandler).
226                 - Implemented some missing methods.
227
228 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
229
230         * HtmlForm.cs:
231         (RenderChildren): use OnFormRender and OnFormPostRender.
232
233 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
234
235         * HtmlSelect.cs:
236         (RenderAttributes): new -> override and fixes stack overflow.
237         (RenderChildren): only 1 option can be selected at any given time
238         except when Multiple property is true.
239         (Multiple): the attribute value is either "true" or "false", not 
240         "multiple".
241
242         * HtmlTable.cs:
243         (Add):
244         (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
245
246         * HtmlTableCell.cs:
247         (RenderEndTag): new -> override.
248
249         * HtmlTableRow.cs:
250         (RenderChildren): fixed another stack overflow.
251         (RenderEndTag): new -> override.
252
253         * HtmlTextArea.cs:
254         (RenderAttributes): new -> override.
255
256
257 2002-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
258
259         * HtmlInputHidden.cs: fixed constructor.
260
261         * HtmlInputRadioButton.cs:
262         (RenderAttributes): fixed stack overflow.
263
264         (Name):
265         (RenderedName): new -> override.
266
267         (Value): new property. 
268
269         * HtmlInputText.cs:
270         (RenderAttributes): fixed the same kind of stack overflow and make
271         string comparison case insensitive.
272
273 2002-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
274
275         * HtmlForm.cs: fixed name of Enctype property and render enctype
276         enctype attribute.
277
278         * HtmlInputControl.cs: tag type is "input", not "type".
279
280 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
281
282         * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
283         defined in MS docs. 
284         
285         * HtmlForm.cs: Render output when no IE browser.
286
287         * HtmlInputButton.cs: added constructor without arguments. Xsp used it, 
288         though now it always use the other .ctor.
289         
290         * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
291
292 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
293
294         * HtmlButton.cs: RenderAttributes is an override, not new.
295
296         * HtmlContainerControl.cs: use the new Render method in HtmlControl.
297
298         * HtmlControl.cs: added Render method to render the tag and its
299         attributes. Works for container and non-containers.
300
301         * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
302         Height property.
303         
304 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
305
306         * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
307         instead of Page.Server to encode InnerText.
308
309 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
310
311         * HtmlAnchor.cs:
312         (RenderAttributes): new -> override and fixed little bug that made
313         it cause an stack overflow.
314
315         * HtmlContainerControl.cs: reformatted and added tag and attributes 
316         rendering.
317
318         * HtmlGenericControl.cs: removed TagName, which is already in 
319         HtmlControl.
320
321         * HtmlTable.cs:
322         (RenderEndTag): new -> override.
323
324 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
325
326         * System.Web.UI.HtmlControls/HtmlForm.cs:
327         (RenderAttributes): changed new by override.
328         (Name): allow setting the property.
329
330 2002-05-10  Duncan Mak  <duncan@ximian.com>
331
332         * HtmlTableCellCollection.cs (this): Updated the indexer to return
333         the right type, HtmlTableCell instead of HtmlTableRow. 
334
335         * HtmlInputImage.cs (OnServerClick): Commented out parts that
336         won't compile.
337
338         * HtmlForm.cs (RenderAttributes): 
339         (RenderChildren): Commented out code that doesn't compile. 
340
341 2002-05-07  Duncan Mak  <duncan@ximian.com>
342
343         * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
344         clashing with the method defined in the parent class.
345         (OnDataBinding): Added missing casts.
346
347         * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
348         'this' to IAttributeAccessor before calling interface method.
349         Also renamed some calls to reflect changes in the API.
350
351         * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
352         fixed a typo.
353
354 2001-09-03  Leen Toelen  <toelen@hotmail.com>
355
356         * HtmlAnchor.cs: Initial implementation.
357         * HtmlTextArea.cs: Initial implementation.
358
359 2001-08-22  Bob Smith  <bob@thestuff.net>
360
361          * HtmlContainerControl.cs: Initial implementation.
362          * HtmlControl.cs: Initial implementation.
363          * HtmlGenericControl.cs: Initial implementation.