* ObjectDataSourceViewTest.cs: added test for bug #471767
2009-02-09 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: ExecuteSelect returns a single-item
array of objects containing the result, if the result isn't one of
DataSet, DataTable or IEnumerable. Fixes bug #471767
svn path=/trunk/mcs/; revision=126371
* ObjectDataSourceView.cs: ExecuteSelect should return an empty
aray when no data has been retrieved from the specified source
type. Fixes bug #380106
svn path=/trunk/mcs/; revision=100819
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
HttpApplication.LoadType instead of Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProfileBase.cs: use HttpApplication.LoadType instead of
Type.GetType.
svn path=/trunk/mcs/; revision=87506
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
changes.
2007-08-21 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
to get the provider settings type.
2007-08-21 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: watch for changes in all the
private binary directories for the current application domain.
* HttpApplication.cs: turn the PrivateBinPath property into an
internal enumerable, so that code throughout the assembly can
iterate over the list of private bin directories configured for
the application domain.
Added a new internal method LoadTypeFromPrivateBin, for sharing
with other parts of the assembly.
2007-08-21 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
enumerator when loading or adding assemblies from binary
directories. Remove unused PrivateBinPath property.
* ControlBuilder.cs: remove unused PrivateBinPath property.
* TemplateParser.cs: use HttpApplication.PrivateBinPath when
adding assemblis and loading types.
2007-08-21 Marek Habersack <[email protected]>
* ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
a list of paths relative to AppDomainSetup.ApplicationBase, not a
full path.
We no longer check if the bin directories exist, the user can
create them while the application is running.
2007-08-21 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: get rid of PrivateBinPath property,
it's unused.
2007-08-21 Marek Habersack <[email protected]>
* BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
to look up assemblies in the binary path(s).
svn path=/trunk/mcs/; revision=84589
* ObjectDataSourceView.cs:
* SiteMapDataSource.cs:
* SqlDataSource.cs:
* SqlDataSourceView.cs:
DataSourceChanged and DataSourceViewChanged are raised in right case, when
different properties changed their value.
svn path=/trunk/mcs/; revision=78131
* ObjectDataSourceView.cs: CreateDataObject must pay attention to
TypeConverter attributes on the property being converted.
svn path=/trunk/mcs/; revision=77952
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-15 Marek Habersack <[email protected]>
* BuildProviderCollection.cs: refactoring - use
HttpApplication.LoadType to actually look up the type.
* HttpHandlerAction.cs: as above
* WebConfigurationHost.cs: refactoring - moved the LoadType to
HttpApplication to share the code between 1.1 and 2.0 profiles.
2007-05-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: refactoring - use
HttpApplication.LoadType to look up types.
2007-05-15 Marek Habersack <[email protected]>
* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.
svn path=/trunk/mcs/; revision=77396
* ObjectDataSourceView.cs: fixed events so they are raized at the
right times. Added many tests to verify the correct time.
* SqlDataSourceView.cs: fixed events so they are raized at the right
times. Added many tests to verify the correct time.
svn path=/trunk/mcs/; revision=75137
* ObjectDataSourceView.cs: correctly find the type when it is not in the
executing assembly. Fixes bug #78321. Patch by Marek Habersack.
svn path=/trunk/mcs/; revision=65131
* FormViewDeleteEventArgs.cs:
* FormViewInsertEventArgs.cs:
* FormViewUpdateEventArgs.cs:
* FormViewDeletedEventArgs.cs:
* FormViewUpdatedEventArgs.cs:
* FormViewInsertedEventArgs.cs: Implemented some missing properties.
* LinkButton.cs:
* IButtonControl.cs:
* Button.cs: Removed SoftKey property.
* CheckBox.cs: Don't try to load post back data if the control
is disabled.
* ImageField.cs:
* AutoGeneratedField.cs:
* DataControlField.cs:
* CommandField.cs:
* ButtonFieldBase.cs:
* BoundField.cs:
* CheckBoxField.cs:
* TemplateField.cs:
* ButtonField.cs: Don't bind fields in Insert state.
Implemented CreateField and CopyProperties.
* GridView.cs:
* DetailsView.cs: Removed some unneeded interfaces. Don't
generate the field rows if there are no items in the data source.
Don't get the current keys until the whole control has been
bound.
* DetailsViewInsertedEventArgs.cs:
* DataBoundControl.cs:
* ObjectDataSourceView.cs: Made some methods private.
* MenuItemStyle.cs:
* Menu.cs: Changed some properties from int to Unit.
* DataControlButton.cs: javascript prefix is needed when raising
the postback event from a link.
* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
The result was wrong when the total data source count was 0.
* FormView.cs: Implemented.
* FormViewRow.cs: Implemented.
* Literal.cs:
* Localize.cs: Fixed base interface.
* BaseDataBoundControl.cs: In DataBind() call the base class
DataBind method, so the binding context is properly set.
svn path=/trunk/mcs/; revision=43410
* 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
* 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