* GridView.cs:
* BaseDataBoundControl.cs:
Break recursion when the property is set from within the OnSelect handler
in user's code. fixes bug #81175.
svn path=/trunk/mcs/; revision=75422
* BaseDataBoundControl.cs: fix as per MSDN - the property is set
only if data binding doesn't occur.
* DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
svn path=/trunk/mcs/; revision=74679
* GridView.cs: fixed:
RowDataBound is fired for PagerRow.
Styles are applied using MergeWith instead CopyFrom
to allow using custom styles for rows in code-behind.
svn path=/trunk/mcs/; revision=72022
* GridView.cs: fixed:
ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
causesValidation parameter is considered properly in UpdateRow.
OldValues contains readonly fields values
svn path=/trunk/mcs/; revision=70653
* DetailsView.cs:
* GridView.cs:
* FormView.cs:
control's behavior depends on using DataSource or DataSourceID
property for binding
svn path=/trunk/mcs/; revision=70165
* GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
* DataControlButton.cs:
* CommandField.cs: CausesValidation feature must be implemented other way
svn path=/trunk/mcs/; revision=66903
* GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
when postback is invoked after callback control state is restored
properly.
svn path=/trunk/mcs/; revision=66613
* GridView.cs: fixed: Sorting feature.
CreateDataSourceSelectArguments considers SortExpression and SortDirection.
(corresponding test does not work because bug in ObjectDataSourceView)
svn path=/trunk/mcs/; revision=66594
* GridView.cs: fixed:
CreateDataSourceSelectArguments works according to MSDN.
(corresponding test does not work because bug in ObjectDataSourceView)
svn path=/trunk/mcs/; revision=66553
* FormView.cs:
* GridView.cs:
* DetailsView.cs:
* PagerSettings.cs:
corrected pager rendering: Color style applied to A tag,
Input type="image" used if ImageUrl is not empty.
svn path=/trunk/mcs/; revision=66222
* DetailsView.cs:
* GridView.cs:
* PagedDataSource.cs:
* FormView.cs:
* ImageButton.cs:
* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
support it. The GridView control will no longer throw an exception when
rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
svn path=/trunk/mcs/; revision=62863
fixed PageCount property, initial PageCount ahould be zero
fixed SelectedDataKey, should throw exception if not initialized
fixed CreateColumns, wrong order of columns
fixed CreateControlStyle,
fixed InitializePager, no columnspan attrib on only one column
fixed LoadControlState, SaveControlState added DataKeyNames
fixed Render, RenderGrid should render within div tag
implemented GetPostBackOptions
* DataControlButton.cs: fixed Render, fixed style for img button
svn path=/trunk/mcs/; revision=62699
ShowHeader/Footer is true. Compute Header/Footer rows from rows
collection.
* CheckBoxField.cs: add override to ApplyFormatInEditMode,
add ToolTip and Text to the created CheckBox,
wrap exception thrown in OnDataBindField in httpException.
svn path=/trunk/mcs/; revision=62378
setting RequiresDataBinding in OnLoad event.
* GridView.cs: DataBind rows before other control can access the data.
* BoundField.cs: add unique ID to control for postback parameters.
svn path=/trunk/mcs/; revision=62201
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
* GridView.cs:
* FormView.cs:
* DetailsView.cs: Bind the control after creating all child
controls.
* DataBoundControl.cs: Call OnDataBinding and OnDataBound in
the correct methods.
* BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
in this class. This is done in DataBoundControl. All this fixes
bug #75076.
svn path=/trunk/mcs/; revision=45481
* DataControlField.cs:
* CommandField.cs:
* GridView.cs:
* FormView.cs:
* DataControlCommands.cs:
* DetailsView.cs: Use constants to identify commands.
* SubMenuStyle.cs: Use Unit instead of int for padding.
* SubMenuStyleCollection.cs: Implemented.
* DataList.cs:
* Menu.cs: Added some missing methods and properties.
* Literal.cs:
* DataGridPagerStyle.cs: Fixed default value attributes.
* ListControl.cs: Implemented IEditableTextControl interface.
* MenuItemBinding.cs: Added Selectable property.
* CustomValidator.cs: removed interface.
* MenuItem.cs: Added support for custom binding.
* DropDownList.cs: Moved text properties to base class.
svn path=/trunk/mcs/; revision=44009
* 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
* 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
* 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