2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
[mono.git] / mcs / class / System.Web / resources / ChangeLog
1 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2
3         * webform.js: fixed MaintainScrollPositionOnPostBack feature.
4
5 2007-08-19  Marek Habersack  <mhabersack@novell.com>
6
7         * webform.js: __doPostBack is a function defined in the self
8         object, not this._form. Fixes bug #82478.
9
10 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
11
12         * webform.js:
13         * WebUIValidation_2.0.js:
14         refactoring: provide possibility to define relevant functions in different 
15         scopes. (global=window or form element). thus providing a solution for 
16         multi form environment.         
17
18 2007-05-16  Marek Habersack  <mhabersack@novell.com>
19
20         * webform.js: in WebForm_ClientCallback set the id of the
21         __EVENTVALIDATION element when creating it or otherwise
22         WebForm_getFormData will not ignore it as expected by
23         WebForm_DoCallback, which will result in the variable being
24         present twice in the POST request.
25
26         * WebUIValidation.js: ported ToCurrency and ToDate converters from
27         WebUIValidation_2.0.js.
28
29 2007-04-17  Marek Habersack  <mhabersack@novell.com>
30
31         * WebUIValidation_2.0.js: added HaveRegexp () function to detect
32         if the browser supports the RegExp class. Use GetElement ()
33         everywhere.
34
35         * WebUIValidation.js: added HaveRegexp () function to detect if
36         the browser supports the RegExp class.
37
38         * webform.js: use WebForm_GetElementById everywhere.
39
40 2007-04-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
41
42         * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
43         should be from form
44
45 2007-04-03  Marek Habersack  <mhabersack@novell.com>
46
47         * WebUIValidation_2.0.js: correctly validate against min/max
48         values. Fixes bug #81280
49
50 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
51
52         * webform.js: adjusted client script for MaintainScrollPositionOnPostBack 
53         feature to multiform enviroument in j2ee portal.
54
55 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
56
57         * webform.js: fixed WebForm_ReEnableControls
58
59 2007-02-18  Eyal Alaluf <eyala@mainsoft.com>
60
61         * webform.js: Adding an optional parameter for passing the form to all JS
62           methods. This is needed to support Http callbacks for J2EE portlets. 
63
64 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
65
66         * WebUIValidation_2.0.js: 
67         support client side validation for RadioButtonList
68
69 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
70
71         * webform.js:
72         fixed Callback feature: when WebForm_DoCallback is called 
73         not all input elements are posted. for example checkbox if not 
74         checked is not posted.
75
76 2007-02-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
77
78         * webform.js: added validators context init for j2ee portal support
79         * WebUIValidation_2.0.js: added SetValidatorContext function,
80         refactored evaluation function init ValidatorOnLoad and
81         Page_ClientValidate
82
83 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
84
85         * MaintainScrollPositionOnPostBack.js:
86         * webform.js:
87         * callback.js:  
88         merged into one resource file.
89
90 2007-02-01  Adar Wesley <adarw@mainsoft.com>
91
92         * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
93         after chaning UniqueId implementation to have '$'.
94
95 2007-01-30  Vladimir Krasnov  <vladimirk@mainsoft.com>
96
97         * webform.js: fixed WebForm_DoPostback, no need to find form if url is
98         null
99
100 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
101
102         * MaintainScrollPositionOnPostBack.js, callback.js, webform.js: Under
103           TARGET_J2EE portlet support we may have more then one ASP.Net form in a
104           client page. Modify code to not assume we have a global 'theForm'
105           variable. We either lookup the form using the control ID and DOM hierarchy
106           or we receive it as an optional parameter to the function.
107
108 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
109
110         * webform.js: WebForm_AutoFocus support for not focusable elements 
111         by setting focus on first focusable child.
112
113 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
114
115         * callback.js: fixed: support IE7, encodeURIComponent is used to 
116         encode form.
117
118 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
119
120         * WebUIValidation_2.0.js: added new file
121
122 2006-03-13  Chris Toshok  <toshok@ximian.com>
123
124         * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
125
126 2006-01-15  Robert Jordan  <robertj@gmx.net>
127
128         * WebUIValidation.js (CustomValidatorEvaluateIsValid):
129           Allow empty/missing ControlToValidate attributes.
130         * WebUIValidation.js (ValidatorSucceeded):
131           Hide validator's view. Fixes bug #77261.
132
133 2005-10-18  Chris Toshok  <toshok@ximian.com>
134
135         * WebUIValidation.js: fix handling for validation_result so that
136         buttons that don't cause validation still work.  Fixes bug #76429.
137
138 2005-09-13  Chris Toshok  <toshok@ximian.com>
139
140         * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
141         if an evaluationfunc wasn't provided is "valid".  Fixes #76078.
142
143 2005-09-06  Chris Toshok  <toshok@ximian.com>
144
145         * webform.js (wasControlEnabled): use __enabledControlArray,
146         generated by the HtmlControl foo when using
147         SubmitDisabledControls.
148         (WebForm_ReEnableControls): used by HtmlForm's
149         SubmitDisabledControls.
150
151 2005-09-06  Chris Toshok  <toshok@ximian.com>
152
153         * WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
154         that for validationsummary's we show the message box after we
155         display the summary.  This is because the alert blocks further
156         execution.
157         (ValidatorGetErrorMessage): return the errormessage in preference
158         to the text.
159         (ValidatorGetText): new function, return the text in preference to
160         the error message.
161         (ValidatorFailed): use ValidatorGetText, and always set the
162         innerHTML, not just when we don't have validationsummary's.
163         
164 2005-08-27  Chris Toshok  <toshok@ximian.com>
165
166         * webform.js: add copyright blurb, and add implementation of
167         WebForm_AutoFocus, used by the 2.0 HtmlForm properties
168         DefaultButton and DefaultFocus.
169
170 2005-08-04  Chris Toshok  <toshok@ximian.com>
171
172         * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
173         args.IsValid check.
174
175 2005-08-04  Chris Toshok  <toshok@ximian.com>
176
177         * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
178         there's no attribute present.
179         (Page_ClientValidate): a validator succeeds if it's disabled.
180
181 2005-07-27  Chris Toshok  <toshok@ximian.com>
182
183         * WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
184         List and SingleParagraph mode ValidationSummaries.
185         (ValidatorTrim): use two regexps instead of two while loops.
186         (CustomValidatorEvaluateIsValid): new function.
187
188 2005-07-26  Chris Toshok  <toshok@ximian.com>
189
190         * WebUIValidation.js: fix the summary mode for
191         ValidationSummaries.
192
193 2005-07-25  Chris Toshok  <toshok@ximian.com>
194
195         * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
196         GetAttribute is dead, long live validator.getAttribute.
197
198 2005-07-24  Chris Toshok  <toshok@ximian.com>
199
200         * WebUIValidation.js: add support for validation summaries, both
201         in summary and messagebox mode.
202
203 2005-07-22  Chris Toshok  <toshok@ximian.com>
204
205         * WebUIValidation.js: the JSUnit tests pointed out that
206         validator.evaluationfunction is not a string after OnLoad.  do
207         this as well so the tests pass, and deal with the difference
208         between o[attr], o.getAttribute(attr), and o.attr. Ugh.
209
210 2005-07-21  Chris Toshok  <toshok@ximian.com>
211
212         * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
213         both the initial value and the control's value.
214
215 2005-07-21  Chris Toshok  <toshok@ximian.com>
216
217         * WebUIValidation.js: handle validators that use
218         Display="Dynamic".
219
220 2005-07-20  Chris Toshok  <toshok@ximian.com>
221
222         * WebUIValidation.js (ValidatorTrim): new function.
223         (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
224         ValidatorTrim.
225         (RegularExpressionValidatorEvaluateIsValid): same.
226         (RequiredFieldValidatorEvaluateIsValid): same.
227
228 2005-07-20  Chris Toshok  <toshok@ximian.com>
229
230         * WebUIValidation.js: new file.
231
232 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
233
234         * webform.js: ClientSubmit option set to true means submit
235         performed by asp.net, not by the browser.
236
237 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
238
239         * webform.js: Added webform script.
240
241 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
242
243         * arrow_up.gif, arrow_down.gif: Added menu resources.
244
245 2004-12-02  Lluis Sanchez Gual <lluis@novell.com>
246
247         * callback.js: Added callback script.
248
249 2004-11-26  Lluis Sanchez Gual <lluis@novell.com>
250
251         * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
252         box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
253         contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
254         inbox.gif, star_empty.gif, star_full.gif, warning.gif,
255         TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
256         TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
257         TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
258         TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
259         TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
260         TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js
261         
262         New files.