Commit Graph
1341 Commits
Author SHA1 Message Date
Lluis Sanchez 74f52190d1 * BaseValidator.cs: Store Display property in the correct ViewState
property. Don't render anything if Display is ValidatorDisplay.None.

svn path=/trunk/mcs/; revision=25149
2004-04-07 09:25:12 +00:00
Ben Maurer 2aea421381 build fixes, someone should do the correct thing...
svn path=/trunk/mcs/; revision=25062
2004-04-05 22:16:27 +00:00
Lluis Sanchez ac7f2f9bac * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
since it is already a physical path. Fixes bug #55334.

svn path=/trunk/mcs/; revision=24790
2004-03-30 16:41:31 +00:00
Jackson Harper 8fbe3cd08e * Calendar.cs: Match MS postback data. This allows sites that
parse the postback data manually to work.

svn path=/trunk/mcs/; revision=23052
2004-02-13 09:23:54 +00:00
Alon Gazit 99b97b0ff1 fixed InitializeCell(). The rendered LiteralControl should contain " " and not " ".
svn path=/trunk/mcs/; revision=22760
2004-02-04 08:05:58 +00:00
Alon Gazit 0bde8323be fixed a paging mechanism problem in the method InitializePager().
svn path=/trunk/mcs/; revision=22669
2004-02-01 15:27:46 +00:00
Alon Gazit 92c75c2c25 prevent NullReferenceException in RenderAllDays().
svn path=/trunk/mcs/; revision=22573
2004-01-28 10:16:40 +00:00
Gonzalo Paniagua Javier 1a8e5a4daa 2004-01-27 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-01-27 08:33:21 +00:00
Martin Baulig 264b93aef1 2004-01-21 Martin Baulig <[email protected]>
* 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
2004-01-21 21:05:34 +00:00
Alon Gazit b947a2fc88 fix problem with negative TabIndex (wasn't rendered).
svn path=/trunk/mcs/; revision=22219
2004-01-18 13:15:46 +00:00
Alon Gazit 91b8c77015 The CopyFrom methods in these classes shouldn't copy a value that is equal
to Property default value.

svn path=/trunk/mcs/; revision=22218
2004-01-18 09:42:49 +00:00
Alon Gazit 994a76b145 RepeatLayout property should affect the rendered html.
svn path=/trunk/mcs/; revision=22121
2004-01-15 16:04:35 +00:00
Alon Gazit 301324b8a5 Add validation check to Size property.
svn path=/trunk/mcs/; revision=22116
2004-01-15 15:01:55 +00:00
Alon Gazit b08e4accdb Fixed PrepareControlHierarchyForItem().
merge the column's style to the cell's style and not to the item's(row) style.

svn path=/trunk/mcs/; revision=21805
2004-01-07 13:09:40 +00:00
Alon Gazit 62b4589782 Fixed ControlPropertiesValid().
svn path=/trunk/mcs/; revision=21673
2004-01-04 10:17:45 +00:00
Gonzalo Paniagua Javier cf8416a83a 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: mono-stylized and removed warnings.

svn path=/trunk/mcs/; revision=21631
2004-01-03 15:09:23 +00:00
Alon Gazit 7b42819225 update RenderItem() so that each item in the RadioButtonList or the
CheckBoxList is disabled or enabled like the container.

svn path=/trunk/mcs/; revision=21584
2004-01-01 15:57:33 +00:00
Alon Gazit 8c1943405e Fixed PrepareControlHierarchyForItem().
The Header or Footer Style shouldn't merge with the cells Style.

svn path=/trunk/mcs/; revision=21579
2004-01-01 09:54:46 +00:00
Alon Gazit 8280e80504 Headers and Footers are initialized with the relevant Style object.
svn path=/trunk/mcs/; revision=21578
2004-01-01 08:20:16 +00:00
Alon Gazit 2a9a5a66c8 Fixed DoVerticalRendering () and DoHorizontalRendering().
Current implementation produces few extra html tags.

svn path=/trunk/mcs/; revision=21555
2003-12-30 14:23:43 +00:00
Alon Gazit 152039aa97 change the implementation of LoadPostData.
Currently, while the AutoPostBack property equals true ,
it isn't possible to perform uncheck.

svn path=/trunk/mcs/; revision=21535
2003-12-29 09:03:41 +00:00
Jackson Harper ec28faccea * TableCell.cs: Setting a cells text should clear its control
collection as per la specification. This fixes bug #51825.

svn path=/trunk/mcs/; revision=21373
2003-12-19 22:30:41 +00:00
Gonzalo Paniagua Javier 9a9b6f2b31 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-12-18 11:02:40 +00:00
Alon Gazit ee6c4d8192 Merge DataGridPagerStyle properties when Style is empty.
svn path=/trunk/mcs/; revision=21314
2003-12-18 09:09:35 +00:00
Alon Gazit fbf3d3e087 Merge TableStyle properties when Style is empty.
svn path=/trunk/mcs/; revision=21309
2003-12-18 08:47:06 +00:00
Alon Gazit 24f433a2b8 Change Text property implementation.
In MS when the Text roperty is set, all the controls in the
HyperLink are being deleted.

svn path=/trunk/mcs/; revision=21241
2003-12-16 15:36:03 +00:00
Alon Gazit c065e78258 Fixed DoVerticalRendering() and DoHorizontalRendering().
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
2003-12-16 11:02:19 +00:00
Alon Gazit 416556866b Fixed DoVerticalRendering() and DoHorizontalRendering().
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
2003-12-15 16:45:47 +00:00
Alon Gazit f31e57c21c Disabled CheckBox does not produce same HTML as .NET.
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
2003-12-15 13:19:33 +00:00
Alon Gazit c5a41569cd Change the implementation of CreateControlHierarchy().
The current implementation renders extra Header and footer
without Repeater.DataSource assign.

svn path=/trunk/mcs/; revision=21165
2003-12-15 12:29:42 +00:00
Alon Gazit d08b0a8110 Change the implementation of the property BackImageUrl.
The current implementation has no influence on the rendered Html.

svn path=/trunk/mcs/; revision=21141
2003-12-15 07:54:54 +00:00
Alon Gazit c237b380d3 Change the implementation of the property Enabled.
Before the change the WebControl also looked at parent.Enabled .

svn path=/trunk/mcs/; revision=21138
2003-12-15 07:39:11 +00:00
Gonzalo Paniagua Javier e181b32c76 Avoid warnings
svn path=/trunk/mcs/; revision=21122
2003-12-14 17:06:24 +00:00
Jackson Harper d06c56531d * RepeatInfo.cs: When rendering vertically figure out how many
colmns are not going to be filled in in the last row, and adjust
	things accordingly. This fixes bug #51863.

svn path=/trunk/mcs/; revision=21015
2003-12-11 09:02:26 +00:00
Alon Gazit e3d1ad040e Change the implementation of the properties HorizontalAlign and VerticalAlign.
The current implementation has no influence on the rendered Html.

svn path=/trunk/mcs/; revision=20969
2003-12-10 16:21:10 +00:00
Alon Gazit 43b11ae8dc Add setting of The WRAP flag in the Wrap property's set method.
svn path=/trunk/mcs/; revision=20958
2003-12-10 12:45:01 +00:00
Jackson Harper 171a7610c5 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Increment counter when moving to start. Fixes bug #51926.

svn path=/trunk/mcs/; revision=20940
2003-12-09 20:02:21 +00:00
Jackson Harper 33394bad6a * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
Benjamin Jemlich. Fixes bug #51823.

svn path=/trunk/mcs/; revision=20889
2003-12-08 19:19:23 +00:00
Alon Gazit 422e251479 Panel doesn't render nowrap attribute while the Wrap property is set to
false.the problem was in Panel.AddAttributesToRender().

svn path=/trunk/mcs/; revision=20832
2003-12-07 10:41:44 +00:00
Gonzalo Paniagua Javier e476550a7e 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
* TableItemStyle.cs: merge TableItemStyle properties when Style is
	empty. Fixes bug #51689. Patch by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20792
2003-12-04 21:52:53 +00:00
Gonzalo Paniagua Javier dc1fbf2e37 Removed obsolete files
svn path=/trunk/mcs/; revision=20767
2003-12-04 12:24:53 +00:00
Gonzalo Paniagua Javier 3d5f46ed19 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
	#51648.

svn path=/trunk/mcs/; revision=20749
2003-12-03 18:40:59 +00:00
Gonzalo Paniagua Javier 92bf49b0f6 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-12-02 04:00:19 +00:00
Jackson Harper 18504bc645 * WebControl.cs: Only allow access keys to be null or a single
char. Patch by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20671
2003-12-01 18:39:50 +00:00
Jackson Harper 40e82a8ca8 * CheckBoxList.cs: A checkbox will have null post data if it is
unselected. This fixes bug #51516.

svn path=/trunk/mcs/; revision=20651
2003-12-01 03:47:52 +00:00
Jackson Harper 860e2b71f3 * DataGrid.cs: Display paging controls even when there is no
data. Path by Mohammad DAMT. Fixes bug #51487.

svn path=/trunk/mcs/; revision=20601
2003-11-29 08:48:43 +00:00
Jackson Harper e3b4797571 * DataGrid.cs: Call TrackViewState when loading bound columns view
state. So that their state is saved. This fixes bug #51424. Also
	set ReadOnly.

svn path=/trunk/mcs/; revision=20600
2003-11-29 08:19:12 +00:00
Jackson Harper 2330138736 * BaseDataList.cs: Change && to || We will call that a typo so no
one gets embarrased.

svn path=/trunk/mcs/; revision=20510
2003-11-26 23:50:14 +00:00
Gonzalo Paniagua Javier c51a5f0ff0 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: allow setting null as Datasource.

	* DataGrid.cs: keep autogenerated columns in the ViewState.

	Patches by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20397
2003-11-24 18:46:31 +00:00
Ben Maurer 069539d2b0 2003-11-22 Ben Maurer <[email protected]>
* SqlDataSource*: Implement almost everything. Data access is
	still missing.

svn path=/trunk/mcs/; revision=20349
2003-11-23 02:44:44 +00:00