* WebUIValidation_2.0.js: fail gracefully if control to validate
is not found (webForm.ValidatorGetValue and
webForm.Page_ClientValidate). Fixes bug #609478
svn path=/trunk/mcs/; revision=158905
* Makefile ($(build_lib)): fixed a typo in dependency macro
2009-10-05 Marek Habersack <[email protected]>
* WebUIValidation_2.0.js: before using webFrom.Page_Validators,
check if they are defined and not null. Fixes bug #542582
svn path=/trunk/mcs/; revision=143388
* WebUIValidation_2.0.js: CustomValidatorEvaluateIsValid calls the
client-side evaluation function even if ControlToValidate is not
set. Fixes bug #485458
svn path=/trunk/mcs/; revision=130979
* TranslationResources.resx: added - string resources for the
Sqlite providers.
2007-12-08 Marek Habersack <[email protected]>
* SQLiteProviders_DatabaseSchema.sql: added
* Makefile: added support for compiling .resx resources.
Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
Added new resource files to EXTRA_DISTFILES
2007-12-08 Marek Habersack <[email protected]>
* HttpRuntime.cs: initialize the Settings Mapping Manager once per
application, just after initalizing the WebConfigurationManager
2007-12-08 Marek Habersack <[email protected]>
* SqliteProfileProvider.cs: added - a Profile Provider for
Sqlite, based on PostgreSQL Profile Provider code from Daniel
Nauck <[email protected]>
2007-12-08 Marek Habersack <[email protected]>
* TranslationProperties.Designer.cs: added - contains strongly
typed properties referring to string resources used by the Sqlite
providers.
2007-12-08 Marek Habersack <[email protected]>
* WebConfigurationManager.cs: GetSection now runs each section
through a mapper (if any is defined for the section) before
returning it to the caller.
2007-12-08 Marek Habersack <[email protected]>
* SqliteRoleProvider.cs: added - a Role Provider for
Sqlite, based on PostgreSQL Role Provider code from Daniel
Nauck <[email protected]>
* SqliteMembershipProvider.cs: added - a Membership Provider for
Sqlite, based on PostgreSQL Membership Provider code from Daniel
Nauck <[email protected]>
2007-12-08 Marek Habersack <[email protected]>
* SerializationHelper.cs: added - serialization helper for the
Sqlite Profile Provider.
* RoleManagerSectionMapper.cs: added - section settings mapper for
the RoleManager section.
* MembershipSectionMapper.cs: added - section settings mapper for
the Membership section.
* ISectionSettingsMapper.cs: added - interface definition for
section settings mappers.
* SettingsMappingWhat.cs: added - describes a single 'what' tag
instance inside the mapper definition in the settings.map file.
* SettingsMapping.cs: added - represents a single mapper entry in
the settings.map file.
* SettingsMappingManager.cs: added - manages settings mapping as
defined in the settings.map file.
svn path=/trunk/mcs/; revision=90972
* webform.js (WebForm_FireDefaultButton): Gecko-based browsers
don't support the click() method for <a/> elements. Use
eval(myLink.href) instead.
svn path=/trunk/mcs/; revision=89036
* WebUIValidation_2.0.js: replace all the ocurrences of 'this' with
'webForm'. The reason for such change is that under certain
circumstances the function may be called on an object which is not
the original webForm to which the function was assigned. This
happens, for instance, in the AJAX Control Toolkit which wraps the
ValidatorGetValue function with its own version and calls the
original function on a Function object, so 'this' in that instance
becomes a 'function()' and not the original 'Window' object.
svn path=/trunk/mcs/; revision=86622
* BaseCompareValidator.cs:
* BaseValidator.cs:
* CompareValidator.cs:
* CustomValidator.cs:
* RangeValidator.cs:
* RegularExpressionValidator.cs:
* RequiredFieldValidator.cs:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.
2007-08-30 Igor Zelmanovich <[email protected]>
* WebUIValidation_2.0.js:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.
svn path=/trunk/mcs/; revision=85047
* WebUIValidation_2.0.js: refactoring.
initialize evaluationfunction property for validator on client.
makes it compatible with AjaxControlToolkit.
svn path=/trunk/mcs/; revision=85038
* webform.js:
* WebUIValidation_2.0.js:
refactoring: provide possibility to define relevant functions in different
scopes. (global=window or form element). thus providing a solution for
multi form environment.
2007-07-24 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
* Page.cs:
* Page.jvm.cs:
added new internal property IsMultiForm which returns false under
!TARGET_J2EE (Portal). All client scripts are rendered
according this property.
2007-07-24 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: All client scripts are rendered
according IsMultiForm property.
svn path=/trunk/mcs/; revision=82648
2007-05-16 Marek Habersack <[email protected]>
* webform.js: in WebForm_ClientCallback set the id of the
__EVENTVALIDATION element when creating it or otherwise
WebForm_getFormData will not ignore it as expected by
WebForm_DoCallback, which will result in the variable being
present twice in the POST request.
svn path=/trunk/mcs/; revision=77475
* culevel/culevel.exe.sources: added
* culevel/Makefile (thisdir): added
* culevel/CompileUplevel.cs: added
* Makefile (thisdir): added the culevel subdirectory to the list.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (thisdir): added tools/culevel to the list of
subdirectories - it must be compiled before compiling the classes
since System.Web depends on it.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (System.Web/UplevelHelper.cs): autogenerate the file if
it doesn't exist.
* System.Web.dll.sources: added the System.Web/UplevelHelper.cs
file. It is autogenerated by the culevel compiler.
* UplevelHelperDefinitions.xml: added default uplevel browsers
definition file. This serves as input to the culevel compiler in
the tools directory at the top of the mcs tree.
2007-04-17 Marek Habersack <[email protected]>
* WebUIValidation_2.0.js: added HaveRegexp () function to detect
if the browser supports the RegExp class. Use GetElement ()
everywhere.
* WebUIValidation.js: added HaveRegexp () function to detect if
the browser supports the RegExp class.
* webform.js: use WebForm_GetElementById everywhere.
2007-04-17 Marek Habersack <[email protected]>
* HtmlForm.cs: use the new uplevel browser detection code.
2007-04-17 Marek Habersack <[email protected]>
* BaseValidator.cs: use the new uplevel browser detection code.
svn path=/trunk/mcs/; revision=75818
* webform.js:
fixed Callback feature: when WebForm_DoCallback is called
not all input elements are posted. for example checkbox if not
checked is not posted.
svn path=/trunk/mcs/; revision=72733
* WebUIValidation_2.0.js: added SetValidatorContext function, refactored evaluation function init ValidatorOnLoad and Page_ClientValidate
* ClientScriptManager.cs: added array declaration also as member of form in TARGET_J2EE for j2ee portal support.
Added validators context init for GetClientValidationEvent under TARGET_J2EE for j2ee portal support.
* Page.cs: fixed OnFormPostRender, render array declarations after postback script.
svn path=/trunk/mcs/; revision=72465
* Page.cs:
* ClientScriptManager.cs:
client scripts (webform.js, callback.js and
MaintainScrollPositionOnPostBack.js) were merged into one resource file.
2007-02-04 Igor Zelmanovich <[email protected]>
* MaintainScrollPositionOnPostBack.js:
* webform.js:
* callback.js:
merged into one resource file.
svn path=/trunk/mcs/; revision=72408
* webform.js: fixed WebForm_GetFormFromCtrl to find controls by id
after chaning UniqueId implementation to have '$'.
svn path=/trunk/mcs/; revision=72103
* WebUIValidation.js: fix handling for validation_result so that
buttons that don't cause validation still work. Fixes bug #76429.
svn path=/trunk/mcs/; revision=51890
* WebUIValidation.js (CustomValidatorEvaluateIsValid): the default
if an evaluationfunc wasn't provided is "valid". Fixes#76078.
svn path=/trunk/mcs/; revision=49976
* webform.js (wasControlEnabled): use __enabledControlArray,
generated by the HtmlControl foo when using
SubmitDisabledControls.
(WebForm_ReEnableControls): used by HtmlForm's
SubmitDisabledControls.
svn path=/trunk/mcs/; revision=49573
* WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
that for validationsummary's we show the message box after we
display the summary. This is because the alert blocks further
execution.
(ValidatorGetErrorMessage): return the errormessage in preference
to the text.
(ValidatorGetText): new function, return the text in preference to
the error message.
(ValidatorFailed): use ValidatorGetText, and always set the
innerHTML, not just when we don't have validationsummary's.
svn path=/trunk/mcs/; revision=49556
* webform.js: add copyright blurb, and add implementation of
WebForm_AutoFocus, used by the 2.0 HtmlForm properties
DefaultButton and DefaultFocus.
svn path=/trunk/mcs/; revision=48984