1 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
4 * WebUIValidation_2.0.js:
5 refactoring: provide possibility to define relevant functions in different
6 scopes. (global=window or form element). thus providing a solution for
7 multi form environment.
9 2007-05-16 Marek Habersack <mhabersack@novell.com>
11 * webform.js: in WebForm_ClientCallback set the id of the
12 __EVENTVALIDATION element when creating it or otherwise
13 WebForm_getFormData will not ignore it as expected by
14 WebForm_DoCallback, which will result in the variable being
15 present twice in the POST request.
17 * WebUIValidation.js: ported ToCurrency and ToDate converters from
18 WebUIValidation_2.0.js.
20 2007-04-17 Marek Habersack <mhabersack@novell.com>
22 * WebUIValidation_2.0.js: added HaveRegexp () function to detect
23 if the browser supports the RegExp class. Use GetElement ()
26 * WebUIValidation.js: added HaveRegexp () function to detect if
27 the browser supports the RegExp class.
29 * webform.js: use WebForm_GetElementById everywhere.
31 2007-04-11 Vladimir Krasnov <vladimirk@mainsoft.com>
33 * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
36 2007-04-03 Marek Habersack <mhabersack@novell.com>
38 * WebUIValidation_2.0.js: correctly validate against min/max
39 values. Fixes bug #81280
41 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
43 * webform.js: adjusted client script for MaintainScrollPositionOnPostBack
44 feature to multiform enviroument in j2ee portal.
46 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
48 * webform.js: fixed WebForm_ReEnableControls
50 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
52 * webform.js: Adding an optional parameter for passing the form to all JS
53 methods. This is needed to support Http callbacks for J2EE portlets.
55 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
57 * WebUIValidation_2.0.js:
58 support client side validation for RadioButtonList
60 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
63 fixed Callback feature: when WebForm_DoCallback is called
64 not all input elements are posted. for example checkbox if not
65 checked is not posted.
67 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
69 * webform.js: added validators context init for j2ee portal support
70 * WebUIValidation_2.0.js: added SetValidatorContext function,
71 refactored evaluation function init ValidatorOnLoad and
74 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
76 * MaintainScrollPositionOnPostBack.js:
79 merged into one resource file.
81 2007-02-01 Adar Wesley <adarw@mainsoft.com>
83 * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
84 after chaning UniqueId implementation to have '$'.
86 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
88 * webform.js: fixed WebForm_DoPostback, no need to find form if url is
91 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
93 * MaintainScrollPositionOnPostBack.js, callback.js, webform.js: Under
94 TARGET_J2EE portlet support we may have more then one ASP.Net form in a
95 client page. Modify code to not assume we have a global 'theForm'
96 variable. We either lookup the form using the control ID and DOM hierarchy
97 or we receive it as an optional parameter to the function.
99 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
101 * webform.js: WebForm_AutoFocus support for not focusable elements
102 by setting focus on first focusable child.
104 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
106 * callback.js: fixed: support IE7, encodeURIComponent is used to
109 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
111 * WebUIValidation_2.0.js: added new file
113 2006-03-13 Chris Toshok <toshok@ximian.com>
115 * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
117 2006-01-15 Robert Jordan <robertj@gmx.net>
119 * WebUIValidation.js (CustomValidatorEvaluateIsValid):
120 Allow empty/missing ControlToValidate attributes.
121 * WebUIValidation.js (ValidatorSucceeded):
122 Hide validator's view. Fixes bug #77261.
124 2005-10-18 Chris Toshok <toshok@ximian.com>
126 * WebUIValidation.js: fix handling for validation_result so that
127 buttons that don't cause validation still work. Fixes bug #76429.
129 2005-09-13 Chris Toshok <toshok@ximian.com>
131 * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
132 if an evaluationfunc wasn't provided is "valid". Fixes #76078.
134 2005-09-06 Chris Toshok <toshok@ximian.com>
136 * webform.js (wasControlEnabled): use __enabledControlArray,
137 generated by the HtmlControl foo when using
138 SubmitDisabledControls.
139 (WebForm_ReEnableControls): used by HtmlForm's
140 SubmitDisabledControls.
142 2005-09-06 Chris Toshok <toshok@ximian.com>
144 * WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
145 that for validationsummary's we show the message box after we
146 display the summary. This is because the alert blocks further
148 (ValidatorGetErrorMessage): return the errormessage in preference
150 (ValidatorGetText): new function, return the text in preference to
152 (ValidatorFailed): use ValidatorGetText, and always set the
153 innerHTML, not just when we don't have validationsummary's.
155 2005-08-27 Chris Toshok <toshok@ximian.com>
157 * webform.js: add copyright blurb, and add implementation of
158 WebForm_AutoFocus, used by the 2.0 HtmlForm properties
159 DefaultButton and DefaultFocus.
161 2005-08-04 Chris Toshok <toshok@ximian.com>
163 * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
166 2005-08-04 Chris Toshok <toshok@ximian.com>
168 * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
169 there's no attribute present.
170 (Page_ClientValidate): a validator succeeds if it's disabled.
172 2005-07-27 Chris Toshok <toshok@ximian.com>
174 * WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
175 List and SingleParagraph mode ValidationSummaries.
176 (ValidatorTrim): use two regexps instead of two while loops.
177 (CustomValidatorEvaluateIsValid): new function.
179 2005-07-26 Chris Toshok <toshok@ximian.com>
181 * WebUIValidation.js: fix the summary mode for
184 2005-07-25 Chris Toshok <toshok@ximian.com>
186 * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
187 GetAttribute is dead, long live validator.getAttribute.
189 2005-07-24 Chris Toshok <toshok@ximian.com>
191 * WebUIValidation.js: add support for validation summaries, both
192 in summary and messagebox mode.
194 2005-07-22 Chris Toshok <toshok@ximian.com>
196 * WebUIValidation.js: the JSUnit tests pointed out that
197 validator.evaluationfunction is not a string after OnLoad. do
198 this as well so the tests pass, and deal with the difference
199 between o[attr], o.getAttribute(attr), and o.attr. Ugh.
201 2005-07-21 Chris Toshok <toshok@ximian.com>
203 * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
204 both the initial value and the control's value.
206 2005-07-21 Chris Toshok <toshok@ximian.com>
208 * WebUIValidation.js: handle validators that use
211 2005-07-20 Chris Toshok <toshok@ximian.com>
213 * WebUIValidation.js (ValidatorTrim): new function.
214 (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
216 (RegularExpressionValidatorEvaluateIsValid): same.
217 (RequiredFieldValidatorEvaluateIsValid): same.
219 2005-07-20 Chris Toshok <toshok@ximian.com>
221 * WebUIValidation.js: new file.
223 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
225 * webform.js: ClientSubmit option set to true means submit
226 performed by asp.net, not by the browser.
228 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
230 * webform.js: Added webform script.
232 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
234 * arrow_up.gif, arrow_down.gif: Added menu resources.
236 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
238 * callback.js: Added callback script.
240 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
242 * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
243 box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
244 contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
245 inbox.gif, star_empty.gif, star_full.gif, warning.gif,
246 TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
247 TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
248 TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
249 TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
250 TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
251 TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js