43814b7337bd3720cb5069e96efa90126a47af2e
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
1 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * System.Web.UI.WebControls/Repeater.cs:
4         (Controls):
5         (OnDataBinding): fixed stack overflow.
6
7 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8
9         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
10         * RepeatInfo.cs: implemented DoHorizontalRendering.
11
12 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
13
14         * WebControl.cs:
15         (CopyBaseAttributes): copy Attributes and don't throw exception.
16
17 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * ListBox.cs: mono-stylized.
20         (AddAttributesToRender): call parent class method.
21
22 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
23
24         * Style.cs: fixed IsEmpty and Width.
25
26         * Table.cs: mono-stylized.
27         (TableRowControlCollection.AddAt): fixed.
28         (AddAttributesToRender): fixed.
29         
30         * TableCell.cs: mono-stylized.
31         (.ctor): use PreventAutoID.
32         (AddAttributesToRender): fixed.
33         (AddParsedSubObject): fixed.
34
35         * TableRow.cs: mono-stylized. Added
36         ParseChildren attribute.
37
38         * TableStyle.cs:
39         (get_GridLine): fixed.
40
41 2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
42
43         * Panel.cs: fixed stack overflow.
44         * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
45         and SingleConverter.
46
47 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
48
49         * RadioButton.cs: mono-stylized and some little fixes.
50
51         * TextBox.cs: mono-stylized.
52         (MaxLength): fixed typo.
53
54         (AddAttributesToRender): don't render the text between the tags for
55         SingleLine, use value attribute for it. Don't render the text for
56         Password.
57
58         (OnPreRender): don't throw exception and call base.OnPreRender.
59
60         (Render): for MultiLine, render the text between the opening and
61         closing tags encoded as HTML.
62
63 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
64
65         * ImageButton.cs:
66         (AddAttributesToRender): fixer another stack overflow.
67
68         * WebControl.cs:
69         (TagName): modified to use TagKey instead of tagKey as the property
70         can be overriden.
71
72 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
73
74         * LinkButton.cs: mono-stylized.
75         (AddParsedSubObject):
76         (RenderControls): little fixes.
77
78         * WebControl.cs:
79         (AddAttributesToRender): fixed usage of IEnumerator.
80
81 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
82
83         * Literal.cs: beautified.
84
85 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
86
87         * Label.cs: beautified and fixed a couple of 'classic' bugs.
88
89         * WebControl.cs: use Span as default tag when no other provided in 
90         constructor. That is what MS renders.
91
92 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * Button.cs:
95         (AddAttributesToRender): fixed (classic) stack overflow.
96
97         * CheckBox.cs: mono-stylized.
98         (AutoPostBack): fixed stack overflow.
99         (Render): fixed alignment issues. Also set the For attribute always
100         for the label.
101
102 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
103
104         * AdRotator.cs: GetData does not work as it should, but now it returns
105         useful data (only the first ad in the file).  Set the NavigateUrl
106         property in the hyperlink if available.
107
108         * HyperLink.cs: fixed constructor and a couple of stack overflows.
109
110         * Image.cs: added an attribute and fixed stack overflow.
111
112         * WebControl.cs:
113         (RenderBeginTag): fixed.
114         (TagName): don't call Enum.IsDefined twice.
115
116 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * WebControl.cs: added attributes PersistChildrenAttribute and 
119         ParseChildrenAttribute.
120
121 2002-05-24  Duncan Mak  <duncan@ximian.com>
122
123         * DataGridItem.cs (SetItemType): Changed function signature to
124         match 1.0 spec.
125
126         * ListItemCollection.cs (this): Changes the visibility level of
127         the indexer.
128
129         * Repeater.cs (OnItemCommand):
130         (OnItemCreated):
131         (OnItemDataBound): Added necessary casts.
132
133 2002-05-07  Duncan Mak  <duncan@ximian.com>
134
135         * Button.cs (AddAttributesToRender): 
136         * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
137         GetClientValidatedEvent method.
138
139 2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
140
141         * Removed extra methods, corrected access modifiers to several
142           methods.
143
144 2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
145
146         * <SeveralFiles>.cs        - Added some attributes
147         * FontUnitConverter.cs     - Added stubs for GetStandardValues*(..)
148             methods. Will complete them later. Right now, busy with
149             the attributes part.
150         * RepeaterItem.cs          - Completed.
151         
152          Oh God! Mercy! I will die applying attributes. I look at the missing
153           part in the class-status - daemon! Kyrie eleison!
154
155 2002-03-19      Gaurav Vaish <gvaish@iitk.ac.in>
156
157            Some bug fixes
158
159         * AdRotator.cs             - Added definition for Font.
160         * BaseCompareValidator.cs  - Added definition for Controls.
161         * Calendar.cs              - SelectMonthText definition corrected.
162         * DataList.cs              - Added definition for SeparatorTemplate.
163         * BorderStyle.cs           - Namespace correction. It belongs not to UI,
164                                      but to UI.WebControls.
165
166 2002-03-17      Gaurav Vaish <gvaish@iitk.ac.in>
167
168         Finally, I have made it. Today I did a second build for the
169          System.Web assembly. It compiled 195 classes today.
170         I am waiting eagerly for the runtime to come up so that the objects
171          may be tested to their last levels. Several of the methods are still
172          under the tag of "TODO" throwing NotImplementedException. Well, I
173          hope to remove them soon, but how far is this soon - even I don't
174          know, though I am happy to make the build a success even before
175          the vacations to come.
176
177 2002-03-07      Gaurav Vaish <gvaish@iitk.ac.in>
178
179         Yesterday and today I tried to do some building of the aseembly,
180          but was dumped with uncoutably infinite errors. ;-)
181         I have put the copies of the recent errors on my home page, want
182          to have a look at them? See:
183           http://mastergaurav.virtualave.net/mono/
184         I don't know what to do with these errors. Oh! The buggy me! How
185          will I overcome myself. Hopefully, by when my vacations over, I
186          should have made a repository where the build will not fail.
187
188 2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>
189
190         I am now going to do a build that will include the
191          System.Web.UI.WebControls namespace. Hoping that I will make it
192          soon. My exams are coming near and I have to pack up soon.
193
194
195 2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>
196
197 Comments:
198         And with this, ie, today's work, all the objects mentioned in the
199         namespace appear in the implementation. But it may not be worth
200         trying to go for a build because of dependence of several of the
201         internal methods that may clash with already available assembly
202         System.Web.
203         
204         Also, the classes lack possible attributes, like those informing
205         about child-controls etc. But I have to first create the attribute
206         classes before I attach the attributes to the classes.
207
208         * CustomValidator.cs          - Completed. In process realized that
209                      I have to complete / rejuvinate BaseValidator class.
210         * BaseValidator.cs            - Complete rejuvination. Completed 80%
211                     of the job. All that is left is Render(HtmlTextWriter),
212                     DetermineRenderUplevel(), RegisterValidatorCommonScript()
213                     RegisterValidatorDeclaration()
214         * DataGridPagerStyle.cs       - Completed. That adds one more missle
215                     in my artillery.
216         * DataKeyCollection.cs        - Completed. Petty small.
217         * Repeater.cs                 - Work started off. This is a quite
218                     heavy class. Hooh!
219         * DataGridItemEventArgs.cs,
220         * DataGridShortCommandEventArgs.cs,
221         * DataListItemEventArgs.cs,
222         * MonthChangedEventArgs.cs,
223         * RepeaterItemEventArgs.cs,
224         * ServerValidateEventArgs.cs,
225         * DataGridPageChangedEventArgs.cs
226                                       - Damn, I marked them "*", while they
227                     did not exist.
228         * Repeater.cs                 - Done all except for an undocumented
229                     method CreateControlHierarchy(bool). Though the method
230                     is quite clear by its name, but it will take some time
231                     for me to come with some material to flush in.
232
233 2002-03-03      Gaurav Vaish <gvaish@iitk.ac.in>
234
235         * SelectedDatesCollection.cs  - Completed.
236         * PagedDataSource.cs          - Completed. Pathetically nice class.
237         * RegularExpressionValidator.cs
238                                       - Completed. Ridiculously small and
239                     annoyinglyc crazy-driving class, basically the method
240                     EvaluateIsValid().
241         * RangeValidator.cs           - Completed.
242         * DataGridColumn.cs           - Completed.
243         * EditCommandColumn.cs        - All is complete except for the
244                     InitializeCell(TableCell, int, ListItemType) method.
245         * DataListItem.cs             - All done except for a longish method
246                     RenderItem(HtmlTextWriter, bool, bool)
247
248 2002-03-02      Gaurav Vaish <gvaish@iitk.ac.in>
249
250         * RepeaterItemCollection.cs   - Completed.
251                     I love *Collection classes. I am planning to make a
252                     program that will generate a *Collection class. It's so
253                     simple and the same. ;-)
254         * DataGridColumnCollection.cs - Completed.
255                     ... except probably for *ColumnCollection classes, where
256                     you have to put in some more effort. Still, these class
257                     generation can be automated.
258         * DataListItemCollection.cs   - Completed.
259                     See, how easily, in less than a quarter of a minute, I
260                     completed this class - manually. Copy-Paste/Cut-Replace.
261
262 2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>
263
264         * DataGrid.cs                 - Following methods implemented:
265                     TrackViewState(), LoadViewState(object), SaveViewState(),
266                     On* -- The event raisers.
267                     OnBubbleEvent(object, EventArgs) is still incomplete.
268         * DataGridItem.cs             - Initial Implementation
269         * DataGridItemCollection.cs   - Completed.
270
271 2002-02-08      Gaurav Vaish <gvaish@iitk.ac.in>
272
273         * DataGrid.cs                 - Initial Implementation. Worked
274                     primarily with some properties.
275
276 2002-02-07      Gaurav Vaish <gvaish@iitk.ac.in>
277
278         * ListBox.cs                  - Completed. Implemented
279                    LoadPostData(string, NameValueCollection)
280         * RequiredFieldValidator.cs   - Completed. Pretty simple class.
281
282 2002-02-06      Gaurav Vaish <gvaish@iitk.ac.in>
283
284         * ListBox.cs                  - Implemented the following:
285                    RaisePostDataChangedEvent()
286
287 2002-02-02      Gaurav Vaish <gvaish@iitk.ac.in>
288
289         * ListBox.cs                  - Supports the following properties:
290                    BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
291                    ToolTip.
292                   Methods:
293                    AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
294                    RenderContents(HtmlTextWriter)
295
296
297 2002-02-01      Gaurav Vaish <gvaish@iitk.ac.in>
298
299         * TargetConverter.cs          - Completed
300         * TemplateColumn.cs           - Completed
301         * DataList.cs                 - Corrected the get-er methods for the
302                  *Style objects. Corrected the get/set-er methods for ViewState
303                    related objects.
304                  Addded support for properties:
305                    GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
306                    RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
307                    SelectedItem, SelectedItemStyle, SelectedItemTemplate,
308                    SeparatorStyle, SeparatorItemTemplate.
309                  Events:
310                    CancelCommand, DeleteCommand, EditCommand, ItemCommand,
311                    ItemCreated, ItemDataBound, UpdateCommand.
312                  Methods:
313                    CreateControlStyle(), LoadViewState(object),
314                    SaveViewState(), TrackViewState
315                  Event handlers:
316                    OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
317                    OnEditCommand, OnItemCommand, OnItemCreated,
318                    OnItemDataBound, OnUpdateCommand
319                  Added dummy methods for some undocumented methods:
320                    CreateControlHierarchy(bool), CreateItem(int, ListItemType),
321                    CreateItem(int, ListItemType, bool, object),
322                    PrepareControlHierarchy(), InitializeItem(DataListItem)
323         * ListBox.cs                  - Started working.
324
325
326
327 2002-01-31      Gaurav Vaish <gvaish@iitk.ac.in>
328
329         * RepeaterInfo.cs             - Initial Implementation. Done all
330                                         except for RepeatDirection.Vertical
331         * TableStyle.cs               - Completed
332
333 2002-01-30      Gaurav Vaish <gvaish@iitk.ac.in>
334
335         * DropDownList.cs             - Completed
336         * ListItemCollection.cs       - Added method FindByValueInternal to
337                                         assist in the derived classes.
338                                         Discovered bug in FindByValue. Removed
339         * UnitConverter.cs            - Completed
340         * PlaceHolder.cs              - What can be simpler than this?
341         * PlaceHolderControlBuilder.cs
342                                       - Uh! Damn cool one.
343         * RadioButtonList.cs          - Initial Implementation. All is done
344                                         except for the implementation of
345                                         method IRepeatInfoUser.RenderItem(...)
346         * ValidatedControlConverter.cs
347           ^^^^^^^^^^^^^^^^^^^^^^^^^   - Looks complete. Doubtful though !!
348         * ValidationSummary.cs        - Initial Implementation.
349         * WebColorConverter.cs        - Initial Implementation
350
351 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
352
353         * FontNamesConverter.cs       - Completed
354         * FontUnitConverter.cs        - Partial Implementation
355         * ListItemControlBuilder.cs   - Completed
356
357 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
358
359         * TextBox.cs                  - All done except *Render* methods
360         * TextBoxControlBuilder.cs    - Completed
361         * Xml.cs                      - Partial Implementation
362
363 2002-01-26      Gaurav Vaish <gvaish@iitk.ac.in>
364
365         * RadioButton.cs              - Completed
366         * TextBox.cs                  - Partial Implementation
367
368 2002-01-25      Gaurav Vaish <gvaish@iitk.ac.in>
369
370         * Panel.cs                    - Completed
371         * TableItemStyle.cs           - Completed
372
373 2002-01-18      Gaurav Vaish <gvaish@iitk.ac.in>
374
375         * TableCellCollection.cs      - Completed
376         * TableRowCollection.cs       - Completed
377         * TableHeaderCell.cs          - Completed
378         * TableRow.cs                 - Completed
379
380 2002-01-09      Gaurav Vaish <gvaish@iitk.ac.in>
381
382         * TableCellControlBuilder.cs  - Completed
383         * Table.cs                    - Completed
384         * TableCell.cs                - Completed
385
386 2002-01-07      Gaurav Vaish <gvaish@iitk.ac.in>
387
388         * CheckBoxList.cs             - Completed
389         * ButtonColumn.cs             - Completed
390         * Button.cs                   - Completed
391
392 2001-12-28      Gaurav Vaish <gvaish@iitk.ac.in>
393
394         * HyperLink.cs                - Completed
395         * Image.cs                    - Completed
396         * ImageButton.cs              - Completed
397         * Label.cs                    - Completed
398         * LabelControlBuilder.cs      - Completed
399         * LinkButton.cs               - Completed
400         * LinkButtonControlBuilder.cs - Completed
401         * Literal.cs                  - Completed
402         * LieteralControlBuilder.cs   - Completed
403         * FontUnit.cs                 - Completed
404
405
406 2001-12-27      Gaurav Vaish <gvaish@iitk.ac.in>
407
408         * Calendar.cs                 - Completed the functions of Render*,
409                                         ViewStates (Track/View/Save),
410                                         RaisePostBackEvent.
411                                         Left: RenderAllDays (partially)
412
413 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
414
415         * Calendar.cs                 - Added some more functions
416         * Style.cs                    - Completed
417         * ListItem.cs                 - Completed
418         * ListItemCollection.cs       - Completed
419
420   Made the first successful build of System.Web.dll that included
421   System.Web.UI.WebControls!
422
423 2001-12-20      Gaurav Vaish <gvaish@iitk.ac.in>
424
425         FontInfo.cs                 - Complete revamp. Completed
426
427 2001-12-19      Gaurav Vaish <gvaish@iitk.ac.in>
428
429         ListItemCollection.cs       - Completed
430         ListItem.cs                 - Initial Implementation
431         Style.cs                    - Initial Implementation
432
433   Right now I am in a total mood to do a successful build. Creating so many
434   classes, completing classes in System.Web System.Web.UI namespaces.
435
436 2001-12-18      Gaurav Vaish <gvaish@iitk.ac.in>
437
438         TODO                        - Properly added
439         CheckBox.cs                 - Completed
440         BaseDataList.cs             - Completed
441         DayRenderEventArgs.cs       - Completed
442         RepeaterItem.cs             - Initial implementation
443
444 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
445
446         BaseCompareValidator.cs     - Completed
447         AdRotator.cs                - Completed
448
449 2001-12-15      Gaurav Vaish <gvaish@iitk.ac.in>
450
451         CommandEventArgs.cs         - Completed
452         DataGridCommandEventArgs.cs - Completed
453         RepeaterCommandEventArgs.cs - Completed
454         DataListCommandEventArgs.cs - Completed
455         CompareValidator.cs         - Partial Implementation
456
457 2001-12-02      Gaurav Vaish <gvaish@iitk.ac.in>
458
459         CheckBoxList.cs            - Partial Implementation.
460                                      All except "Render"
461
462 2001-12-01      Gaurav Vaish <gvaish@iitk.ac.in>
463
464         ListControl.cs             - Completed
465
466 2001-11-30      Gaurav Vaish <gvaish@iitk.ac.in>
467
468         CheckBox.cs                - Completed
469         ListControl.cs             - Initial Implementation
470         CheckBoxList.cs            - Started with it, but first needed
471                                      ListControl. Left it.
472
473 2001-11-29      Gaurav Vaish <gvaish@iitk.ac.in>
474
475         CalendarDay.cs             - Making a note that this
476                                      has been implemented
477         Calendar.cs                - Making a note that have made some changes.
478                                      Unimplmented functions throw
479                                      NotImplementedException
480         CheckBox.cs                - Can now "Render" and "LoadPostData"
481
482
483 2001-11-08      Gaurav Vaish <gvaish@iitk.ac.in>
484         WebControl.cs              - Total Revamp, Partial Implementation
485         AdRotator.cs               - Able to load files
486         AdCreatedEventArgs.cs      - Implemented
487
488 2001-11-05      Gaurav Vaish <gvaish@iitk.ac.in>
489         Calendar.cs                - Initial Implementation
490         ButtonColumn.cs            - Initial Implementation
491         Button.cs                  - Initial Implementation
492         BoundColumn.cs             - Initial Implementation
493         BaseCompareValidator.cs    - Minor Changes
494         DataList.cs, BaseValidator.cs, BaseDataList.cs
495                                    - Added more functions, other changes
496         
497 2001-10-28      Gaurav Vaish <gvaish@iitk.ac.in>
498         WebControl.cs              - Initial Implementation
499         DataList.cs                - Initial Implementation
500         BaseValidator.cs           - Initial Implementation
501         BaseDataList.cs            - Initial Implementation
502
503 2001-10-27      Gaurav Vaish <gvaish@iitk.ac.in>
504
505         AdCreatedEventArgs.cs      - Initial Implementation
506         AdCratedEventHandler.cs    - Implemented
507         AdRotator.cs               - Initial Implementation
508         BorderStyle.cs             - Implemented
509         ButtonColumnStyle.cs       - Implemented
510         CalendarSelectionMode.cs   - Implemented
511         DayNameFormat.cs           - Implemented
512         FirstDayOfWeek             - Implemented
513         FontInfo.cs                - Partial Implementation
514         FontSize.cs                - Implemented
515         GridLines.cs               - Implemented
516         HorizontalAlign.cs         - Implemented
517         HyperLink.cs               - Initial Implementation
518         ImageAlign.cs              - Implemented
519         IRepeatInfoUser.cs         - Implemented
520         ListItemType.cs            - Implemented
521         ListSelectionMode.cs       - Implemented
522         NextPrevFormat.cs          - Implemented
523         PagerMode.cs               - Implemented
524         PagerPosition.cs           - Implemented
525         RepeatDirection.cs         - Implemented
526         RepeatLayout.cs            - Implemented
527         TextAlign.cs               - Implemented
528         TextBoxMode.cs             - Implemented
529         TitleFormat.cs             - Implemented
530         UnitType.cs                - Implemented
531         ValidationCompareOperator.cs
532                                    - Implemented
533         ValidationDataType.cs      - Implemented
534         ValidationSummaryDisplayMode.cs
535                                    - Implemented
536         ValidatorDisplay.cs        - Implemented
537         VerticalAlign.cs           - Implemented
538
539
540
541 // File Created 2001-11-13