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