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