* 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: 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
* SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
* SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
svn path=/trunk/mcs/; revision=73193
* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
* ParameterCollection.cs: add an EditorAttribute to the class.
* Parameter.cs: cleanup, fix the Value property, and implement the
Size property.
* SqlDataSourceView.cs: clean things up a bit, and add handling
for parameters.
svn path=/trunk/mcs/; revision=57191
* SqlDataSourceFilteringEventArgs.cs: formatting.
* SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
both the property and ctor arg.
* AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
not CommandEventArgs. Also, cast the return value of
oleCommand.ExecuteReader.
* AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
comments.
(GetDbProviderFactory): implement naively, and leave a MonoTODO.
(GetPhysicalDataFilePath): implement, again naively. this is
where the NRE is generated when we access ConnectionString in a
testcase on .net.
(ConnectionString): dynamically generate this based on our
DataFile attribute.
(DataFile): clear the ConnectionString in the setter so we'll
regenerate it.
(ProviderName): use base.ProviderName in the getter, not
this.ProviderName, so we don't recurse infinitely.
* SqlDataSourceView.cs: start reworking this class.
* SqlDataSource.cs (GetDbProviderFactory): implement this,
following the MS docs on the matter (if ProviderName is null/"",
return SqlClientFactory.Instance.)
(GetDbProviderFactoryInternal): add an internal method for use by
SqlDataSourceView.
(TrackViewState): don't invoke View.TrackViewState unless we have
one.
(Selecting): change event handler type to match MS.
(Filtering): add missing event.
(View): call CreateDataSourceView, don't just create an
SqlDataSourceView.
svn path=/trunk/mcs/; revision=57169
* DataListItem.cs:
* GridViewRow.cs:
* DataGridItem.cs:
* RepeaterItem.cs:
* FormView.cs:
* MenuItemTemplateContainer.cs:
* DetailsView.cs: Track changes in the IDataItemContainer interface.
* CommandField.cs: Added CausesValidation property. Set that
property value to all buttons of the field.
* SqlDataSourceView.cs:
* CollectionDataSource.cs:
* XmlDataSourceView.cs: Properly initialize the base class.
* SiteMapDataSource.cs:
* SiteMapHierarchicalDataSourceView.cs:
* SiteMapNodeItem.cs:
* SiteMapDataSourceView.cs:
* SiteMapPath.cs: Mostly implemented.
* HierarchicalDataBoundControl.cs: Always bind the control when the
page is loaded for the first time.
* TreeView.cs: Properly bind the control when loaded from a callback.
svn path=/trunk/mcs/; revision=45062
BaseDataList.cs:
DataBountControl.cs:
Repeater.cs: Added SelectArguments property and updated.
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Removed extra method, which was there to keep
things compiling.
svn path=/trunk/mcs/; revision=36515
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Cosmetic changes because of modifications in
base class, DataSourceView. Changes are to keep things compiling.
svn path=/trunk/mcs/; revision=35167