Commit Graph
1251 Commits
Author SHA1 Message Date
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
Gonzalo Paniagua Javier 05f309e19b 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
* SelectedDatesCollection.cs: fix by Yaron for bug #49698.
	* ValidationSummary.cs: fixes bug #49669.

svn path=/trunk/mcs/; revision=19180
2003-10-18 23:36:42 +00:00
Gonzalo Paniagua Javier 1351d60778 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-10-11 09:08:19 +00:00
Gaurav Vaish 58e45ccb97 2002-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* WebControl.cs         : Attributes { get; }       - Is Complete.
* ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
                                                    - Completed.

svn path=/trunk/mcs/; revision=18765
2003-10-08 19:11:06 +00:00
Gaurav Vaish 8ecd3fc114 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
                        : RegisterValidatorCommonScript()
                                       - More code, I need HELP!
                        : RegisterValidatorDeclaration()
                                       - More code, I need HELP!

svn path=/trunk/mcs/; revision=18764
2003-10-08 18:58:27 +00:00
Gonzalo Paniagua Javier e8458683cc 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs: don't lose state when enabling/disabling. See bug
	#48802.

svn path=/trunk/mcs/; revision=18383
2003-09-29 09:40:18 +00:00
Gonzalo Paniagua Javier 3a8ee6fc47 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
	* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
	to use a DummyDataSource and ClearViewState only called when no items.

svn path=/trunk/mcs/; revision=18351
2003-09-28 14:17:02 +00:00
Gonzalo Paniagua Javier 9233b6bb29 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.

svn path=/trunk/mcs/; revision=18350
2003-09-28 12:07:40 +00:00
Gonzalo Paniagua Javier 1c9ad5e71e 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.

svn path=/trunk/mcs/; revision=18349
2003-09-28 11:57:27 +00:00
Gonzalo Paniagua Javier b1cb8908dd 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed bug #48217. Patch by [email protected] (Yaron
	Shkop).

svn path=/trunk/mcs/; revision=18327
2003-09-27 12:06:03 +00:00
Gonzalo Paniagua Javier 8a26ad7469 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs: fixes bug #48691. Patch by [email protected] (Yaron
	Shkop).

svn path=/trunk/mcs/; revision=18324
2003-09-27 01:34:13 +00:00
Gonzalo Paniagua Javier 7f3cbdbc8d 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: render the 'disabled' attribute in the correct tag.
	* WebControl.cs: fixed Enabled property and save it in ViewState.

	Fixes bug #48802.

svn path=/trunk/mcs/; revision=18323
2003-09-27 01:21:15 +00:00
Gonzalo Paniagua Javier 8be0f4eb7c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

svn path=/trunk/mcs/; revision=18245
2003-09-21 15:49:51 +00:00
Gonzalo Paniagua Javier e21820ea1c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #48671.

svn path=/trunk/mcs/; revision=18244
2003-09-21 15:39:01 +00:00
Gonzalo Paniagua Javier 61ed7d6f91 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* FontInfo.cs: fixed Name property as suggested by Rich Alimi
	<[email protected]>.

svn path=/trunk/mcs/; revision=18192
2003-09-19 18:27:54 +00:00
Gonzalo Paniagua Javier f51d161a24 2003-09-14 Gonzalo Paniagua Javier <[email protected]>
* RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
	Skripsky <[email protected]>

svn path=/trunk/mcs/; revision=18077
2003-09-14 12:05:36 +00:00
Gonzalo Paniagua Javier 441b4e3e3e 2003-09-13 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: patch by Juraj Skripsky ([email protected]) that
	fixes rendering of the end tag.

svn path=/trunk/mcs/; revision=18059
2003-09-13 12:01:54 +00:00
Gonzalo Paniagua Javier 654ed1b737 2003-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix for Items property provided by [email protected]
	(Yaron Shkop). Closes bug #48060.

svn path=/trunk/mcs/; revision=17765
2003-08-31 14:45:11 +00:00
Gonzalo Paniagua Javier 95aeaaf22d 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
	true when the new data is different from the one we had. Fixed
	conditions to save Checked state. Thanks to [email protected]
	(Yaron Shkop).

	* System.Web.UI/Page.cs: check if controls that require postback have
	been changed by an event and register them to be notified of data
	changed event.

	Fixes bug #47869.

svn path=/trunk/mcs/; revision=17621
2003-08-26 12:25:22 +00:00
Gonzalo Paniagua Javier 8f40e6c6a5 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.

svn path=/trunk/mcs/; revision=17608
2003-08-26 02:37:08 +00:00
Gonzalo Paniagua Javier f67fde4ac6 2003-08-25 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs: removed dangling ^M and unneeded fields. Keep track
	of Enable in ViewState. Fixes bug #47865.

svn path=/trunk/mcs/; revision=17591
2003-08-25 16:42:15 +00:00
Gonzalo Paniagua Javier 223c5498fb 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: the MARKED bit is not send set in ViewState unless something
	is changed. Fixed TrackViewState condition.

	* WebControl.cs: save the base ViewState *after* ControlStyle is done,
	because it uses the same ViewState as the control. Fixes bug #47725.

svn path=/trunk/mcs/; revision=17421
2003-08-19 23:24:08 +00:00