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