Commit Graph
1458 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Alexander Köplinger a8b2f07578 [Cleanup] Removed .jvm.cs files that are no longer used
They were once part of a special Java target profile, but this is no longer used today.
2014-08-07 23:01:51 +02:00
Martin 684292834c Update mcs/class/System.Web/System.Web.UI.WebControls/Menu.js 2013-02-07 15:43:29 +01:00
Marek Safar caa797a96f Revert c38f710ce5 2012-07-10 15:24:21 +01:00
Jakob Andersen 63e5a0d3e1 Only compare values if postdata for the checkbox is actually recieved 2012-07-09 16:40:14 +02:00
Jakob Andersen c38f710ce5 Fix to compare to actual value as this is what is used in 4.0 since changeset d8838a64 2012-07-07 22:06:53 +02:00
QuickJack ef6752a5c4 Fixes a number of warnings in System.Web.dll 2012-07-03 20:38:53 +02:00
Martin e63b96685a "tree.SetSelectedNode (null, false)" will cause the OnSelectedNodeChanged event to be fired. The problem is, that e.Node is null which is not allowed. e.Node must contain the newly selected node. 2012-02-07 16:36:40 +01:00
Marek Habersack 38c3c2bacf [asp.net] Fix for bug #670714. Menu is rendered correctly in 4.0 now (highlighting works) 2011-03-17 15:08:53 +01:00
Jason Cohen d83f0b69d2 [asp.net] Fix for bug #678705. Menu list rendered properly closes the list now. 2011-03-16 02:30:11 +01:00
Jonathan Pobst ae8a8ff0b2 Fix for building with csc. All fields in a struct must be set before the constructor can return. 2011-01-21 11:52:10 -06:00
Marek Habersack 8cedb72187 [asp.net] Fix for bug #646505. BoundField must not assume the sender of the OnDataBindField is DataControlFieldCell. 2010-10-29 02:25:25 +02:00
Marek Safar aad016fd87 Clean up few more warnings 2010-10-15 15:20:25 +01:00
Marek Habersack 28349ded65 [asp.net] Menu 4.0 List rendering mode JavaScript fixes
This makes the new script work correctly with IE, which has a different way of
hooking up of events and cancelling of their bubling. Previously the mouse-over
handler would be called for each and every submenu causing the leaf menus not
to appear. With this fix the handler is called only once.
2010-09-13 14:34:38 +02:00
Marek Habersack ad75c45d76 [asp.net] Onobtrusive JavaScript for the 4.0 Menu control List mode 2010-09-10 15:36:09 +02:00
Marek Habersack f1d69fd4bc [asp.net] Menu 4.0 List mode rendering 2010-09-10 15:36:08 +02:00
Marek Habersack 50d0b513c7 [asp.net] Made GetExtension static and internal, so that it can be used from code outsude Unit 2010-09-10 15:36:08 +02:00
Marek Habersack b7643fc22d [asp.net] Fix for bug #636475. A typo caused ads not to be matched in ChooseAd
The second loop over the ads hashtable must not reject an app if the keyword filter is empty.
2010-09-07 22:09:48 +02:00
Marek Habersack 8d39b158e5 [asp.net] Fix for bug #626829. Nodes need to be re-populated on postback, with populate on demand active
When one clicks on the plus sign in the tree with populate on demand active and then clicks on the node's
text, the resulting post back is a plain one, not a callback. In this case all the nodes need to be repopulated
or they will vanish from the rendering. At the same time, the nodes have to be simply marked as populated when
a post back in callback mode is processed.

Disabled one test and a small chunk of code in TreeView.RenderNode - it needs more investigation (nothing critical
though)
2010-08-13 00:12:23 +02:00
Marek Habersack 06dba14e80 [asp.net] Fix for bug #617746. GridRow must auto-bind only properties directly declared in item type
When GridView auto-generates columns it uses reflection to retrieve list of public properties present
in the item type. Only the properties that have bindable type and are declared directly in the item
type must be considered for column auto-generation.
2010-08-12 11:10:51 +02:00
Marek Habersack 6950d09c38 [asp.net, 4.0] Added support for RepeatLayout lists to the list controls. 2010-08-04 20:20:30 +02:00
Marek Habersack a131f24eae [asp.net, 4.0] Implemented OrderedList and UnorderedList layouts for RepeatInfo
Also added auto-generated tests for the new layouts and updated the test generator to account
for the new layouts in 4.0.
2010-08-04 18:54:53 +02:00
Marek Habersack cfa15a27ef Removed a few ONLY_1_1 ifdefs 2010-08-03 17:25:10 +02:00
Marek Habersack 6f57642799 Removed 1.1 code and NET_2_0 ifdefs 2010-08-03 15:28:51 +02:00
Marek Habersack ef8bb0b9b4 2010-07-23 Marek Habersack <[email protected]>
* MenuItemBindingCollection.cs: added the OnClear,
	OnRemoveComplete and OnValidate methods (2.0+)
2010-07-23 13:28:15 +02:00
Marek Habersack 27d696405b 2010-07-23 Marek Habersack <[email protected]>
* TreeNodeStyleCollection.cs: added the OnInsert method (2.0+)

	* TreeNodeBindingCollection.cs: added the OnClear,
	OnRemoveComplete and OnValidate methods (2.0+)
2010-07-23 13:21:48 +02:00
Marek Habersack 1c220d32cf 2010-07-23 Marek Habersack <[email protected]>
* ValidationSummary.cs: implemented OnInit (4.0)
2010-07-23 13:16:09 +02:00
Marek Habersack b14c13d360 2010-07-23 Marek Habersack <[email protected]>
* WizardStepBase.cs: added the LoadViewState, OnLoad and
	RenderChildren methods (2.0+)
2010-07-23 13:10:23 +02:00
Marek Habersack 6b5f7a99e8 2010-07-22 Marek Habersack <[email protected]>
* MenuItemBinding.cs:
	Implemented ToString (4.0)

svn path=/trunk/mcs/; revision=160737
2010-07-22 12:46:46 +00:00
Marek Habersack 038c93f82f 2010-07-22 Marek Habersack <[email protected]>
* MenuItemBinding.cs: made code a bit more compact.

svn path=/trunk/mcs/; revision=160736
2010-07-22 12:46:38 +00:00
Marek Habersack f450da9e65 2010-07-22 Marek Habersack <[email protected]>
* MenuRenderingMode.cs: added (4.0)

	* Menu.cs: added the IncludeStyleBlock and RenderingMode 4.0
	properties (not used in the code yet).

svn path=/trunk/mcs/; revision=160723
2010-07-22 10:38:45 +00:00
Marek Habersack 84cf768d2d 2010-07-21 Marek Habersack <[email protected]>
* Wizard.cs: made rendering 100% compliant with .NET (button IDs,
	2.0+)
	Implemented LayoutTemplate (4.0+)

	* LinkButton.cs: render id first

	* CreateUserWizard.cs: CreateUserNavigationContainer.UpdateState
	doesn't add a previous button if we're on the first step.

svn path=/trunk/mcs/; revision=160657
2010-07-21 12:58:22 +00:00
Marek Habersack dc152b5477 2010-07-20 Marek Habersack <[email protected]>
* StyleCollection.cs: added

svn path=/trunk/mcs/; revision=160656
2010-07-21 12:58:13 +00:00
Marek Habersack 55baf957fd 2010-07-19 Marek Habersack <[email protected]>
* SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
	method (2.0+)

	* RoleGroupCollection.cs: added OnValidate (undocumented) overload

	* ParameterCollection.cs: added missing Add method overload (2.0+)

	* LiteralControlBuilder.cs: added the AppendLiteralString method
	override (2.0+)

svn path=/trunk/mcs/; revision=160569
2010-07-19 13:05:30 +00:00
Marek Habersack 3541a80273 2010-07-19 Marek Habersack <[email protected]>
* DataKey.cs: implemented IEquatable interface methods (4.0)

svn path=/trunk/mcs/; revision=160568
2010-07-19 13:05:21 +00:00
Marek Habersack aed4e7aea0 2010-07-19 Marek Habersack <[email protected]>
* XmlDataSource.cs: implemented CacheKeyContext property (4.0)

svn path=/trunk/mcs/; revision=160567
2010-07-19 13:05:12 +00:00
Marek Habersack d99a93fab8 2010-07-16 Marek Habersack <[email protected]>
* PasswordRecovery.cs: implemented RenderOuterTable
	(4.0)

svn path=/trunk/mcs/; revision=160498
2010-07-16 17:26:43 +00:00
Marek Habersack 930ed3afae 2010-07-16 Marek Habersack <[email protected]>
* Login.cs: implemented RenderOuterTable (4.0)

svn path=/trunk/mcs/; revision=160497
2010-07-16 17:26:35 +00:00
Marek Habersack cad200568e 2010-07-16 Marek Habersack <[email protected]>
* FormViewRow.cs: added internal property RenderJustCellContents
	which makes the control render only its children (4.0)

	* FormView.cs: implemented RenderOuterTable property and the
	ModifiedOuterTableStylePropertyName method (4.0)

svn path=/trunk/mcs/; revision=160496
2010-07-16 17:26:21 +00:00
Marek Habersack 1d1d22eab5 2010-07-15 Marek Habersack <[email protected]>
* WebControl.cs: implemented verifying that no inline style
	property is set for controls which support the RenderOuterTable
	property (4.0)

	* IRenderOuterTable.cs: internal helper interface for controls
	which support the RenderOuterTable property (for now only
	ChangePassword, 3 more to come)

	* ChangePassword.cs: implemented RenderOuterTable property and the
	corresponding behavior of not rendering surrounding table when the
	property is set to false (4.0).
	Modified BaseChangePasswordContainer to not inherit from Table
	anymore. Table is an instance variable (always used as the
	template container in 2.0) which is optionally (and by default)
	used to contain the templates.

svn path=/trunk/mcs/; revision=160459
2010-07-15 19:30:33 +00:00
Marek Habersack f2f50f05da 2010-07-15 Marek Habersack <[email protected]>
* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
	property

	* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

svn path=/trunk/mcs/; revision=160448
2010-07-15 16:51:09 +00:00
Marek Habersack f9aca58e82 4.0/2.0 metadata updates + some test updates
svn path=/trunk/mcs/; revision=160378
2010-07-14 19:46:01 +00:00
Marek Habersack 23d67b3f07 2010-07-14 Marek Habersack <[email protected]>
* Menu.cs: fixed skip link rendering (no child controls are added
	in the process, writing directly to HtmlTextWriter). Fixes tests
	for 4.0
	If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
	16px as the value of the margin-left CSS attribute.

Fixed all failing tests (both 2.0 and 4.0)

svn path=/trunk/mcs/; revision=160369
2010-07-14 15:55:09 +00:00
Marek Habersack b58d43fc4c 2010-07-13 Marek Habersack <[email protected]>
* BoundField.cs: implemented HtmlEncodeFormatString property
	(3.5+) and modified the way FormatDataValue works accordingly.

svn path=/trunk/mcs/; revision=160312
2010-07-13 19:54:34 +00:00
Marek Habersack 9b6ca247de 2010-07-13 Marek Habersack <[email protected]>
* ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
	is not part of the official API. MultiSelect capability validation
	is performed using an internal virtual method MultiSelectOk ().

	* BaseDataList.cs: OnPagePreLoad is not part of the official API

	* BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
	ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
	property.

svn path=/trunk/mcs/; revision=160305
2010-07-13 17:45:17 +00:00
Marek Habersack 3e86dae309 2010-07-13 Marek Habersack <[email protected]>
* Control.cs: moved 4.0 ClientID code to a separate method, so
	that the ID_SET flag isn't set when necessary.

2010-07-13  Marek Habersack  <[email protected]>

	* Wizard.cs: wizard table doesn't contain any instances of
	HtmlAnchor or Image controls. Moved rendering of the skip link
	anchor to the TableCellNamingContainer class, which does that in
	RenderChildren by directly writing to the passed writer. Fixes 4.0
	rendering and all the failing Wizard tests.

svn path=/trunk/mcs/; revision=160304
2010-07-13 16:34:23 +00:00
Marek Safar d2cf197fe9 Clean up 2 warnings
svn path=/trunk/mcs/; revision=160247
2010-07-12 14:22:44 +00:00
Marek Habersack 3bb5c24183 2010-07-08 Marek Habersack <[email protected]>
* CheckBoxList.cs: RepeatLayout property update for new values of
	the RepeatLayout enum in 4.0

svn path=/trunk/mcs/; revision=160056
2010-07-08 13:10:35 +00:00
Marek Habersack 0d5fccd5a9 2010-07-08 Marek Habersack <[email protected]>
* TreeView.cs: in 4.0, checkbox renders the value of the current
	node's ToolTip, if anything, and not Text.

svn path=/trunk/mcs/; revision=160055
2010-07-08 13:10:25 +00:00
Marek Habersack d10fed112a 2010-07-08 Marek Habersack <[email protected]>
* RepeatLayout.cs: added two new members, UnorderedList and
	OrderedList (4.0)

svn path=/trunk/mcs/; revision=160054
2010-07-08 13:10:16 +00:00