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