* TemplateControl.cs: make local resources work with master
pages - use the AppRelativeVirtualPath for resource resolution.
svn path=/trunk/mcs/; revision=74976
* TemplateParser.cs: support the meta:resourcekey attribute in
Page and Control directives. Fixes bug #81204.
2007-03-26 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: refactor assining properties from
resources a bit to support pages and user controls. Fixes bug
#81204.
svn path=/trunk/mcs/; revision=74972
* TemplateParser.cs: Added support for the CodeFileBaseClass directive. Fixes bug #81132
2007-03-21 Marek Habersack <[email protected]>
* BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
AssignAppRelativeVirtualPath if the attribute was defined.
svn path=/trunk/mcs/; revision=74764
* TemplateControlCompiler.cs: added support for setting custom
attributes of a base class from the Page or Control directive
attributes.
2007-03-21 Marek Habersack <[email protected]>
* UnknownAttributeDescriptor.cs: an internal helper class for
custom directive attributes support.
* BaseParser.cs: ThrowParseException can now take variadic
parameters, for convenience.
* TemplateParser.cs: add support for custom attributes for the
Page and Control directives.
2007-03-21 Marek Habersack <[email protected]>
* System.Web.dll.sources: added UnknownAttributeDescriptor.cs
svn path=/trunk/mcs/; revision=74734
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
* PageCompiler.cs: interfaces are to be implemented by the parent
partial class, not the generated one.
* TemplateControlCompiler.cs:
Put field declarations for controls in the partial class.
* BaseCompiler.cs:
Change the generated code model for pages/controls to comply with
the way MS.NET does (partial class contains only two properties
plus declarations of all the controls, the actual control/page
class inherits from the partial class). Fixes bug #81001.
svn path=/trunk/mcs/; revision=74167
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <[email protected]>
* AppResourceFilesCollection.cs: added separate constructor for
local resources handling.
* TemplateControlCompiler.cs: request the local resource object
with proper virtual path.
* BaseCompiler.cs: added code to assing AppRelativeVirtualPath
property in the page/control constructor.
* AppResourcesCompiler.cs: does not require specifying manually
whether it's a global or local resource compiler anymore. New
constructors take care of that.
Changed to compile local resources on demand, when a control/page
is parsed.
2007-03-13 Marek Habersack <[email protected]>
* TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
#80634.
svn path=/trunk/mcs/; revision=74159
* Page.cs: initial implementation of support for Async=true. Added
initial support for ViewStateEncryption. Implemented
CreateHtmlTextWriterFromType.
* PageAsyncTask.cs: Created class to support Async pages.
* ObjectStateFormatter.cs: Added support for ViewState encryption.
* HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
to conform to MS behavior.
svn path=/trunk/mcs/; revision=73797
* TemplateControl.cs:
* TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
Method 'Page_XXX' is declared in the base class must be
called even is private.
svn path=/trunk/mcs/; revision=73458
* Page.cs: for 2.0: refactoring:
prepare infrastructure for Form.SubmitDisabledControls feature
2007-02-19 Igor Zelmanovich <[email protected]>
* HtmlInputCheckBox.cs:
* HtmlInputControl.cs:
* HtmlInputHidden.cs:
* HtmlInputRadioButton.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlTextArea.cs:
fixed: Form.SubmitDisabledControls feature:
not all HtmlInputControl need to be reenabled on client.
svn path=/trunk/mcs/; revision=73102
* Page.cs:
* ClientScriptManager.cs:
refactoring: 'theForm' variable is always declared on client.
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
svn path=/trunk/mcs/; revision=72830
* 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
* Button.cs:
* ButtonField.cs:
* CommandField.cs:
* DataControlButton.cs:
* DataControlField.cs:
* ImageButton.cs:
* PagerSettings.cs:
Internal classes are used in databound controls for buttons
are derived from right types. It allows to have access to them by casting
to public types. This trick is used in one of starter kits of MS.
2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
VerifyRenderingInServerForm does not fire exception when IsCallback
svn path=/trunk/mcs/; revision=72269
* Page.cs:
* ClientScriptManager.cs:
fixed RegisterClientScriptInclude: all includes that was registered before
rendering are rendered at begin form.
2007-02-04 Igor Zelmanovich <[email protected]>
* Panel.cs: fixed: reverted r71441.
* TreeView.cs: used internal RegisterWebFormClientScript API
to cause the relevant script be included.
svn path=/trunk/mcs/; revision=72258
* FormView.cs: fixed events ModeChanging and ModeChanged
to be raized in all relevant situations.
2007-02-01 Adar Wesley <[email protected]>
* Control.cs: Changed UniqueId implementation to have '$' and not ':'
to conform to MS. This led to updating several Tests that referenced
the UniqueId as string.
svn path=/trunk/mcs/; revision=72102