* ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
sender to be something else than DataControlFieldCell. Fixes bug
#595568
2010-04-13 Marek Habersack <[email protected]>
* CheckBoxFieldTest.cs: added test for bug #595568
svn path=/trunk/mcs/; revision=155270
* BulletedList.cs: Avoid calling ToString on a string.
* ButtonField.cs: Throw, not just create, the exceptions.
* HyperLinkField.cs: Throw, not just create, the exceptions.
* ImageField.cs: Throw, not just create, the exception. Avoid calling
ToString on a string.
* ListControl.cs: Avoid calling ToString on a string.
[All issues were found using Gendarme]
svn path=/trunk/mcs/; revision=102571
* ImageField.cs: image field with null src and ConvertEmptyStringToNull should be rendered as label
* BoundField.cs: empty null value should be rendered as nbsp
* GridViewRowCollection.cs: fixed SyncRoot
svn path=/trunk/mcs/; revision=62660
* 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