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