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