1 2008-01-10 Igor Zelmanovich <igorz@mainsoft.com>
4 make scripts compatible with MicrosoftAjaxLibrary.
6 2008-01-09 Igor Zelmanovich <igorz@mainsoft.com>
8 * WebUIValidation_2.0.js:
10 make scripts compatible with MicrosoftAjaxLibrary.
12 2007-12-08 Marek Habersack <mhabersack@novell.com>
14 * TranslationResources.resx: added - string resources for the
17 2007-11-20 Marek Habersack <mhabersack@novell.com>
19 * WebUIValidation.js: fix regular expression validator. Fixes bug
22 2007-11-20 Juraj Skripsky <js@hotfeet.ch>
24 * WebUIValidation_2.0.js: Fix typo.
26 2007-11-06 Juraj Skripsky <js@hotfeet.ch>
28 * webform.js (WebForm_FireDefaultButton): Gecko-based browsers
29 don't support the click() method for <a/> elements. Use
30 eval(myLink.href) instead.
32 2007-11-05 Igor Zelmanovich <igorz@mainsoft.com>
34 * WebUIValidation_2.0.js:
35 fixed RegularExpressionValidatorEvaluateIsValid function.
37 2007-11-01 Igor Zelmanovich <igorz@mainsoft.com>
39 * WebUIValidation_2.0.js: fixed ToInteger function.
40 value such '10.00' is not converted to integer.
42 2007-09-29 Marek Habersack <mhabersack@novell.com>
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.
53 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
55 * WebUIValidation_2.0.js:
56 all Validators use RegisterExpandoAttribute for
57 not XHTML compliant attributes.
59 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
61 * WebUIValidation_2.0.js: refactoring.
62 initialize evaluationfunction property for validator on client.
63 makes it compatible with AjaxControlToolkit.
65 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
67 * webform.js: fixed MaintainScrollPositionOnPostBack feature.
69 2007-08-19 Marek Habersack <mhabersack@novell.com>
71 * webform.js: __doPostBack is a function defined in the self
72 object, not this._form. Fixes bug #82478.
74 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
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.
82 2007-05-16 Marek Habersack <mhabersack@novell.com>
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.
90 * WebUIValidation.js: ported ToCurrency and ToDate converters from
91 WebUIValidation_2.0.js.
93 2007-04-17 Marek Habersack <mhabersack@novell.com>
95 * WebUIValidation_2.0.js: added HaveRegexp () function to detect
96 if the browser supports the RegExp class. Use GetElement ()
99 * WebUIValidation.js: added HaveRegexp () function to detect if
100 the browser supports the RegExp class.
102 * webform.js: use WebForm_GetElementById everywhere.
104 2007-04-11 Vladimir Krasnov <vladimirk@mainsoft.com>
106 * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
109 2007-04-03 Marek Habersack <mhabersack@novell.com>
111 * WebUIValidation_2.0.js: correctly validate against min/max
112 values. Fixes bug #81280
114 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
116 * webform.js: adjusted client script for MaintainScrollPositionOnPostBack
117 feature to multiform enviroument in j2ee portal.
119 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
121 * webform.js: fixed WebForm_ReEnableControls
123 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
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.
128 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
130 * WebUIValidation_2.0.js:
131 support client side validation for RadioButtonList
133 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
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.
140 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
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
147 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
149 * MaintainScrollPositionOnPostBack.js:
152 merged into one resource file.
154 2007-02-01 Adar Wesley <adarw@mainsoft.com>
156 * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
157 after chaning UniqueId implementation to have '$'.
159 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
161 * webform.js: fixed WebForm_DoPostback, no need to find form if url is
164 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
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.
172 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
174 * webform.js: WebForm_AutoFocus support for not focusable elements
175 by setting focus on first focusable child.
177 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
179 * callback.js: fixed: support IE7, encodeURIComponent is used to
182 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
184 * WebUIValidation_2.0.js: added new file
186 2006-03-13 Chris Toshok <toshok@ximian.com>
188 * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
190 2006-01-15 Robert Jordan <robertj@gmx.net>
192 * WebUIValidation.js (CustomValidatorEvaluateIsValid):
193 Allow empty/missing ControlToValidate attributes.
194 * WebUIValidation.js (ValidatorSucceeded):
195 Hide validator's view. Fixes bug #77261.
197 2005-10-18 Chris Toshok <toshok@ximian.com>
199 * WebUIValidation.js: fix handling for validation_result so that
200 buttons that don't cause validation still work. Fixes bug #76429.
202 2005-09-13 Chris Toshok <toshok@ximian.com>
204 * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
205 if an evaluationfunc wasn't provided is "valid". Fixes #76078.
207 2005-09-06 Chris Toshok <toshok@ximian.com>
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.
215 2005-09-06 Chris Toshok <toshok@ximian.com>
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
221 (ValidatorGetErrorMessage): return the errormessage in preference
223 (ValidatorGetText): new function, return the text in preference to
225 (ValidatorFailed): use ValidatorGetText, and always set the
226 innerHTML, not just when we don't have validationsummary's.
228 2005-08-27 Chris Toshok <toshok@ximian.com>
230 * webform.js: add copyright blurb, and add implementation of
231 WebForm_AutoFocus, used by the 2.0 HtmlForm properties
232 DefaultButton and DefaultFocus.
234 2005-08-04 Chris Toshok <toshok@ximian.com>
236 * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
239 2005-08-04 Chris Toshok <toshok@ximian.com>
241 * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
242 there's no attribute present.
243 (Page_ClientValidate): a validator succeeds if it's disabled.
245 2005-07-27 Chris Toshok <toshok@ximian.com>
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.
252 2005-07-26 Chris Toshok <toshok@ximian.com>
254 * WebUIValidation.js: fix the summary mode for
257 2005-07-25 Chris Toshok <toshok@ximian.com>
259 * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
260 GetAttribute is dead, long live validator.getAttribute.
262 2005-07-24 Chris Toshok <toshok@ximian.com>
264 * WebUIValidation.js: add support for validation summaries, both
265 in summary and messagebox mode.
267 2005-07-22 Chris Toshok <toshok@ximian.com>
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.
274 2005-07-21 Chris Toshok <toshok@ximian.com>
276 * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
277 both the initial value and the control's value.
279 2005-07-21 Chris Toshok <toshok@ximian.com>
281 * WebUIValidation.js: handle validators that use
284 2005-07-20 Chris Toshok <toshok@ximian.com>
286 * WebUIValidation.js (ValidatorTrim): new function.
287 (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
289 (RegularExpressionValidatorEvaluateIsValid): same.
290 (RequiredFieldValidatorEvaluateIsValid): same.
292 2005-07-20 Chris Toshok <toshok@ximian.com>
294 * WebUIValidation.js: new file.
296 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
298 * webform.js: ClientSubmit option set to true means submit
299 performed by asp.net, not by the browser.
301 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
303 * webform.js: Added webform script.
305 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
307 * arrow_up.gif, arrow_down.gif: Added menu resources.
309 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
311 * callback.js: Added callback script.
313 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
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