2006-02-23 Chris Toshok <[email protected]>
* Page.cs (ProcessCallbackData): track change to
ICallbackEventHandler iface.
* ICallbackEventHandler.cs: enable the proper members of this
interface.
* DataSourceSelectArguments.cs: reformat getter/setters.
In System.Web.UI.WebControls:
2006-02-23 Chris Toshok <[email protected]>
* BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
SqlDataSourceCommandType.cs, TableSectionStyle.cs,
TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
errors. most were caused by a property/method being virtual when
it shouldn't be, or vice versa.
svn path=/trunk/mcs/; revision=57203
* 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
* BoundField.cs: ues the ViewState.Get* pattern with default
instead of the explicit ViewState lookup + null check, and fix the
scope of InitializeDataCell.
svn path=/trunk/mcs/; revision=57121
correct the "disabled" attribute in CheckBoxList
* CheckBoxList.cs: fixed RenderItem, to correct the "disabled" attribute in CheckBoxList
svn path=/trunk/mcs/; revision=57071
* ListControl.cs (OnDataBinding): in 2.0, only clear our items if
AppendDataBoundItems != false. Also, split all the databinding
logic out to DoDataBinding, which we call from here only if
!NET_2_0.
(DoDataBinding): new function. actually perform the binding.
(PerformDataBinding): implement.
(PerformSelect): chain up to base class.
svn path=/trunk/mcs/; revision=56683
* ListControl.cs: bound checking for Items when loading the control
state, as the number might have been changed on the fly. Patch by
Elliott Draper.
svn path=/trunk/mcs/; revision=56007
* CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
* MultiView.cs (OnBubbleEvent): case the rhs to a string to get
the intended comparison right and quiet mcs.
svn path=/trunk/mcs/; revision=55915
* BaseValidator.cs: in the uplevel rendering case, don't render
the text if the validator's Display attribute is "None". Should
fix bug #76924.
svn path=/trunk/mcs/; revision=54021
* RadioButton.cs: if the 'value' attribute is set explicitly (as
RadioButtonList does now), use that as the 'name' attribute.
* RadioButtonList.cs: set the AutoPostBack and Enabled properties of
the radiobuttons.
Fixes bug #76706.
svn path=/trunk/mcs/; revision=53741
* CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
the 'name' attribute when not aligninng to the right.
* RadioButton.cs: use NameAttribute instead of GroupName when indexing
the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
svn path=/trunk/mcs/; revision=53739
* CheckBox.cs: use the NameAttribute property for setting 'name'.
* RadioButton.cs: get a UniqueID based identifier for 'name'.
Fixes bug #76710.
svn path=/trunk/mcs/; revision=53323
* DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
UseAccesibleHeader property is true. Patch by Robert Jordan.
svn path=/trunk/mcs/; revision=53244
* CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
the logic to Render and make it render the ID, which fixes bug #76596.
svn path=/trunk/mcs/; revision=52528
* Literal.cs: allow LiteralControl as child, but instead of adding it
to the control collection, it just gets the Text out of it.
svn path=/trunk/mcs/; revision=52149
* PagedDataSource.cs: fix range when we're at the last page.
* DataGrid.cs: only need to keep the item count in the viewstate.
Fixes bug #76503.
svn path=/trunk/mcs/; revision=52068
* ListControl.cs: made GetSelectedIndices() internal.
* ListBox.cs: html-encode the item text. Fixed single and multiple
selection handling. All the tests pass now. Closes bug #76478.
svn path=/trunk/mcs/; revision=51998
* System.Web.UI/Page.cs: don't cache the 'Validate()' results.
IsValid retests the validators again.
* System.Web.UI.WebControls/BaseDataList.cs: Type.GetTypeCode
was fixed and now does not throw a nullref, so we have to do
it by ourselves here to make the test happy.
* System.Web.UI.WebControls/BaseValidator.cs: render the text of
the error message even if we set IsValid programatically. Don't
use 'valid' directly, as IsValid is virtual.
Fixes bug #76299.
svn path=/trunk/mcs/; revision=51840
* DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
Now the items get the attributes from the styles in datalist. Add the
separators after each item, not before. GetItemStyle returns the actual
item style, not the styles in the datalist. Fixes bug #76384 and all
new tests pass.
svn path=/trunk/mcs/; revision=51506
* FontInfo.cs: Gendarme strikes again. Sealed class have no need for
inheritance demands.
* FontUnit.cs: Structs are sealed so there's no need for inheritance
demands.
* Unit.cs: Structs are sealed so there's no need for inheritance
demands.
svn path=/trunk/mcs/; revision=51358