* ImageMap.cs: added the SupportsEventValidation attribute to the
class.
Validate the event in RaisePostBackEvent ().
Register for event validation in Render ().
* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
* TextBox.cs: validate the event in LoadPostData ().
Register for event validation in AddAttributesToRender ().
* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
Register for event validation in Render ().
* RadioButton.cs: validate the event in LoadPostData ().
Register for event validation in InternalAddAttributesToRender.
* CheckBox.cs, RadioButtonList.cs: validate the event in
RaisePostDataChangedEvent.
* Menu.cs: added the SupportsEventValidation attribute to the
class.
Validate the event in RaisePostBackEvent ().
Register for event validation in GetClientEvent ().
* DetailsView.cs, GridView.cs: validate the event in
RaisePostBackEvent ().
Register for validation in GetCallbackScript () and in OnPreRender
* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
2008-10-17 Marek Habersack <[email protected]>
* Control.cs: added the ValidateEvent internal method, used by
classes descending from Control to automatically trigger event
validation.
* Page.cs: removed the CheckForValidationSupport method. It moved
to Control.cs
RaisePostBackEvent no longer validates the events, this
functionality has been moved to Control.ValidateEvent.
2008-10-17 Marek Habersack <[email protected]>
* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
* HtmlInputButton.cs: validate the event in
RaisePostBackEventInternal ().
Register for event validation in RenderAttributes ()
* HtmlTextArea.cs: validate the event in
RaisePostBackDataChangedEvent ().
* HtmlButton.cs: validate the event in RaisePostBackEvent ().
Register for event validation in RenderAttributes ()
* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
Register for event validation in RenderAttributes ().
* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
LoadPostData.
* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
HtmlInputPassword.cs: validate the event in
RaisePostDataChangedEvent ().
2008-10-17 Marek Habersack <[email protected]>
* MenuAdapterTest.cs: work around event validation failure in the
test environment.
2008-10-17 Marek Habersack <[email protected]>
* PageTest.cs: use a custom version of HtmlInputHidden control to
work around the new event validation code which doesn't work in
this instance.
svn path=/trunk/mcs/; revision=116231
* GridView.cs: minor optimizations (removed a foreach loop,
replaced calls to Array.Length with a variable containing the
length).
svn path=/trunk/mcs/; revision=107043
* GridView.cs:
at Update and Delete use not read only coppies of dictionaries
in event argumens, that allows user to change them before corresponding
DataSource's method is called.
svn path=/trunk/mcs/; revision=96556
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
Page.cs: speed optimization - use String.Concat instead of
String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* Menu.cs, TreeView.cs: optimize use of String.Format in
OnPreRender.
Speed optimization - use String.Concat instead of String.Format in
some cases.
* GridView.cs, DetailsView.cs: optimize use of String.Format in
OnPreRender.
* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
optimization - use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* AssemblyResourceLoader.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* SessionId.cs:
speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* ApplicationManager.cs, ApplicationHost.cs,
DefaultVirtualPathProvider.cs: speed optimization - use
String.Concat instead of String.Format in some cases.
svn path=/trunk/mcs/; revision=91230
* GridView.cs: copy attributes from GridView to the child table,
as this is where the rendering takes place. Fixes bug #326309.
svn path=/trunk/mcs/; revision=86000
* GridView.cs: instead of not adding hidden fields to the rows,
mark the cells they would contain as invisible. Fixes bug #82615.
svn path=/trunk/mcs/; revision=85094
* GridView.cs:
the Pager is created but unvisible for only one page.
the Patch submitted by Dumitru Ban [[email protected]]
2007-07-01 Igor Zelmanovich <[email protected]>
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81139
* FormView.cs:
* DetailView.cs:
* GridView.cs:
does not requires data binding if any ITemplate property is set.
2007-07-01 Igor Zelmanovich <[email protected]>
* FormViewTest.cs:
* DetailViewTest.cs:
* GridViewTest.cs:
Added new tests
svn path=/trunk/mcs/; revision=81138
* GridView.cs: fixed AllowPaging feature:
When the AllowPaging is true the GridView control should automatically
hide the pager row when the data source contains fewer than 2 records.
patch Patch submitted by Dumitru Ban [[email protected]]
svn path=/trunk/mcs/; revision=80611
* 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