Commit Graph
13 Commits
Author SHA1 Message Date
Marek Habersack c257964940 2008-12-02 Marek Habersack <[email protected]>
* StateManagedCollection.cs: adding an item to the collection does
	not call SetDirty as an item is added, thus not affecting the
	indexes of its predecessors. Fixes bug #443100
	Insert doesn't call SetDirtyObject as all objects are made dirty
	in SetDirty which is called from here. Same applies to this [int]
	indexer.

svn path=/trunk/mcs/; revision=120436
2008-12-02 01:07:39 +00:00
Marek Habersack d7542695ba 2008-10-29 Marek Habersack <[email protected]>
* StateManagedCollection.cs: IList.Remove should call this.IndexOf
	instead of items.IndexOf

svn path=/trunk/mcs/; revision=117375
2008-10-29 14:45:39 +00:00
Marek Habersack 11d95c8817 2008-10-23 Marek Habersack <[email protected]>
* StateManagedCollection.cs: modified {Load,Save}ViewState to
	properly store/recreate the collection of controls and to use a
	more consistent structure for the state.

svn path=/trunk/mcs/; revision=116818
2008-10-23 00:13:01 +00:00
Marek Habersack 3c28c0d567 2008-08-08 Marek Habersack <[email protected]>
* StateManagedCollection.cs: set all the contained objects state
	to dirty in SetDirty.

svn path=/trunk/mcs/; revision=109932
2008-08-08 01:14:59 +00:00
Marek Habersack dcd27f5983 2008-05-16 Marek Habersack <[email protected]>
* StateManagedCollection.cs: make {Save,Load}ViewState simpler.

svn path=/trunk/mcs/; revision=103353
2008-05-16 17:20:49 +00:00
Marek Habersack f60e51b6be 2008-05-15 Marek Habersack <[email protected]>
* StateManagedCollection.cs: do not query for index of an item in
	a null array.

svn path=/trunk/mcs/; revision=103302
2008-05-15 16:54:44 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Lluis Sanchez 3a6d4aec24 2005-04-14 Lluis Sanchez Gual <[email protected]>
* 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
2005-04-14 12:22:26 +00:00
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 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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Ben Maurer d0ac8392d4 2003-11-17 Ben Maurer <[email protected]>
* StateManagedCollection.cs: Implement.

2003-11-17 Ben Maurer  <[email protected]>

	* ControlParameter.cs:
	* CookieParameter.cs:
	* FormParameter.cs:
	* Parameter.cs:
	* QueryStringParameter.cs: New v2 files. Mostly
	implemented, still need a few methods.

svn path=/trunk/mcs/; revision=20146
2003-11-17 23:03:01 +00:00