* Calendar.cs: do not create dateInfo in the constructor - culture
might be not set yet at this point. Fixes bug #323566
Added a private property, DateInfo, which creates the dateInfo
when requested.
2008-05-06 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: compatibility - added the
__stringResource static field to the generated class and a call to
SetStringResourcePointer to the FrameworkInitialize method.
* PageCompiler.cs: __fileDependencies should also be defined in
the 1.x profile.
Page properties assigned in the page directive should be set
inside BuildControlTree in the 2.0 profile.
svn path=/trunk/mcs/; revision=102573
* Calendar.cs: style attribute value must be enclosed in quotes.
* TableStyle.cs: do not capitalize the align styles. Fixes bug
#313766.
svn path=/trunk/mcs/; revision=85863
* Calendar.cs: change year/month format to be culture aware. Fix
for bug #81390. Patch submitted by Atsushi Enomoto
<[email protected]>
svn path=/trunk/mcs/; revision=75861
SelectDateProperty test to pass on MS.
* Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
instead of CurrentUICulture for DateFormatInfo.
svn path=/trunk/mcs/; revision=73199
* Calendar.cs: Make sure WebControls.Enabled is respected.
* SelectedDatesCollection.cs: Set time for all DateTime object passed in
to 12:00am as MS.NET does the same.
Fixes bug #71251.
svn path=/trunk/mcs/; revision=61679
* Calendar.cs: remove Console.
* ListBox.cs: the name is the UniqueID, not the ClientID.
* WebControl.cs: Attributes is case insensitive.
svn path=/trunk/mcs/; revision=51148
* System.Web_test.dll.sources: add new test.
* System.Web.UI/AttributeCollection.cs: avoid code duplication and
don't add "style" to the bag, or it will overwrite the settings made
by CssStyleCollection.
* System.Web.UI/CssStyleCollection.cs: make it throw where MS throws.
Minimize the number of times we create the "style" string and take
care of updating it for the AttributeCollection. FillStyle and
BagToString are now private. One should use the 2.0 (internal in <2.0)
Value property.
* System.Web.UI.WebControls/Style.cs: avoid unnecesary creation of a
CssStyleCollection and instead write the style attributes directly to
the HtmlTextWriter.
* System.Web.UI.WebControls/CheckBox.cs: adapted to new API.
* DataGrid.cs: handle null data sources. Fixed the contions that make
the table to be added to the Controls collection.
* System.Web.UI.WebControls/Calendar.cs: the table needed an ID and the
attributes from the parent. Also don't create the ControlStyleCollection
if it has not already been created.
svn path=/trunk/mcs/; revision=50931
* 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
* Calendar.cs (WriteDay): always add BackColor=Silver,
ForeColor=White to selected day cells, before copying over the
selectedDayStyle, if it exists.
(WriteDays): fix nunit test - if the first day of the month falls
on the first day of the week, go back one week (effectively adding
a row of dates from the previous month.)
(WriteTitle): don't copy the control style to the tableTitle,
since it might have height specifications, which would make the
title look rather off.
svn path=/trunk/mcs/; revision=49672
* CalendarTest.cs: Trackview states
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* RadioButtonListTest.cs: test unit
2005-07-29 Jordi Mas i Hernandez <[email protected]>
* SelectedDatesCollectionTest.cs: new unit test
* CalendarDayTest.cs: new unit test
* CalendarTest.cs: more tests for calendar control
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* ButtonTest.cs: add Default constructors tests
* ImageButtonTest.cs: Adds ImageButtonTest
2005-07-11 Jordi Mas i Hernandez <[email protected]>
* ButtonTest.cs: New unit test for Button
2005-08-04 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes issues with OnDayRender event and others
2005-08-03 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes Save/Load state
2005-08-03 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: bug fixes
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* RadioButtonList.cs: bug fixes
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
AddAttributesToRender
* RadioButtonList.cs: Implementation
2005-08-01 Jordi Mas i Hernandez <[email protected]>
* ImageButton.cs: fixes, complete missing parts
2005-07-29 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes exceptions, bug fixes, new features
* SelectedDatesCollection.cs: Fixes bugs discovered by the tests
* CalendarDay.cs: fixes default value
2005-07-27 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: get the styles right, honors more properties, fixes, fix
var names style
2005-07-26 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: selection of dates, state load, save, track, support
for new properties, many fixes.
2005-07-23 Jordi Mas i Hernandez <[email protected]>
* Button.cs: fixes events, adds attributes
2005-07-22 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: Initial implementation
* CalendarSelectionMode.cs: fix enum order
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* TitleFormat.cs: Add attribute
* TextBoxMode.cs: Add attribute
* CalendarDay.cs: Initial implementation
* ImageButton.cs: Initial implementation
* CalendarSelectionMode.cs:Initial implementation
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* TextBoxMode.cs: simple enum
* TitleFormat.cs: simple enum
2005-07-10 Jordi Mas i Hernandez <[email protected]>
* Button.cs: Initial Button implementation
svn path=/trunk/mcs/; revision=48923
* Calendar.cs: when the day is active, modify the text of the literal
control that holds the number, not the text of the TableCell. Also call
OnDayRender before updating that text. Fixes bug #74718.
svn path=/trunk/mcs/; revision=43581
* 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
* Calendar.cs: when rendering days, add a LiteralControl containing the
day before OnDayRender is called. Only generate the default links for
days when IsSelectable is true after OnDayRender. Fixes bug #53372.
svn path=/trunk/mcs/; revision=22526
* Calendar.cs (SaveViewState):
- We were allocating a 11 item array, we only used 10 items,
so only allocate 10.
- We only need to save the selected dates if there are any.
* DataGrid.cs (SaveViewState):
* DataGridColumn.cs (SaveViewState):
* DataGridColumnCollection.cs (SaveViewState):
- Only return the array if there is anything in it
* Style.cs (SaveViewState):
- Only save the bits if there were changes.
* WebControl.cs (SaveViewState), (LoadViewState):
- Don't save Enabled into the viewstate here, we already
do it in the property. This just caused *EVERY* control
to have a non-null state, taking up lots of extra room
in the ViewState.
- The style will always be created with this control's
viewstate, so the style will always return null for the
viewstate. As such, we do not need to store it. We can
also reduce the triplet to a pair because of this.
svn path=/trunk/mcs/; revision=20342
* Calendar.cs: apply the calendar style to the new Table, not to itself.
Fixes#49406.
* CheckBox.cs: render the hidden fields if AutoPostBack.
* Style.cs: don't render empty width/height. Small improvement in
CopyFrom.
* Table.cs: fixed condition for border width.
* TableStyle.cs:
(CopyFrom): always call the base class to copy other attributes. Fixes
bug #49408. Don't render empty 'rules' attribute.
* WebControl.cs: track viewstate when enabled. Don't overwrite source
control attributes in CopyBaseAttributes.
* ChangeLog: fixed dates.
svn path=/trunk/mcs/; revision=18878
* Calendar.cs: added myself to the list of authors.
* DropDownList.cs: fixed a few properties.
* ListControl.cs: fixed SelectedIndex.
svn path=/trunk/mcs/; revision=6265
* System.Web.UI/Page.cs: request to render postback script can be
after form started rendering.
* System.Web.UI.WebControls/Calendar.cs: lots of fixes. Render days.
Still left to persist selected days when changing month.
* System.Web.UI.WebControls/Unit.cs: fixed Percentage and Pixel.
* System.Web.UI.WebControls/WebControl.cs: a few properties are now
using ControlStyle instead of ViewState to persist.
svn path=/trunk/mcs/; revision=6258