Commit Graph
354 Commits
Author SHA1 Message Date
Lluis Sanchez bbdbfabccf 2005-04-07 Lluis Sanchez Gual <[email protected]>
* TemplateControl.cs:
	* Page.cs: Moved Eval and XPath from Page
	to TemplateControl.
	* StateManagedCollection.cs: Avoid saving null state.


svn path=/trunk/mcs/; revision=42645
2005-04-07 16:00:05 +00:00
Lluis Sanchez cbc89ca56a 2005-04-01 Lluis Sanchez Gual <[email protected]>
* 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
2005-04-01 17:29:02 +00:00
Lluis Sanchez 02ca166355 2005-03-23 Lluis Sanchez Gual <[email protected]>
* Control.cs: Added a new internal property: HasRenderMethodDelegate.
	* HtmlTextWriterAttribute.cs: Replaced wrong enum value.
	* HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes


svn path=/trunk/mcs/; revision=42155
2005-03-23 17:21:26 +00:00
Lluis Sanchez eceb089f96 2005-03-16 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Fix build.

svn path=/trunk/mcs/; revision=41901
2005-03-16 14:04:33 +00:00
Lluis Sanchez c1d190d884 2005-03-11 Lluis Sanchez Gual <[email protected]>
* 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
2005-03-11 13:24:44 +00:00
Gonzalo Paniagua Javier c0938d5ccd oops
svn path=/trunk/mcs/; revision=41624
2005-03-09 23:27:05 +00:00
Gonzalo Paniagua Javier 39eb2bb963 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: in FindControl, throw if there's more than one control
	with the same ID. Fixes bug #73479.


svn path=/trunk/mcs/; revision=41622
2005-03-09 23:19:52 +00:00
Lluis Sanchez 1ea11b875f 2005-03-04 Lluis Sanchez Gual <[email protected]>
* 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
2005-03-04 18:05:03 +00:00
Lluis Sanchez a340635511 2005-02-25 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Fixed incorrect implementation of
	RaiseUnsupportedCapabilityError.
	* IDataItemContainer.cs: Added new properties.
	* Page.cs: Implemented Form property.
	* Control.cs: Fixed formatting.
	* StateManagedCollection.cs: Track view state of items loaded
	in LoadViewState.


svn path=/trunk/mcs/; revision=41193
2005-02-25 12:09:11 +00:00
Lluis Sanchez 5bd2459946 2005-02-22 Lluis Sanchez Gual <[email protected]>
* FilterableAttribute.cs: Fix endless loop.


svn path=/trunk/mcs/; revision=41049
2005-02-22 16:51:42 +00:00
Lluis Sanchez e898da6cdb 2005-02-18 Lluis Sanchez Gual <[email protected]>
* Page.cs: Implemented missing events.


svn path=/trunk/mcs/; revision=40886
2005-02-18 20:38:10 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier 9124fd7440 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: new files.

	* System.Web.UI/BoundPropertyEntry.cs:
	* System.Web.UI/PropertyEntry.cs:
	* System.Web.UI/TwoWayBoundPropertyEntry.cs: implemented.

	* System.Web.Compilation/ExpressionBuilderContext.cs:
	* System.Web.Compilation/ExpressionBuilder.cs: implemented.


svn path=/trunk/mcs/; revision=40815
2005-02-17 17:50:46 +00:00
Lluis Sanchez f54972baa0 2005-02-10 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for validation groups. Some fixes in
	SavePageControlState().
	* IFilterResolutionService.cs: Removed extra field.
	* INavigateUIData.cs: Added missing field.
	* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
	Implemented new interfaces.


svn path=/trunk/mcs/; revision=40378
2005-02-10 09:37:20 +00:00
Lluis Sanchez f4b87c2871 2005-02-04 Lluis Sanchez Gual <[email protected]>
* 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
2005-02-04 00:51:20 +00:00
Lluis Sanchez 67c5bf8c5a 2005-02-02 Lluis Sanchez Gual <[email protected]>
* ParseChildrenAttribute.cs: Set the correct default value for the
	childType property.


svn path=/trunk/mcs/; revision=39993
2005-02-02 16:22:40 +00:00
Lluis Sanchez dfc8a95fa8 2005-01-28 Lluis Sanchez Gual <[email protected]>
* 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
2005-01-29 00:03:46 +00:00
Lluis Sanchez 5064e23220 2005-01-21 Lluis Sanchez Gual <[email protected]>
* 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
2005-01-21 18:03:15 +00:00
Lluis Sanchez bf4c99d6a6 2005-01-10 Lluis Sanchez Gual <[email protected]>
* TemplateBuilder.cs: Added a special constructor that takes an
	attribute provider as parameter. The container type for the template
	may be defined in a TemplateContainerAttribute.
	* ControlBuilder.cs: Create the TemplateBuilder using that special
	constructor.
	* TemplateContainerAttribute.cs: Added 2.0 property and ctor.


svn path=/trunk/mcs/; revision=38619
2005-01-10 15:21:19 +00:00
Lluis Sanchez d8b198c696 2004-12-20 Lluis Sanchez Gual <[email protected]>
* IStyleSheet.cs: Added missing "using".
	* Page.cs: Implemented Header property.
	* CssStyleCollection.cs: Made BagToString method internal.
	* RootBuilder.cs: Register HtmlHead control.
	

svn path=/trunk/mcs/; revision=37992
2004-12-20 18:47:52 +00:00
Lluis Sanchez 80ad04a1eb 2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Minor (!) fix.
	* HtmlTextWriter.cs: Register names for new 2.0 styles.


svn path=/trunk/mcs/; revision=37888
2004-12-17 17:43:35 +00:00
Lluis Sanchez 27c62abc49 2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Make it work as a standalone collection.
	* HtmlTextWriter.cs: Added static method for getting style names.


svn path=/trunk/mcs/; revision=37886
2004-12-17 15:58:52 +00:00
Gonzalo Paniagua Javier ab124a063c 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: fix off-by-one and store a null at the end to
	remove the reference to the removed control.


svn path=/trunk/mcs/; revision=37725
2004-12-14 05:26:52 +00:00
Lluis Sanchez 84243f6142 2004-12-10 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Added GetScriptLiteral helper method.
	

svn path=/trunk/mcs/; revision=37583
2004-12-10 17:51:35 +00:00
Lluis Sanchez 99b0fd02d8 2004-12-02 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for callback events. Moved theform variable
	outside the __doPostBack function, so it can be used by other
	scripts.
	* StateBag.cs: Implemented SetDirty().


svn path=/trunk/mcs/; revision=36945
2004-12-02 16:02:02 +00:00
Gonzalo Paniagua Javier 2a45f23af0 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when saving "Visible" into the ViewState, save the value
	for this precise control, as using the Visible property might give us
	Control's parent visibility. Fixes bug #69200.


svn path=/trunk/mcs/; revision=36875
2004-12-01 00:36:16 +00:00
Gonzalo Paniagua Javier 6b02b28598 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.SessionState/SessionStateModule.cs: set the path modifier
	when using cookie-less sessions.

	* System.Web/HttpResponse.cs: fixed ApplyAppPathModifier to insert the
	session ID.
	* System.Web.UI/Control.cs: fixed ResolveUrl for relative URLs when
	using cookie-less sessions.

	* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
	the appRoot + SessionID + vpath format.

	Fixes the 3 issues reported in bug #66623.


svn path=/trunk/mcs/; revision=36818
2004-11-30 06:33:56 +00:00
Lluis Sanchez 52c73e18e5 2004-11-26 Lluis Sanchez Gual <[email protected]>
* Page.cs: Moved code for managing client scripts to ClientScriptManager,
	which is public in 2.0 and internal in 1.1.
	* ClientScriptManager.cs: Implemented.


svn path=/trunk/mcs/; revision=36651
2004-11-26 16:40:03 +00:00
Sanja Gupta a21fd72637 ChangeLog: Updated.
DataSourceView.cs: Removed extra method.

svn path=/trunk/mcs/; revision=36514
2004-11-25 04:08:17 +00:00
Sanja Gupta ee490dc21a ChangeLog: Updated.
DataSourveViewSelectCallback.cs: Corrected method signature.


svn path=/trunk/mcs/; revision=36461
2004-11-24 09:51:23 +00:00
Lluis Sanchez b0d1632cd2 2004-11-23 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: Always check for the ParseChildrenAttribute,
	even if the class doesn't implement IParserAccessor.
	* WebResourceAttribute.cs: Allow multiple attributes of this type.


svn path=/trunk/mcs/; revision=36425
2004-11-23 10:34:51 +00:00
Lluis Sanchez 53e5fd0ef5 * DataSourceView.cs: Moved here implementation of
* DataSourceViewChanged 
        from SqlDataSourceView.cs.


svn path=/trunk/mcs/; revision=36150
2004-11-15 22:19:07 +00:00
Gonzalo Paniagua Javier bda13fb6ef 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: unified a few bool fields into an int one.

	* ControlCollection.cs: use an array internally instead of always
	allocating an arraylist. Also added our own enumerator.

	* EmptyControlCollection.cs: there's no 'special' ctor now in the base
	class.

svn path=/trunk/mcs/; revision=35900
2004-11-09 17:03:26 +00:00
Sanja Gupta ceb784e5a9 ChangeLog: Updated.
DataSourceView.cs: Changes in access modifiers of methods.

svn path=/trunk/mcs/; revision=35686
2004-11-05 10:44:34 +00:00
Sanja Gupta 798ac1a5e7 ChangeLog: Updated ChangeLog.
DataSourceCapabilities.cs: Added Flags attribute.
DataSourceSelectArguments.cs: Updated.
DataSourveView.cs: Updated.

svn path=/trunk/mcs/; revision=35166
2004-10-20 07:35:09 +00:00
Sanja Gupta 4c62a8a683 ChangeLog: Updated.
HierarchicalDataSourveView.cs: Corrected class definition and updated.

svn path=/trunk/mcs/; revision=35126
2004-10-19 09:35:39 +00:00
Gonzalo Paniagua Javier 710de8da7f 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
* HierarchicalDataSourceView.cs: fix typo.

svn path=/trunk/mcs/; revision=35106
2004-10-18 21:29:20 +00:00
Sanja Gupta 77b17c949d HierarchicalDataSourceView.cs: Reverting my earlier patch. Lots of work needs to be done before i can push my DataSourceView changes.
svn path=/trunk/mcs/; revision=35081
2004-10-18 09:53:19 +00:00
Sanja Gupta 13b3aff3df ChangeLog: Updated.
HierarchicalDataSourceView.cs: Updated.

svn path=/trunk/mcs/; revision=35080
2004-10-18 09:00:16 +00:00
Sanja Gupta 06bc616a8e ChangeLog: Updated.
DataSourceSelectArguments.cs: Initial implementation.

svn path=/trunk/mcs/; revision=35079
2004-10-18 07:30:50 +00:00
Sanja Gupta 0c2bf8e340 ChangeLog: Updated.
UrlPropertyAttribute.cs: Corrected implementation of Equals () method.

svn path=/trunk/mcs/; revision=34902
2004-10-12 11:58:16 +00:00
Sanja Gupta f489806e16 ChangeLog: Updated ChangeLog.
UrlTypes.cs: Updated.

svn path=/trunk/mcs/; revision=34900
2004-10-12 11:13:50 +00:00
Sanja Gupta b2afb00a0c ChangeLog: Updated ChangeLog.
UrlPropertyAttribute.cs: Added new file.

svn path=/trunk/mcs/; revision=34896
2004-10-12 08:41:43 +00:00
Gonzalo Paniagua Javier c1e8d7d744 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: even if the control has no children the naming container
	may contain the control we're looking for. Fixes bug #67304.

svn path=/trunk/mcs/; revision=34593
2004-10-01 13:10:44 +00:00
Gonzalo Paniagua Javier eaa21f98ab s/Behaviour/Behavior/g Fixes bug 67261
svn path=/trunk/mcs/; revision=34581
2004-10-01 03:04:50 +00:00
Gonzalo Paniagua Javier 13c545eab7 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: added OtherTags.
	* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
	to a closing tag that is not applied to a server control. Fixes bug
	#60323.

svn path=/trunk/mcs/; revision=34534
2004-09-30 00:21:54 +00:00
Sanja Gupta 5c9b0aed32 ChangeLog: Updated ChangeLog.
ControlValuePropertyAttribute.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34352
2004-09-24 13:23:28 +00:00
Sanja Gupta 449d34566e ChangeLog: Updated ChangeLog.
IPaginationContainer.cs: Corrected name of class.

svn path=/trunk/mcs/; revision=34350
2004-09-24 12:52:14 +00:00
Sanja Gupta 75e65231c5 ChangeLog: Updated ChangeLog.
IDReferencePropertyAttribute.cs: Completed implementation.

svn path=/trunk/mcs/; revision=34349
2004-09-24 12:46:31 +00:00
Sanja Gupta 8f5ed0c67f ChangeLog: Updated ChangeLog.
ThemeableAttribute.cs:
FilterableAttribute.cs: Code scrubbing and optimization.

svn path=/trunk/mcs/; revision=34348
2004-09-24 12:31:08 +00:00