2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
[mono.git] / mcs / class / System.Web / resources / ChangeLog
1 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
2
3         * webform.js:
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.         
8
9 2007-05-16  Marek Habersack  <mhabersack@novell.com>
10
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.
16
17         * WebUIValidation.js: ported ToCurrency and ToDate converters from
18         WebUIValidation_2.0.js.
19
20 2007-04-17  Marek Habersack  <mhabersack@novell.com>
21
22         * WebUIValidation_2.0.js: added HaveRegexp () function to detect
23         if the browser supports the RegExp class. Use GetElement ()
24         everywhere.
25
26         * WebUIValidation.js: added HaveRegexp () function to detect if
27         the browser supports the RegExp class.
28
29         * webform.js: use WebForm_GetElementById everywhere.
30
31 2007-04-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
32
33         * webform.js: fixed WebForm_RestoreScrollPosition, old submit call
34         should be from form
35
36 2007-04-03  Marek Habersack  <mhabersack@novell.com>
37
38         * WebUIValidation_2.0.js: correctly validate against min/max
39         values. Fixes bug #81280
40
41 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
42
43         * webform.js: adjusted client script for MaintainScrollPositionOnPostBack 
44         feature to multiform enviroument in j2ee portal.
45
46 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
47
48         * webform.js: fixed WebForm_ReEnableControls
49
50 2007-02-18  Eyal Alaluf <eyala@mainsoft.com>
51
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. 
54
55 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
56
57         * WebUIValidation_2.0.js: 
58         support client side validation for RadioButtonList
59
60 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
61
62         * webform.js:
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.
66
67 2007-02-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
68
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
72         Page_ClientValidate
73
74 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
75
76         * MaintainScrollPositionOnPostBack.js:
77         * webform.js:
78         * callback.js:  
79         merged into one resource file.
80
81 2007-02-01  Adar Wesley <adarw@mainsoft.com>
82
83         * webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
84         after chaning UniqueId implementation to have '$'.
85
86 2007-01-30  Vladimir Krasnov  <vladimirk@mainsoft.com>
87
88         * webform.js: fixed WebForm_DoPostback, no need to find form if url is
89         null
90
91 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
92
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.
98
99 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
100
101         * webform.js: WebForm_AutoFocus support for not focusable elements 
102         by setting focus on first focusable child.
103
104 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
105
106         * callback.js: fixed: support IE7, encodeURIComponent is used to 
107         encode form.
108
109 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
110
111         * WebUIValidation_2.0.js: added new file
112
113 2006-03-13  Chris Toshok  <toshok@ximian.com>
114
115         * WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.
116
117 2006-01-15  Robert Jordan  <robertj@gmx.net>
118
119         * WebUIValidation.js (CustomValidatorEvaluateIsValid):
120           Allow empty/missing ControlToValidate attributes.
121         * WebUIValidation.js (ValidatorSucceeded):
122           Hide validator's view. Fixes bug #77261.
123
124 2005-10-18  Chris Toshok  <toshok@ximian.com>
125
126         * WebUIValidation.js: fix handling for validation_result so that
127         buttons that don't cause validation still work.  Fixes bug #76429.
128
129 2005-09-13  Chris Toshok  <toshok@ximian.com>
130
131         * WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
132         if an evaluationfunc wasn't provided is "valid".  Fixes #76078.
133
134 2005-09-06  Chris Toshok  <toshok@ximian.com>
135
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.
141
142 2005-09-06  Chris Toshok  <toshok@ximian.com>
143
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
147         execution.
148         (ValidatorGetErrorMessage): return the errormessage in preference
149         to the text.
150         (ValidatorGetText): new function, return the text in preference to
151         the error message.
152         (ValidatorFailed): use ValidatorGetText, and always set the
153         innerHTML, not just when we don't have validationsummary's.
154         
155 2005-08-27  Chris Toshok  <toshok@ximian.com>
156
157         * webform.js: add copyright blurb, and add implementation of
158         WebForm_AutoFocus, used by the 2.0 HtmlForm properties
159         DefaultButton and DefaultFocus.
160
161 2005-08-04  Chris Toshok  <toshok@ximian.com>
162
163         * WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
164         args.IsValid check.
165
166 2005-08-04  Chris Toshok  <toshok@ximian.com>
167
168         * WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
169         there's no attribute present.
170         (Page_ClientValidate): a validator succeeds if it's disabled.
171
172 2005-07-27  Chris Toshok  <toshok@ximian.com>
173
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.
178
179 2005-07-26  Chris Toshok  <toshok@ximian.com>
180
181         * WebUIValidation.js: fix the summary mode for
182         ValidationSummaries.
183
184 2005-07-25  Chris Toshok  <toshok@ximian.com>
185
186         * WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
187         GetAttribute is dead, long live validator.getAttribute.
188
189 2005-07-24  Chris Toshok  <toshok@ximian.com>
190
191         * WebUIValidation.js: add support for validation summaries, both
192         in summary and messagebox mode.
193
194 2005-07-22  Chris Toshok  <toshok@ximian.com>
195
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.
200
201 2005-07-21  Chris Toshok  <toshok@ximian.com>
202
203         * WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
204         both the initial value and the control's value.
205
206 2005-07-21  Chris Toshok  <toshok@ximian.com>
207
208         * WebUIValidation.js: handle validators that use
209         Display="Dynamic".
210
211 2005-07-20  Chris Toshok  <toshok@ximian.com>
212
213         * WebUIValidation.js (ValidatorTrim): new function.
214         (RangeValidatorEvaluateIsValid): use ValidatorGetValue and
215         ValidatorTrim.
216         (RegularExpressionValidatorEvaluateIsValid): same.
217         (RequiredFieldValidatorEvaluateIsValid): same.
218
219 2005-07-20  Chris Toshok  <toshok@ximian.com>
220
221         * WebUIValidation.js: new file.
222
223 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
224
225         * webform.js: ClientSubmit option set to true means submit
226         performed by asp.net, not by the browser.
227
228 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
229
230         * webform.js: Added webform script.
231
232 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
233
234         * arrow_up.gif, arrow_down.gif: Added menu resources.
235
236 2004-12-02  Lluis Sanchez Gual <lluis@novell.com>
237
238         * callback.js: Added callback script.
239
240 2004-11-26  Lluis Sanchez Gual <lluis@novell.com>
241
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
252         
253         New files.