* webform.js: fixed WebForm_DoPostback, no need to find form if url is null
[mono.git] / mcs / class / System.Web / resources / ChangeLog
1 2007-01-30  Vladimir Krasnov  <vladimirk@mainsoft.com>
2
3         * webform.js: fixed WebForm_DoPostback, no need to find form if url is
4         null
5
6 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
7
8         * MaintainScrollPositionOnPostBack.js, callback.js, webform.js: Under
9           TARGET_J2EE portlet support we may have more then one ASP.Net form in a
10           client page. Modify code to not assume we have a global 'theForm'
11           variable. We either lookup the form using the control ID and DOM hierarchy
12           or we receive it as an optional parameter to the function.
13
14 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
15
16         * webform.js: WebForm_AutoFocus support for not focusable elements 
17         by setting focus on first focusable child.
18
19 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
20
21         * callback.js: fixed: support IE7, encodeURIComponent is used to 
22         encode form.
23
24 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
25
26         * WebUIValidation_2.0.js: added new file
27
28 2006-03-13  Chris Toshok  <toshok@ximian.com>
29
30         * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
31
32 2006-01-15  Robert Jordan  <robertj@gmx.net>
33
34         * WebUIValidation.js (CustomValidatorEvaluateIsValid):
35           Allow empty/missing ControlToValidate attributes.
36         * WebUIValidation.js (ValidatorSucceeded):
37           Hide validator's view. Fixes bug #77261.
38
39 2005-10-18  Chris Toshok  <toshok@ximian.com>
40
41         * WebUIValidation.js: fix handling for validation_result so that
42         buttons that don't cause validation still work.  Fixes bug #76429.
43
44 2005-09-13  Chris Toshok  <toshok@ximian.com>
45
46         * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
47         if an evaluationfunc wasn't provided is "valid".  Fixes #76078.
48
49 2005-09-06  Chris Toshok  <toshok@ximian.com>
50
51         * webform.js (wasControlEnabled): use __enabledControlArray,
52         generated by the HtmlControl foo when using
53         SubmitDisabledControls.
54         (WebForm_ReEnableControls): used by HtmlForm's
55         SubmitDisabledControls.
56
57 2005-09-06  Chris Toshok  <toshok@ximian.com>
58
59         * WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
60         that for validationsummary's we show the message box after we
61         display the summary.  This is because the alert blocks further
62         execution.
63         (ValidatorGetErrorMessage): return the errormessage in preference
64         to the text.
65         (ValidatorGetText): new function, return the text in preference to
66         the error message.
67         (ValidatorFailed): use ValidatorGetText, and always set the
68         innerHTML, not just when we don't have validationsummary's.
69         
70 2005-08-27  Chris Toshok  <toshok@ximian.com>
71
72         * webform.js: add copyright blurb, and add implementation of
73         WebForm_AutoFocus, used by the 2.0 HtmlForm properties
74         DefaultButton and DefaultFocus.
75
76 2005-08-04  Chris Toshok  <toshok@ximian.com>
77
78         * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
79         args.IsValid check.
80
81 2005-08-04  Chris Toshok  <toshok@ximian.com>
82
83         * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
84         there's no attribute present.
85         (Page_ClientValidate): a validator succeeds if it's disabled.
86
87 2005-07-27  Chris Toshok  <toshok@ximian.com>
88
89         * WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
90         List and SingleParagraph mode ValidationSummaries.
91         (ValidatorTrim): use two regexps instead of two while loops.
92         (CustomValidatorEvaluateIsValid): new function.
93
94 2005-07-26  Chris Toshok  <toshok@ximian.com>
95
96         * WebUIValidation.js: fix the summary mode for
97         ValidationSummaries.
98
99 2005-07-25  Chris Toshok  <toshok@ximian.com>
100
101         * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
102         GetAttribute is dead, long live validator.getAttribute.
103
104 2005-07-24  Chris Toshok  <toshok@ximian.com>
105
106         * WebUIValidation.js: add support for validation summaries, both
107         in summary and messagebox mode.
108
109 2005-07-22  Chris Toshok  <toshok@ximian.com>
110
111         * WebUIValidation.js: the JSUnit tests pointed out that
112         validator.evaluationfunction is not a string after OnLoad.  do
113         this as well so the tests pass, and deal with the difference
114         between o[attr], o.getAttribute(attr), and o.attr. Ugh.
115
116 2005-07-21  Chris Toshok  <toshok@ximian.com>
117
118         * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
119         both the initial value and the control's value.
120
121 2005-07-21  Chris Toshok  <toshok@ximian.com>
122
123         * WebUIValidation.js: handle validators that use
124         Display="Dynamic".
125
126 2005-07-20  Chris Toshok  <toshok@ximian.com>
127
128         * WebUIValidation.js (ValidatorTrim): new function.
129         (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
130         ValidatorTrim.
131         (RegularExpressionValidatorEvaluateIsValid): same.
132         (RequiredFieldValidatorEvaluateIsValid): same.
133
134 2005-07-20  Chris Toshok  <toshok@ximian.com>
135
136         * WebUIValidation.js: new file.
137
138 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
139
140         * webform.js: ClientSubmit option set to true means submit
141         performed by asp.net, not by the browser.
142
143 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
144
145         * webform.js: Added webform script.
146
147 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
148
149         * arrow_up.gif, arrow_down.gif: Added menu resources.
150
151 2004-12-02  Lluis Sanchez Gual <lluis@novell.com>
152
153         * callback.js: Added callback script.
154
155 2004-11-26  Lluis Sanchez Gual <lluis@novell.com>
156
157         * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
158         box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
159         contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
160         inbox.gif, star_empty.gif, star_full.gif, warning.gif,
161         TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
162         TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
163         TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
164         TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
165         TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
166         TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js
167         
168         New files.