Ben Maurer
d2f9b77b7a
2003-11-22 Ben Maurer <[email protected] >
...
* 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
2003-11-22 22:01:19 +00:00
Jackson Harper
2fb22ed808
* ValidationSummary.cs: Fix number of messages and message
...
array computation.
svn path=/trunk/mcs/; revision=20341
2003-11-22 21:48:27 +00:00
Andreas N
6b375445c5
2003-11-21 Andreas Nahr <[email protected] >
...
* Xml.cs: Corrected attribute
* XmlBuilder.cs: Added
svn path=/trunk/mcs/; revision=20313
2003-11-21 17:15:45 +00:00
Gonzalo Paniagua Javier
5d84bef5d3
2003-11-21 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web.dll.sources: added new files.
* System.Web/HttpApplication.cs:
* System.Web/HttpContext.cs:
* System.Web/HttpRuntime.cs: add timeout handling.
* System.Web/TimeoutManager.cs: new class that takes care of aborting
threads on timeout.
* System.Web.Configuration/CompilationConfiguration.cs: don't throw
an HttpException.
* System.Web.Configuration/HttpRuntimeConfig.cs:
* System.Web.Configuration/HttpRuntimeConfigurationHandler.cs: handle
system.web/httpRuntime configuration section.
* System.Web.UI/PersistChildrenAttribute.cs:
* System.Web.UI/PersistenceModeAttribute.cs: implemented.
* System.Web.UI/TODO: Removed file.
* System.Web.UI/OutputCacheLocation.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI.HtmlControls/HtmlInputFile.cs:
* System.Web.UI.WebControls/Xml.cs: class status based fixes.
svn path=/trunk/mcs/; revision=20291
2003-11-21 00:26:20 +00:00
Jackson Harper
9b714bbb33
* HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
...
svn path=/trunk/mcs/; revision=20266
2003-11-20 11:27:52 +00:00
Jackson Harper
63661f04c7
* HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
...
teh applications base directory. This fixes bug #51092 .
svn path=/trunk/mcs/; revision=20265
2003-11-20 10:47:47 +00:00
Todd Berman
288f8abdd5
2003-11-18 Todd Berman <[email protected] >
...
* ControlParameter.cs:
* CookieParameter.cs:
* FormParameter.cs:
* QueryStringParameter.cs:
* SessionParameter.cs: added public .ctor ()
* Parameter.cs: added public .ctor (), internal SetOwnerCollection
and handling, as well as internal ParameterValue for easy access.
NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
* ParameterCollection.cs: implementation redux.
svn path=/trunk/mcs/; revision=20213
2003-11-19 04:47:13 +00:00
Ben Maurer
3dafbfdc30
I am reverting todd's patch because it kills the build on the generics tree
...
svn path=/trunk/mcs/; revision=20204
2003-11-18 22:39:00 +00:00
Todd Berman
7e9e390ccf
2003-11-18 Todd Berman <[email protected] >
...
* ParameterCollection.cs: Implemented
* Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
ToString () now matches asp.net
svn path=/trunk/mcs/; revision=20177
2003-11-18 16:56:19 +00:00
Ben Maurer
d0ac8392d4
2003-11-17 Ben Maurer <[email protected] >
...
* StateManagedCollection.cs: Implement.
2003-11-17 Ben Maurer <[email protected] >
* ControlParameter.cs:
* CookieParameter.cs:
* FormParameter.cs:
* Parameter.cs:
* QueryStringParameter.cs: New v2 files. Mostly
implemented, still need a few methods.
svn path=/trunk/mcs/; revision=20146
2003-11-17 23:03:01 +00:00
Gonzalo Paniagua Javier
2bfa12e181
2003-11-16 Gonzalo Paniagua Javier <[email protected] >
...
* ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
Gazit <[email protected] >.
svn path=/trunk/mcs/; revision=20068
2003-11-16 18:20:52 +00:00
Gonzalo Paniagua Javier
1b96bbcce2
2003-11-13 Gonzalo Paniagua Javier <[email protected] >
...
* RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
Patch by Alon Gazit <[email protected] >.
svn path=/trunk/mcs/; revision=19931
2003-11-13 10:21:01 +00:00
Ben Maurer
19d8d5d139
2003-11-09 Ben Maurer <[email protected] >
...
* DataBoundControl.cs: Implement
* ListControl.cs: inherit from the above.
* Repeater.cs, BaseDataList.cs: should reset whenever we databind.
svn path=/trunk/mcs/; revision=19773
2003-11-10 00:15:45 +00:00
Ben Maurer
31d94eec92
2003-11-09 Ben Maurer <[email protected] >
...
* BaseDataList.cs:
* DataGrid.cs:
* DataList.cs:
* Repeater.cs: add v2 databinding stuff
* XmlDataSource.cs: make it load the xml.
svn path=/trunk/mcs/; revision=19771
2003-11-09 21:50:27 +00:00
Ben Maurer
feb6527808
v2 stuff
...
svn path=/trunk/mcs/; revision=19769
2003-11-09 19:47:04 +00:00
Ben Maurer
0f25cef728
2003-11-08 Ben Maurer <[email protected] >
...
* SiteMapNode.cs (GetDataSourceView): Implement.
* SiteMapProvider.cs: Typo fixing.
* XmlSiteMapProvider.cs: We shouldnt resolve here.
2003-11-08 Ben Maurer <[email protected] >
* DataSourceView.cs:
* IDataSource.cs:
* ListSourceHelper.cs:
* DataSourceControl.cs:
* HierarchicalDataSourceView.cs:
* IHierarchicalDataSource.cs: Move v2 stuff.
2003-11-08 Ben Maurer <[email protected] >
* SiteMapDataSourceView.cs: Implement.
svn path=/trunk/mcs/; revision=19754
2003-11-09 04:56:15 +00:00
Jackson Harper
893941212b
* ImageButton.cs: This is a workaround for bug #49819 . It appears
...
that the .x and .y values are not being posted, and only the x
value is being posted with the ctrl's id as the key.
svn path=/trunk/mcs/; revision=19725
2003-11-08 00:49:53 +00:00
Jackson Harper
21380702ef
* DataGrid.cs (CreateControlHierarchy): Current page index is
...
alolowed to equal page count. This prevents an exception being
thrown when both are zero.
svn path=/trunk/mcs/; revision=19715
2003-11-07 20:13:15 +00:00
Jackson Harper
c51c0d5dab
* ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
...
* BaseValidator.cs: Disable base control so the isValid flag is
not reset.
svn path=/trunk/mcs/; revision=19688
2003-11-06 17:39:37 +00:00
Jackson Harper
2b75405d6a
* TemplateColumn.cs: Use the same renderer for selected items as
...
normal items. This fixes bug #49744 .
svn path=/trunk/mcs/; revision=19623
2003-11-04 21:08:20 +00:00
Jackson Harper
c3ad385b3d
* DataList.cs:
...
* WebControl.cs: Fix argument out of range exceptions on
properties. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19622
2003-11-04 19:44:05 +00:00
Jackson Harper
4c8635c916
* TemplateColumn.cs: If the item is selected but there is no
...
editItemTemplate use the itemTemplate. This matches MS
behvoir.
svn path=/trunk/mcs/; revision=19611
2003-11-04 07:58:25 +00:00
Jackson Harper
ea32ed9304
* Repeater.cs: Always set alternating items to the AlternatingItem
...
type, when instantiating alternating items use the itemTemplate if
the alternatingItem template is null. This matches MS behavoir and
fixes bug #50157 .
svn path=/trunk/mcs/; revision=19610
2003-11-04 06:02:35 +00:00
Jackson Harper
9ca4eb89dd
* DataGridPagerStyle.cs: Name of view state attribute is
...
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19609
2003-11-04 05:44:03 +00:00
Jackson Harper
ef437d1bc2
* DataGridPagerStyle.cs: Name of view state attribute is
...
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19608
2003-11-04 05:43:30 +00:00
Jackson Harper
41591e12e1
* RepeatInfo.cs: When doing horizontal rendering use the repeat
...
columns as the number of columns in a row. This fixes bug
#49016 .
svn path=/trunk/mcs/; revision=19607
2003-11-04 05:22:38 +00:00
Jackson Harper
925fc6f10b
* PagedDataSource.cs (PageCount): Return page count of 1 if there
...
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19605
2003-11-03 23:34:55 +00:00
Jackson Harper
5a98ec1ab9
* BoundColumn.cs: Render readonly columns. Patch by Mohammad
...
DAMT.
svn path=/trunk/mcs/; revision=19591
2003-11-03 20:44:36 +00:00
Ben Maurer
7acb63770b
2003-11-02 Ben Maurer <[email protected] >
...
* BulletStyle.cs:
* BulletedListDisplayMode.cs:
* BulletedListEventHandler.cs:
* BulletedList.cs:
* BulletedListEventArgs.cs: V2 controls (yay!)
svn path=/trunk/mcs/; revision=19560
2003-11-03 00:16:59 +00:00
Jackson Harper
1cd861426c
* Repeater.cs: Throw an exception if the datasource is set to
...
something that does not implement either IListSource or
IEnumerable. This fixes bug #50155 .
svn path=/trunk/mcs/; revision=19483
2003-10-30 09:00:24 +00:00
Jackson Harper
1b3dc2a260
* DataGridPagerStyle.cs: Do not allow page button counts to be set
...
to less then 1. Patch by Yaron Shkop. This fixes bug #50236 .
svn path=/trunk/mcs/; revision=19480
2003-10-30 08:16:42 +00:00
Jackson Harper
83e7bfb810
Proper name so Mohammad gets his due credit.
...
svn path=/trunk/mcs/; revision=19479
2003-10-30 08:00:40 +00:00
Jackson Harper
0ecee66397
* ButtonColumn.cs: Format string and text to format were
...
inversed. This fixes bug #50171 .
svn path=/trunk/mcs/; revision=19478
2003-10-30 07:58:35 +00:00
Jackson Harper
44dcab7076
* DataGridColumn.cs: If an item style is set apply it to the
...
cell. This fixes bug #50173 .
svn path=/trunk/mcs/; revision=19477
2003-10-30 07:31:58 +00:00
Ben Maurer
a80dd32559
2003-10-29 Ben Maurer <[email protected] >
...
* HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234 . Remove
old debugging value.
svn path=/trunk/mcs/; revision=19470
2003-10-29 22:15:11 +00:00
Jackson Harper
fb31b4118a
* PagedDataSource.cs:
...
* DataGrid.cs: Patch by [email protected] . Do not go past the
end of the last page. Fixes bug #5085 .
svn path=/trunk/mcs/; revision=19466
2003-10-29 21:32:33 +00:00
Jackson Harper
df8cf1d470
* CheckBox.cs: Do not change the status of a checkbox when there
...
is no post data. This fixes bug #49091 .
* CheckBoxList.cs: Do not change the status of the checkboxes when
there is no post data. This fixes bug #49093 .
svn path=/trunk/mcs/; revision=19465
2003-10-29 20:57:17 +00:00
Jackson Harper
fd8e225066
* CheckBox.cs: Do not change the status of a checkbox when there
...
is no postback data. This fixes bug #49091 .
svn path=/trunk/mcs/; revision=19464
2003-10-29 20:43:16 +00:00
Ben Maurer
7c1fcce1fb
2003-10-26 Ben Maurer <[email protected] >
...
* RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
RadioButton. Fixes #50132
svn path=/trunk/mcs/; revision=19410
2003-10-26 20:38:34 +00:00
Ben Maurer
eb65169f48
2003-10-25 Ben Maurer <[email protected] >
...
* PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
paging from working. Fixes #48814 .
svn path=/trunk/mcs/; revision=19392
2003-10-25 20:18:51 +00:00
Ben Maurer
ea36645191
2003-10-25 Ben Maurer <[email protected] >
...
* DataGrid.cs: A few typos kept us from viewing datagrids
that were based on customized collections.
svn path=/trunk/mcs/; revision=19391
2003-10-25 20:04:44 +00:00
Ben Maurer
17d40a0c79
typo fix
...
svn path=/trunk/mcs/; revision=19371
2003-10-25 02:00:09 +00:00
Ben Maurer
2387ae2785
render the next month button so that aligns to the right
...
svn path=/trunk/mcs/; revision=19350
2003-10-23 22:41:39 +00:00
Gonzalo Paniagua Javier
1361486ade
2003-10-23 Gonzalo Paniagua Javier <[email protected] >
...
* BaseCompareValidator.cs: splitted Convert. Fixed bug #49927 . The fix
was just changing && by || after the first Match.
svn path=/trunk/mcs/; revision=19345
2003-10-23 13:17:01 +00:00
Gonzalo Paniagua Javier
be00ef4851
2003-10-23 Gonzalo Paniagua Javier <[email protected] >
...
* Calendar.cs: apply header style in RenderHeader. Fixes bug #49144 .
Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19334
2003-10-23 10:11:40 +00:00
Gonzalo Paniagua Javier
7238a3154a
2003-10-22 Gonzalo Paniagua Javier <[email protected] >
...
* DataGrid.cs: applied patch from Yaron Shkop ([email protected] )
that fixes bug #49744 . Now the selection doesn't lose its data.
svn path=/trunk/mcs/; revision=19297
2003-10-22 09:24:31 +00:00
Ben Maurer
9d108aea01
2003-10-21 Ben Maurer <[email protected] >
...
* EditCommandColumn.cs: Implement; fix #49736
svn path=/trunk/mcs/; revision=19291
2003-10-22 02:41:57 +00:00
Ben Maurer
27cddd2f9e
2003-10-21 Ben Maurer <[email protected] >
...
* ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
the forground color. bug #49738
svn path=/trunk/mcs/; revision=19287
2003-10-22 00:14:13 +00:00
Gonzalo Paniagua Javier
d048878557
2003-10-19 Gonzalo Paniagua Javier <[email protected] >
...
* Calendar.cs: fixed bug #49727 .
svn path=/trunk/mcs/; revision=19182
2003-10-19 00:20:59 +00:00
Ben Maurer
9c446422f4
2003-10-18 Ben Maurer <[email protected] >
...
* TableStyle.cs: fix #49740 .
svn path=/trunk/mcs/; revision=19181
2003-10-18 23:59:00 +00:00