The change in DataSource prevents throwing ArgumentException while
setting property value to null.
The change in InstantiateItem() prevents NullReferenceException.
svn path=/trunk/mcs/; revision=25658
* 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
* XmlHierarchyData.cs: Make this compile with csc.
* BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
accessor since the base class doesn't have one.
svn path=/trunk/mcs/; revision=22360
* DataGridColumn.cs: stylized LoadViewState.
* DataGridColumnCollection.cs: when TrackViewState is called, also
call it on all the existing columns. Fixes bug #52334.
svn path=/trunk/mcs/; revision=21315
Both methods add additional empty table row in the head of each item table
when the variable named isTable equals true (happenes with the default instantiation
of RepeatInfo).
These additional rows should be added when isTable equals false.
svn path=/trunk/mcs/; revision=21234
Both methods add to rendered Header a colspan attribute according to the rows count.
After the change the colspan is added according to the columns count.
svn path=/trunk/mcs/; revision=21179
In .NET if the checkbox is disabled ,its text appears disabled too.
In Mono the text appears enabled. the fix is in Render().
svn path=/trunk/mcs/; revision=21167
* System.Web.dll.sources: added WebConfigurationSettings.
* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
API.
* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
as it tries to read configuration settings while the config. system is
not available (ie, before the first request).
* System.Web/HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.
* System.Web.Configuration/GlobalizationConfiguration.cs: return null
when the configuration is not available.
* System.Web.Util/WebEncoding.cs: use the Default encoding when the
globalization configuration is not available.
* System.Web.Configuration/WebConfigurationSettings.cs: handle
configuration for System.Web. It replaces the default
IConfigurationSystem with itself and handles web.config files
oddities.
* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
when GetAttribute is called.
svn path=/trunk/mcs/; revision=20681
* 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