14 Commits
Author SHA1 Message Date
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Marek Habersack 6193eeb004 2010-05-19 Marek Habersack <[email protected]>
* DataSourceCacheDurationConverter.cs: implemented. Fixes bug
	#603083

svn path=/trunk/mcs/; revision=157547
2010-05-19 12:54:23 +00:00
Marek Habersack f3bc4a2f46 Use UNIX line endings consistently
svn path=/trunk/mcs/; revision=116241
2008-10-17 15:26:06 +00:00
Igor Zelmanovich 2b7aca3342 2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed: 
	view raises onchange event when datasource is chenged.			

2007-08-06 Igor Zelmanovich <[email protected]>

	* DataSourceViewTest.cs:
	Added new test.

2007-08-06 Igor Zelmanovich <[email protected]>

	* AccessDataSource.cs: does not subscribed on view changed event.
	* ObjectDataSource.cs: fixed state management.
	* SqlDataSource.cs:	fixed state management.	 


svn path=/trunk/mcs/; revision=83541
2007-08-06 15:46:33 +00:00
Igor Zelmanovich c92920880e 2007-03-22 Igor Zelmanovich <[email protected]>
* ObjectDataSource.cs:
	* ObjectDataSourceView.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	fixed flow: changes in Insert/Update/DeleteParameters does not 
	cause DataSourceViewChanged event.				


svn path=/trunk/mcs/; revision=74807
2007-03-22 14:13:49 +00:00
Konstantin Triger 18514d00ac * XmlDataSource.cs: refactored to use cached collection.
* SqlDataSource.cs: refactored to use cached collection;
	don't throw exception on 'DefaultView'.
* ObjectDataSource.cs: refactored to use cached collection.

svn path=/trunk/mcs/; revision=70861
2007-01-11 16:16:50 +00:00
Igor Zelmanovich 1ef1e6f19a 2007-01-08 Igor Zelmanovich <[email protected]>
* DataSourceCacheManager.cs:
	* ObjectDataSource.cs:
	* SqlDataSource.cs:
	fixed: cache considers parameters values changes.				

svn path=/trunk/mcs/; revision=70707
2007-01-09 12:16:45 +00:00
Vladimir Krasnov 72e3924240 * System.Web.dll.sources: added DataSourceCasheManager.cs
* System.Web20.vmwcsproj: added DataSourceCasheManager.cs
* ParameterCollection.cs: fixed SetDirtyObject method
* ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState utilization for control's properties, implemented caching
* SqlDataSource.cs, SqlDataSourceView.cs: implemented caching

svn path=/trunk/mcs/; revision=67593
2006-11-09 13:28:01 +00:00
Chris Toshok ddf9be5a96 2006-02-22 Chris Toshok <[email protected]>
* ObjectDataSource.cs: corcompare work.


svn path=/trunk/mcs/; revision=57192
2006-02-23 02:54:19 +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
Kornél Pál b4797dcddf Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
2005-07-29 00:13:41 +00:00
Lluis Sanchez 2ea848c73e 2005-04-14 Lluis Sanchez Gual <[email protected]>
* DetailsView.cs: Implemented support for Insert operation. 
	Added header and footer templates. Added missing style
	properties. 
	* ObjectDataSourceView.cs: Use ParameterCollection.GetValues
	to get filter values. Other minor fixes.
	* CommandField.cs: Properly render the Insert and New buttons.
	* ObjectDataSource.cs: Update the parameter collections after
	the page is loaded. This will fire the ParameterChanged event
	if needed.
	* DataBoundControl.cs: The OnDataSourceViewChanged method
	is called when the view changes, not when the datasource
	changes.
	
	* DetailsViewInsertedEventArgs.cs:
	* DetailsViewInsertEventArgs.cs: Implement Values property.
	
	* ImageField.cs:
	* AutoGeneratedField.cs
	* BoundField.cs:
	* CheckBoxField.cs:
	Take into account the Insert mode.
	
	* ParameterCollection.cs: Implemented UpdateValues and fixed
	GetValues (values can't be cached because can change).
	* Parameter.cs: Detect value changes in GetValue, and fire
	the change event if needed. Removed unused ParameterValue
	property. Other fixes.


svn path=/trunk/mcs/; revision=42997
2005-04-14 12:24:07 +00:00
Lluis Sanchez 86b8090f0b 2005-04-07 Lluis Sanchez Gual <[email protected]>
* ButtonField.cs: Get data item properties using TypeDescriptor.
	Made OnDataBindField private.
	* ObjectDataSourceView.cs: Implemented support for Delete and
	Insert operations, support for filtering and sorting,
	conflict detection, etc. It's now complete.
	* ObjectDataSource.cs: Completed most of functionality. Only
	caching support is missing.
	* ObjectDataSourceFilteringEventHandler.cs: New event handler.
	* TreeNode.cs: Get data item properties using TypeDescriptor.
	* PagerSettings.cs: Flush.
	* ObjectDataSourceFilteringEventArgs.cs: New event args.
	* GridView.cs: Get data item properties using TypeDescriptor
	and cache them. Properly set descending order in the sort
	expression. In UpdateRow, make sure we get the old values
	before the control is bound again.
	* ImageField.cs: Implemented.
	* AutoGeneratedField.cs: Initialize the field's sort
	expression in the constructor.
	* MenuItem.cs: Get data item properties using TypeDescriptor.
	* BoundField.cs: Get data item properties using TypeDescriptor.
	* CheckBoxField.cs: Added missing attributes.
	* TemplateField.cs: Implemented.


svn path=/trunk/mcs/; revision=42646
2005-04-07 16:02:36 +00:00
Lluis Sanchez eefe5a8604 2005-04-01 Lluis Sanchez Gual <[email protected]>
* ButtonField.cs: Mostly implemented.
	* DataControlFieldHeaderCell.cs: Implemented.
	* ObjectDataSourceView.cs: Initial implementation.
	* DataControlButton.cs: Added support for real buttons.
	* Label.cs, DataControlField.cs: Flush.
	* ObjectDataSource.cs: Initial implementation.
	* HiddenField.cs: Added class stub.
	* GridView.cs: Load autogenerated field properties before
	creating the children, to make sure that column info is ready.
	* ControlParameter.cs: Implemented Evaluate method.
	* ImageField.cs: Added class stub.
	* BoundField.cs: Added HtmlEncode property.
	* DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
	to its own file.
	* CheckBoxField.cs: Mostly implemented.
	* TemplateField.cs: Added class stub.
	* ObjectDataSourceSelectingEventArgs.cs: Added missing property.
	* ObjectDataSourceMethodEventArgs.cs: Fixed base class.
	* Parameter.cs: Added internal GetValue method (Evaluate is protected)


svn path=/trunk/mcs/; revision=42469
2005-04-01 17:29:21 +00:00