1 2007-09-29 Marek Habersack <mhabersack@novell.com>
3 * WebUIValidation_2.0.js: replace all the ocurrences of 'this' with
4 'webForm'. The reason for such change is that under certain
5 circumstances the function may be called on an object which is not
6 the original webForm to which the function was assigned. This
7 happens, for instance, in the AJAX Control Toolkit which wraps the
8 ValidatorGetValue function with its own version and calls the
9 original function on a Function object, so 'this' in that instance
10 becomes a 'function()' and not the original 'Window' object.
12 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
14 * WebUIValidation_2.0.js:
15 all Validators use RegisterExpandoAttribute for
16 not XHTML compliant attributes.
18 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
20 * WebUIValidation_2.0.js: refactoring.
21 initialize evaluationfunction property for validator on client.
22 makes it compatible with AjaxControlToolkit.
24 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
26 * webform.js: fixed MaintainScrollPositionOnPostBack feature.
28 2007-08-19 Marek Habersack <mhabersack@novell.com>
30 * webform.js: __doPostBack is a function defined in the self
31 object, not this._form. Fixes bug #82478.
33 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
36 * WebUIValidation_2.0.js:
37 refactoring: provide possibility to define relevant functions in different
38 scopes. (global=window or form element). thus providing a solution for
39 multi form environment.
41 2007-05-16 Marek Habersack <mhabersack@novell.com>
43 * webform.js: in WebForm_ClientCallback set the id of the
44 __EVENTVALIDATION element when creating it or otherwise
45 WebForm_getFormData will not ignore it as expected by
46 WebForm_DoCallback, which will result in the variable being
47 present twice in the POST request.
49 * WebUIValidation.js: ported ToCurrency and ToDate converters from
50 WebUIValidation_2.0.js.
52 2007-04-17 Marek Habersack <mhabersack@novell.com>
54 * WebUIValidation_2.0.js: added HaveRegexp () function to detect
55 if the browser supports the RegExp class. Use GetElement ()
58 * WebUIValidation.js: added HaveRegexp () function to detect if
59 the browser supports the RegExp class.
61 * webform.js: use WebForm_GetElementById everywhere.
63 2007-04-11 Vladimir Krasnov <vladimirk@mainsoft.com>
65 * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
68 2007-04-03 Marek Habersack <mhabersack@novell.com>
70 * WebUIValidation_2.0.js: correctly validate against min/max
71 values. Fixes bug #81280
73 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
75 * webform.js: adjusted client script for MaintainScrollPositionOnPostBack
76 feature to multiform enviroument in j2ee portal.
78 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
80 * webform.js: fixed WebForm_ReEnableControls
82 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
84 * webform.js: Adding an optional parameter for passing the form to all JS
85 methods. This is needed to support Http callbacks for J2EE portlets.
87 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
89 * WebUIValidation_2.0.js:
90 support client side validation for RadioButtonList
92 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
95 fixed Callback feature: when WebForm_DoCallback is called
96 not all input elements are posted. for example checkbox if not
97 checked is not posted.
99 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
101 * webform.js: added validators context init for j2ee portal support
102 * WebUIValidation_2.0.js: added SetValidatorContext function,
103 refactored evaluation function init ValidatorOnLoad and
106 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
108 * MaintainScrollPositionOnPostBack.js:
111 merged into one resource file.
113 2007-02-01 Adar Wesley <adarw@mainsoft.com>
115 * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
116 after chaning UniqueId implementation to have '$'.
118 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
120 * webform.js: fixed WebForm_DoPostback, no need to find form if url is
123 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
125 * MaintainScrollPositionOnPostBack.js, callback.js, webform.js: Under
126 TARGET_J2EE portlet support we may have more then one ASP.Net form in a
127 client page. Modify code to not assume we have a global 'theForm'
128 variable. We either lookup the form using the control ID and DOM hierarchy
129 or we receive it as an optional parameter to the function.
131 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
133 * webform.js: WebForm_AutoFocus support for not focusable elements
134 by setting focus on first focusable child.
136 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
138 * callback.js: fixed: support IE7, encodeURIComponent is used to
141 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
143 * WebUIValidation_2.0.js: added new file
145 2006-03-13 Chris Toshok <toshok@ximian.com>
147 * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
149 2006-01-15 Robert Jordan <robertj@gmx.net>
151 * WebUIValidation.js (CustomValidatorEvaluateIsValid):
152 Allow empty/missing ControlToValidate attributes.
153 * WebUIValidation.js (ValidatorSucceeded):
154 Hide validator's view. Fixes bug #77261.
156 2005-10-18 Chris Toshok <toshok@ximian.com>
158 * WebUIValidation.js: fix handling for validation_result so that
159 buttons that don't cause validation still work. Fixes bug #76429.
161 2005-09-13 Chris Toshok <toshok@ximian.com>
163 * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
164 if an evaluationfunc wasn't provided is "valid". Fixes #76078.
166 2005-09-06 Chris Toshok <toshok@ximian.com>
168 * webform.js (wasControlEnabled): use __enabledControlArray,
169 generated by the HtmlControl foo when using
170 SubmitDisabledControls.
171 (WebForm_ReEnableControls): used by HtmlForm's
172 SubmitDisabledControls.
174 2005-09-06 Chris Toshok <toshok@ximian.com>
176 * WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
177 that for validationsummary's we show the message box after we
178 display the summary. This is because the alert blocks further
180 (ValidatorGetErrorMessage): return the errormessage in preference
182 (ValidatorGetText): new function, return the text in preference to
184 (ValidatorFailed): use ValidatorGetText, and always set the
185 innerHTML, not just when we don't have validationsummary's.
187 2005-08-27 Chris Toshok <toshok@ximian.com>
189 * webform.js: add copyright blurb, and add implementation of
190 WebForm_AutoFocus, used by the 2.0 HtmlForm properties
191 DefaultButton and DefaultFocus.
193 2005-08-04 Chris Toshok <toshok@ximian.com>
195 * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
198 2005-08-04 Chris Toshok <toshok@ximian.com>
200 * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
201 there's no attribute present.
202 (Page_ClientValidate): a validator succeeds if it's disabled.
204 2005-07-27 Chris Toshok <toshok@ximian.com>
206 * WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
207 List and SingleParagraph mode ValidationSummaries.
208 (ValidatorTrim): use two regexps instead of two while loops.
209 (CustomValidatorEvaluateIsValid): new function.
211 2005-07-26 Chris Toshok <toshok@ximian.com>
213 * WebUIValidation.js: fix the summary mode for
216 2005-07-25 Chris Toshok <toshok@ximian.com>
218 * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
219 GetAttribute is dead, long live validator.getAttribute.
221 2005-07-24 Chris Toshok <toshok@ximian.com>
223 * WebUIValidation.js: add support for validation summaries, both
224 in summary and messagebox mode.
226 2005-07-22 Chris Toshok <toshok@ximian.com>
228 * WebUIValidation.js: the JSUnit tests pointed out that
229 validator.evaluationfunction is not a string after OnLoad. do
230 this as well so the tests pass, and deal with the difference
231 between o[attr], o.getAttribute(attr), and o.attr. Ugh.
233 2005-07-21 Chris Toshok <toshok@ximian.com>
235 * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
236 both the initial value and the control's value.
238 2005-07-21 Chris Toshok <toshok@ximian.com>
240 * WebUIValidation.js: handle validators that use
243 2005-07-20 Chris Toshok <toshok@ximian.com>
245 * WebUIValidation.js (ValidatorTrim): new function.
246 (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
248 (RegularExpressionValidatorEvaluateIsValid): same.
249 (RequiredFieldValidatorEvaluateIsValid): same.
251 2005-07-20 Chris Toshok <toshok@ximian.com>
253 * WebUIValidation.js: new file.
255 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
257 * webform.js: ClientSubmit option set to true means submit
258 performed by asp.net, not by the browser.
260 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
262 * webform.js: Added webform script.
264 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
266 * arrow_up.gif, arrow_down.gif: Added menu resources.
268 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
270 * callback.js: Added callback script.
272 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
274 * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
275 box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
276 contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
277 inbox.gif, star_empty.gif, star_full.gif, warning.gif,
278 TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
279 TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
280 TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
281 TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
282 TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
283 TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js