* RadioButton.cs: fixed:
When GroupName is not defined UniqueID is used instead for name attribute.
CheckedChanged is raised only when control is checked.
svn path=/trunk/mcs/; revision=69300
* 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
* AccessDataSource.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [ToolboxBitmap] on class.
* AdRotator.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Removed extra Page and ViewState properties.
* BulletedList.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* Button.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Added [SupportsEventValidation] on class (2.0).
* Calendar.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* CheckBox.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* CompositeControl.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added new protected RecreateChildControls method.
* DataControlCommands.cs: Added declarative security (LinkDemands) for
Minimal. Added private ctor.
* DataGrid.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Fixed properties for 2.0 (mostly removing
[Bindable]). Added override for TagKey property.
* DataGridColumn.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
* DataGridItem.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added IDataItemContainer interface for 2.0.
* DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
Minimal. Remove [Bindable] from 2.0 and add [Localizable].
* DataList.cs: Removed [Load|Save]ControlState methods.
* DropDownList.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* EditCommandColumn.cs: Added declarative security (Link and
Inheritance demands) for Minimal. Added missing attributes,
[DefaultValue] and [Localize] for 2.0.
* FontInfo.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
for 2.0.
* Login.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
* ImageButton.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* LinkButton.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* ListBox.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Added [SupportsEventValidation] on class (2.0).
* Literal.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
* LoginStatus.cs: Added missing [Themeable] attributes on properties.
* MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
but will be shown as extra).
* RadioButton.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* RadioButtonList.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
* RangeValidator.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Added missing [Themeable] attributes.
* RegularExpressionValidator.cs: Added declarative security (Link and
Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
[Localizable].
* RoleGroupCollection.cs: Added declarative security (Link and
Inheritance demands) for Minimal. Fixed base class (changed in RC).
Re-implemented CopyTo. Removed some methods.
* Style.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
is now public in 2.0.
* Table.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Added [SupportsEventValidation] on class (2.0).
* TableCell.cs: Fixed PersistenceMode for 2.0.
* TextBox.cs: Added declarative security (Link and Inheritance demands)
for Minimal. Added [SupportsEventValidation] on class (2.0).
* TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
but will be shown as extra).
* WebControl.cs: Added declarative security (Link and Inheritance
demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
property.
svn path=/trunk/mcs/; revision=50329
* HtmlInputCheckBoxTest.cs: Tests for HtmlInputCheckBox
2005-07-26 Dick Porter <[email protected]>
* HtmlSelectTest.cs: Tests for HtmlSelect
2005-07-21 Dick Porter <[email protected]>
* HtmlImageTest.cs: The order of attribute rendering has changed,
and now matches MS
2005-07-19 Dick Porter <[email protected]>
* HtmlImageTest.cs: Added tests for negative values in int
properties
2005-07-14 Dick Porter <[email protected]>
* HtmlFormTest.cs: New set of tests
2005-07-07 Dick Porter <[email protected]>
* HtmlImageTest.cs: Unit tests for HtmlImage
2005-08-04 Dick Porter <[email protected]>
* DataGridColumnTest.cs: Tests for DataGridColumn
2005-07-29 Dick Porter <[email protected]>
* RadioButtonTest.cs: Added tests for RadioButton
2005-07-14 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added enum checks
2005-07-13 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added tests for CheckBox - currently all
passing on mono and ms runtimes.
2005-07-14 Dick Porter <[email protected]>
* HttpPostedFile.cs: New basic implementation; needs someone to
figure out what a HttpRequestStream does
2005-08-18 Dick Porter <[email protected]>
* HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
2005-08-09 Dick Porter <[email protected]>
* HtmlSelect.cs: Clear databindings when adding a new one; cope
with assorted combinations of empty text and value fields; write
<option> tags manually to match ms HTML output. All fix nunit
tests.
2005-08-05 Dick Porter <[email protected]>
* HtmlSelect.cs: Fix databinding when one or other of Name and
Value aren't supplied (thanks to Peter for the patch); Make
<option> indenting match ms output.
2005-07-29 Dick Porter <[email protected]>
* HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
instead of building the query string by hand
2005-07-27 Dick Porter <[email protected]>
* HtmlInputCheckBox.cs: New implementation
2005-07-26 Dick Porter <[email protected]>
* HtmlSelect.cs: New implementation
2005-07-24 Dick Porter <[email protected]>
* HtmlForm.cs: Add the trailing query string to the form action;
fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
2005-07-22 Dick Porter <[email protected]>
* HtmlInputFile.cs: Add assembly attributes
2005-07-21 Dick Porter <[email protected]>
* HtmlImage.cs: The src attribute needs to be a relative URL;
close the HTML element when rendering attributes, to match the MS
impl.
* HtmlForm.cs: Added assembly attributes; don't render ID twice;
don't render enctype and target if they are empty strings;
implement a Render overload to keep corcompare quiet.
2005-07-19 Dick Porter <[email protected]>
* HtmlImage.cs: Added attributes; use Int32.Parse instead of
Convert.ToInt32
2005-07-14 Dick Porter <[email protected]>
* HtmlInputFile.cs: New implementation
2005-07-14 Dick Porter <[email protected]>
* HtmlForm.cs: New Implementation
2005-07-07 Dick Porter <[email protected]>
* HtmlImage.cs: New implementation
2005-08-18 Dick Porter <[email protected]>
* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes
2005-08-11 Dick Porter <[email protected]>
* CssStyleCollection.cs: Tweak the css string format to pass a
unit test
* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.
2005-08-05 Dick Porter <[email protected]>
* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output
2005-07-07 Dick Porter <[email protected]>
* StateBag.cs: Added internal SetDirty (void) method to fix the
build
2005-08-18 Dick Porter <[email protected]>
* PageAdapter.cs, ControlAdapter.cs: 2.0 stubs
2005-08-18 Dick Porter <[email protected]>
* Consts.cs: Added System.Web and Microsoft.VisualStudio.Web
constants for 2.0
2005-08-18 Dick Porter <[email protected]>
* Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
BaseDataList.cs, DataList.cs, BulletedList.cs,
DataBoundControl.cs, Login.cs, GridView.cs,
CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
fixes
2005-08-11 Dick Porter <[email protected]>
* CheckBox.cs: Let ViewState manage removals; apply styles and
"style" attributes in a surrounding <span>. Fixes unit tests.
2005-08-05 Dick Porter <[email protected]>
* CheckBox.cs: Shut corcompare up a bit more. Still need to
figure out how to not use AddAttributesToRender to get it
completely silent.
* ButtonColumn.cs: Implement Initialize() and InitializeCell()
* DataGridColumn.cs: Added the duplicate viewstate manipulation
methods
2005-08-04 Dick Porter <[email protected]>
* DataGridColumn.cs: New implementation
* DataGrid.cs:
* DataGridColumnCollection.cs: Set the DataGridColumn's owner
2005-07-29 Dick Porter <[email protected]>
* RadioButton.cs: Hide nonstandard API; remove GroupName from the
ViewState when it is null.
* CheckBox.cs: Hide nonstandard API
2005-07-22 Dick Porter <[email protected]>
* BoundColumn.cs:
* ButtonColumn.cs: Initial stubs
2005-07-22 Dick Porter <[email protected]>
* RadioButton.cs:
* CheckBox.cs: Add assembly attributes
2005-07-13 Dick Porter <[email protected]>
* CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
null Text properties from the ViewState, test for TextAlign being
out of range. All to make tests pass on both mono and ms
runtimes.
2005-07-12 Dick Porter <[email protected]>
* RadioButton.cs: New implementation
* CheckBox.cs: Rearrange the attributes rendering to allow
RadioButton to derive from this
2005-07-11 Dick Porter <[email protected]>
* CheckBox.cs: New implementation
* RadioButton.cs: Initial stubbed version that just compiles
2005-07-08 Dick Porter <[email protected]>
* TextAlign.cs:
* BorderStyle.cs: Added
svn path=/trunk/mcs/; revision=48915
* Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
correctly.
* CommandField.cs: Mostly implemented.
* Menu.cs: Use callback methods moved to ClientScriptManager.
* DataControlButton.cs: Internal control used to implement buttons
for navigating in data bound controls.
* DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
to render the column headers.
* CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
Don't use Page.GetPostBackClientEvent
since it is deprecated in 2.0.
* GridView.cs: Implemented some several interfaces.
Implemented support client sorting and page navigation (using callbacks).
Implemented the autogenerated command column using the new CommandField
class.
* ButtonFieldBase.cs: Implemented.
* GridView.js: New helper script to support client side sorting and
paging in the grid view.
svn path=/trunk/mcs/; revision=41698
* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
* RadioButton.cs: Added missing 2.0 methods.
* ListItem.cs: Added Enabled property.
* MailMessageEventArgs.cs: Use the correct message class.
* ListControl.cs: Implemented missing properties and support for
control state. Implemented base RenderContents method.
* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
properties.
* BaseCompareValidator.cs: Implemented methods that support conditional
use of the invariant culture.
* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
It takes a DbCommand instead of a IDbCommand.
* GridViewSortEventArgs.cs: Added SortDirection property.
* TextBox.cs, CheckBoxList.cs: Added protected version of
IPostBackDataHandler methods.
* RadioButtonList.cs: Added protected version of
IPostBackDataHandler and IRepeatInfoUser methods.
* Repeater.cs: Updated some method names.
* DropDownList.cs: Added protected version of
IPostBackDataHandler methods. Reuse RenderContents from base class.
* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
* GridViewUpdatedEventArgs.cs: Fix typo.
* ListBox.cs: Added protected version of IPostBackDataHandler methods.
Reuse RenderContents from base class.
* BaseDataBoundControl.cs: Several fixes.
* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
svn path=/trunk/mcs/; revision=40772
* RadioButton.cs: fix GroupName when the control is inside a
NamingContainer different from Page. Closes bug #65586.
svn path=/trunk/mcs/; revision=33786
* CheckBoxList.cs:
* DataGrid.cs:
* DataList.cs:
* DropDownList.cs:
* ListBox.cs:
* PlaceHolder.cs:
* RadioButton.cs:
* RadioButtonList.cs:
* TableRow.cs:
* WebControl.cs:
* Xml.cs: forgot to add using System.ComponentModel.
* BaseValidator.cs: use explicitly
System.ComponentModel.AttributeCollection as there is another class
with the same name under System.Web.UI.
svn path=/trunk/mcs/; revision=5642
* RadioButton.cs: mono-stylized and some little fixes.
* TextBox.cs: mono-stylized.
(MaxLength): fixed typo.
(AddAttributesToRender): don't render the text between the tags for
SingleLine, use value attribute for it. Don't render the text for
Password.
(OnPreRender): don't throw exception and call base.OnPreRender.
(Render): for MultiLine, render the text between the opening and
closing tags encoded as HTML.
svn path=/trunk/mcs/; revision=5263
* RadioButton.cs -- Completed
* ChangeLog, TODO -- Updated
I've dropped the idea of going for another build. Too many dependencies
on other namespaces. I don't want to get involved right now. ;-)
svn path=/trunk/mcs/; revision=2172