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