* Page.cs:
* Control.cs: avoid the creation of the EventHandlerList and accessing
to it whenever possible. Fix ENABLE_THEMING constant.
svn path=/trunk/mcs/; revision=46489
* TemplateParser.cs:
* TemplateControlParser.cs:
* UserControlParser.cs: detect circular references when a control tries
to register itself as a tag. Fixes bug #75376.
svn path=/trunk/mcs/; revision=46488
* PageParser.cs: don't try to compile the master page if it wan't
provided. Use MapPath from the base classes instead of the long
version. Fixes bug #75269 that prevented xsp2 from working properly.
svn path=/trunk/mcs/; revision=46006
* PageParser.cs: Added MasterType property. Get the type from the
MasterType directive.
* MasterPageParser.cs: Added GetCompiledMasterType method.
svn path=/trunk/mcs/; revision=45884
* System.Web.UI/Page.cs: added AddContentTemplate method.
* System.Web.Compilation/TemplateControlCompiler.cs: use the Page
AddContentTemplate method, as the one in Master is protected. Fixes
bug #75157.
svn path=/trunk/mcs/; revision=45418
* Page.cs: as setting CurrentCulture is slow, don't set it if the
culture has not changed since before the page started processing.
svn path=/trunk/mcs/; revision=44231
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
TempDirectory is not empty before assigning it. Don't mangle the
assembly names provided.
* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
as the temp directory instead of Path.GetTempPath.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: always get the location (full path)
for assemblies, even the ones from the GAC.
* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
directory exists before creating the TempFileCollection.
The changes related to assembly names fix bug number #74500.
svn path=/trunk/mcs/; revision=43462
* ClientScriptManager.cs: Use a linked list instead of a Hashtable
to store the scripts. In this way, scripts will be rendered in the
same order as they have been registered. It shouldn't be slower
since pages don't have many scripts.
svn path=/trunk/mcs/; revision=43435
* IEditableTextControl.cs: Implemented.
* DataBinder.cs: Marked constructor as obsolete in 2.0.
In GetDataItem, check for the IDataItemContainer interface
in the container.
* TemplateControl.cs: Improved check for data item.
svn path=/trunk/mcs/; revision=43409
* TemplateParser.cs: we still need LoadWithPartialName if Load fails.
* Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
for second postback.
svn path=/trunk/mcs/; revision=43385
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
there from the time when Load wasn't working properly. First part of the
fix to 74500.
svn path=/trunk/mcs/; revision=43311
* ControlBuilder.cs: The BindingContainerType property happens
to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
which is used to get the binding container that is managing
the current two-way binding context.
* TemplateBuilder.cs: Added some methods and an internal class
to support two-way bindings.
* CompiledBindableTemplateBuilder.cs: Implemented.
* IBindableTemplate.cs: This interface inherits from ITemplate.
svn path=/trunk/mcs/; revision=43073
* ControlBuilder.cs: Added BindingContainerType property,
which works like NamingContainerType but takes into account
template builders with a specific container type (specified
using the TemplateContainerAttribute.
* StateManagedCollection.cs: Reimplemented Save/Load view
state methods. The existing implementation was not correct
in all cases.
svn path=/trunk/mcs/; revision=42996
* DataSourceView.cs: Rethrow exceptions not handled by operation
callbacks.
* ITextControl.cs: Removed event.
* CollectionBuilder.cs: Don't crash when a collection has more
than one indexer.
svn path=/trunk/mcs/; revision=42468
* Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
since it is deprecated in 2.0.
* Page.cs: Deprecated GetPostBackClientEvent and similar methods
in 2.0. Moved callback management methods to ClientScriptManager.
* ClientScriptManager.cs: Moved here deprecated methods from Page.
In GetPostBackEventReference (PostBackOptions), don't use the
WebForm_DoPostback script if the post can be done with a simple
__doPostBack call.
* PostBackOptions.cs: Fixed default values for some properties.
svn path=/trunk/mcs/; revision=41696
* Page.cs: Load control state before loading view state, and the
same for saving.
* DataSourceSelectArguments.cs: Fix recursive property call.
svn path=/trunk/mcs/; revision=41454
* Page.cs: Implemented support for cross page postback. Implemented
support for postback with options. Fixed several method and property
signatures for 2.0.
* PostBackOptions.cs: Added some TODOs.
svn path=/trunk/mcs/; revision=40097
* ParseChildrenAttribute.cs: Added 2.0 property.
* Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
* Page.cs: Added support for control state.
* TemplateBuilder.cs: ContainerType should be internal.
* Control.cs: Added some new 2.0 methods.
svn path=/trunk/mcs/; revision=39730
* PageParser.cs: Read the MasterPageFile attribute.
* UserControlParser.cs: Not sealed any more since we need to inherit from
it. Added new constructor with an additional "type" parameter.
* MasterPageParser.cs: Parser for master pages.
* Page.cs: Added support for master pages.
* MasterPage.cs: Implemented.
svn path=/trunk/mcs/; revision=39318