2007-07-18 Marek Habersack * ControlBuilder.cs: on the 2.0 profile BindingContainerType returns the associated control's base type when parent builder is absent instead of typeof (Control). It returns typeof (Control) if the parent builder type is determined to be a NamingContainer. This makes the generated code match the MS.NET output. Fixes bug #82119. 2007-07-18 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: scripts, registered using RegisterClientScriptInclude, RegisterClientScriptResource and RegisterClientScriptBlock appear on Page in order matches the order in which the scripts were registered. 2007-07-16 Igor Zelmanovich * Control.cs: fixed EnsureID. ID is not assigned, if already was set. 2007-07-12 Vladimir Krasnov * ClientScriptManager.cs: refactored event validation data structure * Page.cs: fixed InternalProcessRequest, event validation list should be cleared before render 2007-06-24 Vladimir Krasnov * ObjectStateFormatter.cs: optimized loops in array formatters 2007-07-03 Marek Habersack * SimpleWebHandlerParser.cs: improve directive pre-parsing. Directives can span multiple lines, they don't have to start at the beginning of the line and any content can follow them after the directive end. Also, do not trim the input since that might affect program content. Fixes bug #81993. 2007-07-02 Marek Habersack * Control.cs: make sure TemplateSourceDirectory returns meaningful results in the 1.1 profile. Fixes bug #81950. 2007-06-24 Vladimir Krasnov * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out parameter 2007-06-20 Marek Habersack * BasePartialCachingControl.cs: use HttpRuntime.InternalCache to keep the private entries. 2007-06-18 Igor Zelmanovich * Control.cs: revised the changes from r79982. 2007-06-18 Igor Zelmanovich * Control.cs: optimized flow in ResolveClientUrl. 2007-06-15 Gert Driesen * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851. 2007-06-09 Marek Habersack * TemplateControl.cs: make sure TemplateControl is set to the current control. * Control.cs: TemplateControl property goes up the parent chain if the property isn't defined in the current control. TemplateSourceDir finally implemented correctly. 2007-06-06 Marek Habersack * Control.cs: more changes to the way TemplateSourceDirectory works in the 2.0 profile. Take into account situations when a control is placed in a UserControl (.ascx) and only then fall back to the parent for its TemplateSourceDirectory. 2007-06-05 Marek Habersack * Control.cs: TemplateSourceDirectory uses TemplateControl to lookup the virtual source directory in the 2.0 instead of the Parent. ResolveClientUrl copes with empty TemplateSourceDirectory in the correct way now - the check is made after the basePath checks. The changes above make ResolveClientUrl work properly when called from within a control residing in a TemplateControl. 2007-05-30 Vladimir Krasnov * HtmlTextWriter.cs: EncodeAttributeValue should call HtmlAttributeEncode as documented 2007-05-24 Marek Habersack * PageParser.cs: added support for the PreviousPageType directive. 2007-05-23 Marek Habersack * TemplateParser.cs: use VirtualPathUtility.Combine to properly create the custom control's virtual path. 2007-05-22 Marek Habersack * TemplateBuilder.cs: in the absence of containerAttribute, default to two-way binding direction. 2007-05-21 Igor Zelmanovich * DataSourceView.cs: refactoring: Update, Insert methods: exception is re-thrown from catch scope. It allows actual call stack be shown 2007-05-17 Vladimir Krasnov * TemplateControl.jvm.cs: refactored key for CachedString method 2007-05-16 Vladimir Krasnov * HtmlTextWriter.cs: refactoring, created hashtables for tags, styles and attributes arrays, that gives performance improvement in GetTagKey GetStyleKey and GetAttributeKey methods 2007-05-15 Marek Habersack * TemplateControl.cs: implemented the 3-parameter overloads of GetLocalResourceObject and GetGlobalResourceObject. * TemplateParser.cs: refactoring - use HttpApplication.LoadType to actually look up types. * ControlBuilder.cs: as above 2007-05-14 Marek Habersack * ClientScriptManager.cs: put the hidden field within a
, the way MS.NET does it. 2007-05-11 Gert Driesen * ControlBuilder.cs: Fixed exception message in MapType. 2007-05-10 Marek Habersack * Control.cs: small formatting change 2007-05-10 Igor Zelmanovich * Page.cs: ExecuteRegisteredAsyncTasks: implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne 2007-05-09 Vladimir Krasnov * HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for AddedTag, AddedStyle and AddedAttr members * TemplateControl.jvm.cs: refactored CachedString method 2007-05-09 Marek Habersack * CollectionBuilder.cs: formatting changes * ControlBuilder.cs: if a control enables children as properties, has a default property and parser encounters a child tag/container with the default property name, discard the default property builder in order to avoid invalid sub builder invocation. An example is: Formatting changes. When checking for empty string, use Length not comparison with "" 2007-05-08 Marek Habersack * CssStyleCollection.cs: put the style in the bag each time a key is set, otherwise resetting of a key has no effect on rendered style. 2007-05-07 Marek Habersack * TemplateParser.cs: added support for implicit language detection. If the language isn't set explicitly in the Page directive, the language value taken from the configuration considered to be implicit - that is, it can be overwritten by the first