1 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3 * webform.js: fixed MaintainScrollPositionOnPostBack feature.
5 2007-08-19 Marek Habersack <mhabersack@novell.com>
7 * webform.js: __doPostBack is a function defined in the self
8 object, not this._form. Fixes bug #82478.
10 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
13 * WebUIValidation_2.0.js:
14 refactoring: provide possibility to define relevant functions in different
15 scopes. (global=window or form element). thus providing a solution for
16 multi form environment.
18 2007-05-16 Marek Habersack <mhabersack@novell.com>
20 * webform.js: in WebForm_ClientCallback set the id of the
21 __EVENTVALIDATION element when creating it or otherwise
22 WebForm_getFormData will not ignore it as expected by
23 WebForm_DoCallback, which will result in the variable being
24 present twice in the POST request.
26 * WebUIValidation.js: ported ToCurrency and ToDate converters from
27 WebUIValidation_2.0.js.
29 2007-04-17 Marek Habersack <mhabersack@novell.com>
31 * WebUIValidation_2.0.js: added HaveRegexp () function to detect
32 if the browser supports the RegExp class. Use GetElement ()
35 * WebUIValidation.js: added HaveRegexp () function to detect if
36 the browser supports the RegExp class.
38 * webform.js: use WebForm_GetElementById everywhere.
40 2007-04-11 Vladimir Krasnov <vladimirk@mainsoft.com>
42 * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
45 2007-04-03 Marek Habersack <mhabersack@novell.com>
47 * WebUIValidation_2.0.js: correctly validate against min/max
48 values. Fixes bug #81280
50 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
52 * webform.js: adjusted client script for MaintainScrollPositionOnPostBack
53 feature to multiform enviroument in j2ee portal.
55 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
57 * webform.js: fixed WebForm_ReEnableControls
59 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
61 * webform.js: Adding an optional parameter for passing the form to all JS
62 methods. This is needed to support Http callbacks for J2EE portlets.
64 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
66 * WebUIValidation_2.0.js:
67 support client side validation for RadioButtonList
69 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
72 fixed Callback feature: when WebForm_DoCallback is called
73 not all input elements are posted. for example checkbox if not
74 checked is not posted.
76 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
78 * webform.js: added validators context init for j2ee portal support
79 * WebUIValidation_2.0.js: added SetValidatorContext function,
80 refactored evaluation function init ValidatorOnLoad and
83 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
85 * MaintainScrollPositionOnPostBack.js:
88 merged into one resource file.
90 2007-02-01 Adar Wesley <adarw@mainsoft.com>
92 * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
93 after chaning UniqueId implementation to have '$'.
95 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
97 * webform.js: fixed WebForm_DoPostback, no need to find form if url is
100 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
102 * MaintainScrollPositionOnPostBack.js, callback.js, webform.js: Under
103 TARGET_J2EE portlet support we may have more then one ASP.Net form in a
104 client page. Modify code to not assume we have a global 'theForm'
105 variable. We either lookup the form using the control ID and DOM hierarchy
106 or we receive it as an optional parameter to the function.
108 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
110 * webform.js: WebForm_AutoFocus support for not focusable elements
111 by setting focus on first focusable child.
113 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
115 * callback.js: fixed: support IE7, encodeURIComponent is used to
118 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
120 * WebUIValidation_2.0.js: added new file
122 2006-03-13 Chris Toshok <toshok@ximian.com>
124 * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
126 2006-01-15 Robert Jordan <robertj@gmx.net>
128 * WebUIValidation.js (CustomValidatorEvaluateIsValid):
129 Allow empty/missing ControlToValidate attributes.
130 * WebUIValidation.js (ValidatorSucceeded):
131 Hide validator's view. Fixes bug #77261.
133 2005-10-18 Chris Toshok <toshok@ximian.com>
135 * WebUIValidation.js: fix handling for validation_result so that
136 buttons that don't cause validation still work. Fixes bug #76429.
138 2005-09-13 Chris Toshok <toshok@ximian.com>
140 * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
141 if an evaluationfunc wasn't provided is "valid". Fixes #76078.
143 2005-09-06 Chris Toshok <toshok@ximian.com>
145 * webform.js (wasControlEnabled): use __enabledControlArray,
146 generated by the HtmlControl foo when using
147 SubmitDisabledControls.
148 (WebForm_ReEnableControls): used by HtmlForm's
149 SubmitDisabledControls.
151 2005-09-06 Chris Toshok <toshok@ximian.com>
153 * WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
154 that for validationsummary's we show the message box after we
155 display the summary. This is because the alert blocks further
157 (ValidatorGetErrorMessage): return the errormessage in preference
159 (ValidatorGetText): new function, return the text in preference to
161 (ValidatorFailed): use ValidatorGetText, and always set the
162 innerHTML, not just when we don't have validationsummary's.
164 2005-08-27 Chris Toshok <toshok@ximian.com>
166 * webform.js: add copyright blurb, and add implementation of
167 WebForm_AutoFocus, used by the 2.0 HtmlForm properties
168 DefaultButton and DefaultFocus.
170 2005-08-04 Chris Toshok <toshok@ximian.com>
172 * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
175 2005-08-04 Chris Toshok <toshok@ximian.com>
177 * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
178 there's no attribute present.
179 (Page_ClientValidate): a validator succeeds if it's disabled.
181 2005-07-27 Chris Toshok <toshok@ximian.com>
183 * WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
184 List and SingleParagraph mode ValidationSummaries.
185 (ValidatorTrim): use two regexps instead of two while loops.
186 (CustomValidatorEvaluateIsValid): new function.
188 2005-07-26 Chris Toshok <toshok@ximian.com>
190 * WebUIValidation.js: fix the summary mode for
193 2005-07-25 Chris Toshok <toshok@ximian.com>
195 * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
196 GetAttribute is dead, long live validator.getAttribute.
198 2005-07-24 Chris Toshok <toshok@ximian.com>
200 * WebUIValidation.js: add support for validation summaries, both
201 in summary and messagebox mode.
203 2005-07-22 Chris Toshok <toshok@ximian.com>
205 * WebUIValidation.js: the JSUnit tests pointed out that
206 validator.evaluationfunction is not a string after OnLoad. do
207 this as well so the tests pass, and deal with the difference
208 between o[attr], o.getAttribute(attr), and o.attr. Ugh.
210 2005-07-21 Chris Toshok <toshok@ximian.com>
212 * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
213 both the initial value and the control's value.
215 2005-07-21 Chris Toshok <toshok@ximian.com>
217 * WebUIValidation.js: handle validators that use
220 2005-07-20 Chris Toshok <toshok@ximian.com>
222 * WebUIValidation.js (ValidatorTrim): new function.
223 (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
225 (RegularExpressionValidatorEvaluateIsValid): same.
226 (RequiredFieldValidatorEvaluateIsValid): same.
228 2005-07-20 Chris Toshok <toshok@ximian.com>
230 * WebUIValidation.js: new file.
232 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
234 * webform.js: ClientSubmit option set to true means submit
235 performed by asp.net, not by the browser.
237 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
239 * webform.js: Added webform script.
241 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
243 * arrow_up.gif, arrow_down.gif: Added menu resources.
245 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
247 * callback.js: Added callback script.
249 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
251 * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
252 box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
253 contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
254 inbox.gif, star_empty.gif, star_full.gif, warning.gif,
255 TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
256 TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
257 TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
258 TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
259 TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
260 TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js