1495 Commits
Author SHA1 Message Date
Marek Habersack 9d5a298da2 2010-04-28 Marek Habersack <[email protected]>
* CheckBoxListTest.cs: added test for bug #600415

2010-04-28  Marek Habersack  <[email protected]>

	* CheckBoxList.cs: do not modify list item status in LoadPostData
	when the list control is disabled.
	If an item is selected and it was unchecked by the user, deselect
	it. Fixes bug #600415

svn path=/trunk/mcs/; revision=156312
2010-04-28 13:08:39 +00:00
Marek Habersack 3f3fd1c424 2010-04-13 Marek Habersack <[email protected]>
* GridView.cs: make sure Header and Footer visibility are set when
	binding the data. Fixes bug #595567

svn path=/trunk/mcs/; revision=155331
2010-04-13 21:31:23 +00:00
Marek Habersack 934829dadd 2010-04-13 Marek Habersack <[email protected]>
* ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
    	sender to be something else than DataControlFieldCell. Fixes bug
    	#595568

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

    	* CheckBoxFieldTest.cs: added test for bug #595568

svn path=/trunk/mcs/; revision=155270
2010-04-12 22:40:55 +00:00
Marek Habersack 25177910f5 2010-04-07 Marek Habersack <[email protected]>
* FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
	QueryStringParameter.cs, SessionParameter.cs: implemented
	constructor overloads which take DbType as one of the arguments.

svn path=/trunk/mcs/; revision=154894
2010-04-06 23:53:13 +00:00
Marek Habersack 05c45cf998 2010-04-01 Marek Habersack <[email protected]>
* FormView.cs: do not show the pager if PagerSettings.Visible is
	false. Fixes bug #578863

2010-04-01  Marek Habersack  <[email protected]>

	* FormViewTest.cs: added test for bug #578863

svn path=/trunk/mcs/; revision=154631
2010-04-01 11:20:09 +00:00
Marek Habersack 98fff2b311 2010-03-29 Marek Habersack <[email protected]>
* GridView.cs: main table must be created and added to the
	controls collection before any OnRowCreated event is fired.

svn path=/trunk/mcs/; revision=154386
2010-03-29 16:59:22 +00:00
Gonzalo Paniagua Javier 447907f4a3 2010-03-19 Gonzalo Paniagua Javier <[email protected]>
* TreeView.cs: use enums instead of strings for attributes.


svn path=/trunk/mcs/; revision=153917
2010-03-19 20:11:21 +00:00
Marek Habersack f74cf1f825 2010-03-06 Marek Habersack <[email protected]>
* XmlDataSource.cs: reload document when one of Data, DataFile,
	Transform or TransformFile properties is set. Fixes bug
	#585968. Fix based on patch from Jeffrey Alvarez
	<[email protected]>, thanks.

svn path=/trunk/mcs/; revision=153167
2010-03-06 01:52:15 +00:00
Marek Habersack e105f08673 2010-03-04 Marek Habersack <[email protected]>
* BuildManager.cs: do less work in the static constructor

2010-03-04  Marek Habersack  <[email protected]>

	* RuntimeHelpers.cs: added. Contains methods moved here from
	HttpRuntime, so that initialization sequence of various objects is
	independent of HttpRuntime.

2010-03-04  Marek Habersack  <[email protected]>

	* HttpRuntime.cs: do less work in the static constructor. Most of
	the code was moved to System.Web.Util.RuntimeHelpers. Properties
	which have been moved: MonoVersion, RunningOnWindows,
	CaseInsensitive, IsDebuggingEnabled

Also:
	- hushed some compiler warnings
	- various classes now use RuntimeHelpers instead of HttpRuntime

svn path=/trunk/mcs/; revision=153038
2010-03-04 19:04:13 +00:00
Marek Habersack e4848932af 2010-02-19 Marek Habersack <[email protected]>
* SqlDataSourceTest.cs: added test for bug #572781

2010-02-19  Marek Habersack  <[email protected]>

	* SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781

svn path=/trunk/mcs/; revision=152060
2010-02-19 11:17:06 +00:00
Marek Habersack d63508e6c0 2010-02-18 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug377703_1.aspx,
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug377703_2.aspx and
	Test/mainsoft/NunitWebResources/CheckBoxList_Bug578770.aspx

2010-02-18  Marek Habersack  <[email protected]>

	* CheckBoxListTest.cs: added tests for bugs #377703 and #578770

	* TreeViewTest.cs: added test for bug #580692

svn path=/trunk/mcs/; revision=152025
2010-02-18 21:48:35 +00:00
Marek Habersack 140576e9f4 2010-02-18 Marek Habersack <[email protected]>
* TreeViewTest.cs: added test for bug #580692

2010-02-18  Marek Habersack  <[email protected]>

	* TreeView.cs: RegisterStyle must copy CssClass in addition to
	other style properties. Fixes bug #580692

svn path=/trunk/mcs/; revision=151964
2010-02-18 10:50:31 +00:00
Marek Habersack 287b184544 2010-01-18 Marek Habersack <[email protected]>
* Parameter.cs: added missing 3.5 APIs - constructors taking
	DbType as one of the parameters, ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850

2010-01-18  Marek Habersack  <[email protected]>

	* ParameterTest.cs: added tests for ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and constructors taking DbType as one of
	the parameters.

svn path=/trunk/mcs/; revision=149778
2010-01-18 22:34:03 +00:00
Marek Habersack 079990272c 2010-01-15 Marek Habersack <[email protected]>
* ChangePassword.cs: BaseChangePasswordContainer forwards
	EnsureChildControls call to its owner, so that finding controls in
	the container works correctly.

2010-01-15  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ChangePasswordContainer_FindControl.aspx

2010-01-15  Marek Habersack  <[email protected]>

	* ChangePasswordTest.cs: added test for looking for controls in
	ChangePassword template containers.

svn path=/trunk/mcs/; revision=149631
2010-01-15 13:23:54 +00:00
Marek Habersack 49a2098186 2009-11-30 Marek Habersack <[email protected]>
* WebControl.cs: HasAttributes made available as internal for 1.1
	Avoid calling the Attributes getter many times in
	CopyBaseAttributes.
	If TrackViewState is called and attributes state bag already
	exists, mark all items in the latter as dirty.

	* CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
	create the Attributes collection if not necessary.

svn path=/trunk/mcs/; revision=147094
2009-11-30 12:35:20 +00:00
Marek Habersack b58f5b27ba 2009-11-16 Marek Habersack <[email protected]>
* TreeNodeTest.cs: added test for a situation when a
	node already contains children when the PopulateOnDemand property
	is set.

2009-11-16  Marek Habersack  <[email protected]>

	* TreeNodeCollection.cs: whenever a node is added, let the owner
	know about it.

	* TreeNode.cs: added internal property HadChildrenBeforePopulating
	which is used to let TreeView know about an error condition where
	a populate-on-demand node contains children added outside the
	OnTreeNodePopulate event

	* TreeView.cs: if a node has any child nodes and PopulatOnDemand
	is set, throw an exception from RenderNode. This is the behavior
	of .NET

svn path=/trunk/mcs/; revision=146275
2009-11-16 17:09:06 +00:00
Marek Habersack ac27c6d1c1 Added null check to Remove
svn path=/trunk/mcs/; revision=146131
2009-11-13 13:22:23 +00:00
Marek Habersack e384ddcd0d 2009-11-13 Marek Habersack <[email protected]>
* TableRowCollection.cs: added .NET compatibility NREX throws to
	several methods.
	Whenever a row is added/removed, its Container property is
	set. Fixes bug #551666

	* TableRow.cs: introduced an internal property, Container, which
	is set by TableRowCollection whenever this row is added/removed
	to/from the collection. This allows the row to notify the
	collectio and, in consequence, collection owner that TableSection
	has been set and thead/tbody/tfoot elements need to be
	generated. Fixes bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* GridViewTest.cs: added test for bug #551666

2009-11-13  Marek Habersack  <[email protected]>

	* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx
	Test/mainsoft/NunitWebResources/TableSections_Bug551666.aspx.cs

svn path=/trunk/mcs/; revision=146126
2009-11-13 12:56:34 +00:00
Marek Habersack a95e30047c 2009-11-10 Marek Habersack <[email protected]>
* PasswordRecovery.cs:
	{Question,Success,UserName}TemplateContainer must all be populated
	the first time the property is accessed, so that calling
	FindControl on the container returns valid and expected
	results. If the associated template is not defined, though,
	populating is postponed till CreateChildControls is called -
	that's where default, empty, template will be created. This is
	required to fix YetAnotherForum's password recovery control.
	Mail template used in SendPasswordByMail must match the one used
	in .NET (it has to end with a newline) as YAF parses the message
	to retrieve user name and password and breaks if the last line
	doesn't end with a newline character.

svn path=/trunk/mcs/; revision=145824
2009-11-10 10:41:41 +00:00
Marek Habersack 2201611f9e 2009-10-30 Marek Habersack <[email protected]>
* PasswordRecovery.cs: mail message replacements should include <%
	Password %> and <% UserName %> and matching should be
	case-insensitive. Fixes bug #545370

svn path=/trunk/mcs/; revision=145109
2009-10-30 15:58:33 +00:00
Marek Habersack 37db37e5bf 2009-10-28 Marek Habersack <[email protected]>
* ListControl.cs: OnDataBinding must call base implementation
	before performing the binding, so that DataSource can be assigned
	from within the handler.

svn path=/trunk/mcs/; revision=144947
2009-10-28 14:01:21 +00:00
Marek Safar 9ec885d03b 2009-10-13 Marek Safar <[email protected]>
* WebColorConverter.cs: Delegate ConvertFrom to
	ColorTranslator.FromHtml, it is correctly implemented and knows
	many more tricks.


svn path=/trunk/mcs/; revision=144016
2009-10-13 15:33:54 +00:00
Marek Habersack 8483da2ba2 2009-10-13 Marek Habersack <[email protected]>
* WebColorConverter.cs: don't use a dictionary to check for valid
	color names, use Color.IsKnownColor instead. Update for bug
	#546173 fix.
	Added more CSS2 color name mappings.

svn path=/trunk/mcs/; revision=143990
2009-10-12 22:51:21 +00:00
Marek Habersack 2d54bac1ed Fix the build
svn path=/trunk/mcs/; revision=143979
2009-10-12 21:10:38 +00:00
Marek Habersack 2db2f1cf20 2009-10-12 Marek Habersack <[email protected]>
* WebColorConverter.cs: when converting from color name, check if
	the returned color's name is a member of the
	System.Drawing.KnownColor enumeration to test for error condition,
	as some colors might be #000000. Preserve the old error check as a
	fallback only.
	Map "captiontext" and "background" color names to
	"ActiveCaptionText" and "Desktop", respectively, before passing
	them to Color.FromName (). Fixes bug #546173

svn path=/trunk/mcs/; revision=143972
2009-10-12 14:42:55 +00:00
Marek Habersack 5c59801fff Performance improvements:
- made sure invariant culture is used with String.ToLower, String.ToUpper and String.Compare
- replaced all calls to CultureInfo.InvariantCulture with a reference to a static field System.Web.Util.Helpers.InvariantCulture

svn path=/trunk/mcs/; revision=143587
2009-10-07 00:10:03 +00:00
Marek Habersack 609922272f 2009-10-02 Marek Habersack <[email protected]>
* DynamicValidator.cs: initial implementation

	* DynamicDataManager.cs: implemented OnLoad.
	Better implementation of RegisterControl

	* DynamicDataExtensions.cs: implemented FindDataSourceControl.

2009-10-02  Marek Habersack  <[email protected]>

	* DynamicValidatorTest.cs: added.

2009-10-02  Marek Habersack  <[email protected]>

	* GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
	and IPersistedSelector.DataKey.

	* BaseDataBoundControl.cs: slight optimizations to FindDataSource

svn path=/trunk/mcs/; revision=143278
2009-10-02 11:35:41 +00:00
Marek Habersack fef40778a9 2009-09-28 Marek Habersack <[email protected]>
* DataBoundControl.cs: Initialize sets RequiresDataBinding
	properly, only when we're not data-bound already, when we aren't
	in postback or when we are in postback, but with viewstate
	enabled. Fixes bug #542076

svn path=/trunk/mcs/; revision=142798
2009-09-28 21:41:52 +00:00
Marek Habersack 33b856ff2b 2009-09-01 Marek Habersack <[email protected]>
* ListView.cs: LoadControlState must call OnTotalRowCountAvailable
	after restoring the state, so that all parties subscribed to that
	event are given chance to react accordingly.
	SetPageProperties should use values stored in
	PagePropertiesChangingEventArgs arguments after handler returns.

2009-09-01  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: ExecuteSelect must call
	QueryTotalRowCount after executing the select method (that's what
	.NET does)

svn path=/trunk/mcs/; revision=141062
2009-09-01 19:24:40 +00:00
Marek Habersack d83880bd08 2009-08-25 Marek Habersack <[email protected]>
* WebColorConverter.cs: inform the user that the might need to
	check if libgdiplus is installed when parsing a color name
	fails. Fixes bug #533749

svn path=/trunk/mcs/; revision=140593
2009-08-25 08:51:58 +00:00
Marek Habersack a22edf372b 2009-08-21 Marek Habersack <[email protected]>
* Menu.cs: separator image is rendered next to the item in
	horizontal layout and is preceeded by 3px spacer (unless
	itemSpacing is set) to make output match .NET. Fixes bug #474716

svn path=/trunk/mcs/; revision=140438
2009-08-21 20:55:44 +00:00
Marek Habersack f61b24b177 2009-08-21 Marek Habersack <[email protected]>
* TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
	type of the node, if node is a of a custom type. Fixes bug #475997

svn path=/trunk/mcs/; revision=140394
2009-08-21 00:41:34 +00:00
Gonzalo Paniagua Javier c2aad5b0ae 2009-06-29 Gonzalo Paniagua Javier <[email protected]>
* Parameter.cs: add new DbType property.


svn path=/trunk/mcs/; revision=137117
2009-06-29 22:10:45 +00:00
Marek Habersack 9743d97ec8 2009-06-16 Marek Habersack <[email protected]>
* RouteValueDictionaryExtensions.cs: do not compile if
	SYSTEMCORE_DEP is not defined

	* PatternParser.cs: if SYSTEMCORE_DEP is not defined, do not
	compile parts which require RouteValueDictionaryExtensions.

2009-06-16  Marek Habersack  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): define SYSTEMCORE_DEP

2009-06-16  Marek Habersack  <[email protected]>

	* DynamicDataManager.cs, DynamicDataExtensions.cs: use new
	DataBoundControl.DataSourceObject instead of
	InternalGetDataSource

2009-06-16  Marek Habersack  <[email protected]>

	* Makefile: warn if the 4.0 assembly is compiled without
	System.Core

svn path=/trunk/mcs/; revision=136222
2009-06-16 13:48:30 +00:00
Marek Habersack 2ad931f695 2009-06-16 Marek Habersack <[email protected]>
* HtmlHeadBuilder.cs: use faster String.Compare overloads.

	* HtmlHead.cs: implemented 4.0 properties Description and
	Keywords.

2009-06-16  Marek Habersack  <[email protected]>

	* IPersistedSelector.cs: removed AspNetHostingPermission
	attributes from the 4.0 profile.

	* IDataBoundControl.cs, IDataBoundItemControl.cs,
	IDataBoundListControl.cs, IFieldControl.cs: added

	* DetailsView.cs: control implements 4.0 IDataBoundItemControl
	interface.

	* DataBoundControl.cs: implemented 4.0 property DataSourceObject
	and made the InternalPerformDataBinding method internal for the
	4.0 profile.

2009-06-16  Marek Habersack  <[email protected]>

	* net_4_0_System.Web.dll.sources:
	Added
	System.Web.UI.WebControls/IDataBoundControl.cs,
	System.Web.UI.WebControls/IDataBoundItemControl.cs,
	System.Web.UI.WebControls/IDataBoundListControl.cs,,
	System.Web.UI.WebControls/IFieldControl.cs

svn path=/trunk/mcs/; revision=136192
2009-06-16 01:46:33 +00:00
Gonzalo Paniagua Javier c95c37c8ca 2009-06-11 Gonzalo Paniagua Javier <[email protected]>
* ContentControlBuilderInternal.cs: detect missing
	ContentPlaceHolderID attribute when parsing instead of throwing a
	nullref later on.


svn path=/trunk/mcs/; revision=135960
2009-06-11 22:17:24 +00:00
Marek Habersack 540708a71f 2009-05-29 Marek Habersack <[email protected]>
* ListItem.cs: when tracking view state is turned on after
	attributes have been set, make sure that the associated state bag
	begins tracking state and that all of its existing items are
	marked as dirty. Do the same after loading view state. Fixes bug
	#507836

2009-05-29  Marek Habersack  <[email protected]>

	* StateBag.cs: made SetDirty (bool) available on 1.1 as
	internal. Fixes bug #507836

svn path=/trunk/mcs/; revision=135057
2009-05-29 10:25:35 +00:00
Marek Habersack 9a0870f6a1 Hush compilation warnings
svn path=/trunk/mcs/; revision=135050
2009-05-29 07:48:14 +00:00
Marek Habersack 30140fbbfd 2009-04-29 Marek Habersack <[email protected]>
* MetaTable.cs: implemented the DataContextType,
    	DataContextPropertyName properties and the ToString method.

    	* MetaColumn.cs: implemented the Scaffold, DisplayName,
    	SortExpression, UIHint properties and the ToString method.

    	* DynamicField.cs: implemented

    	* DynamicDataManager.cs: partially implemented RegisterControl.
    	Added internal AutoFieldGenerator class, used by RegisterControl
    	when dealing with GridView.
    	Implemented some properties.

    	* DynamicDataExtensions.cs: implemented GetTable and FindMetaTable

    	* DynamicControl.cs: implemented parts of the class.

    2009-04-29  Marek Habersack  <[email protected]>

    	* DataBoundControl.cs: added InternalGetDataSource method, used by
    	DynamicData

    2009-04-29  Marek Habersack  <[email protected]>

    	* AssemblyInfo.cs: added InternalsVisibleTo for
    	System.Web.DynamicData

    2009-04-29  Marek Habersack  <[email protected]>

    	* Test/System.Web.DynamicData.ModelProviders/TableProviderTest.cs:
    	added

    	* System.Web.DynamicData_test.dll.sources: added
    	System.Web.DynamicData/DynamicDataManagerTest.cs,
    	System.Web.DynamicData/DynamicDataExtensionsTest.cs,
    	System.Web.DynamicData.ModelProviders/TableProviderTest.cs

    	* System.Web.DynamicData.dll.sources: added
    	System.Web.DynamicData.ModelProviders/DLinqAssociationProvider.cs
    	System.Web.DynamicData.ModelProviders/DLinqColumnProvider.cs
    	System.Web.DynamicData.ModelProviders/DLinqDataModelProvider.cs
    	System.Web.DynamicData.ModelProviders/DLinqTableProvider.cs and
    	removed
    	System.Web.DynamicData.ModelProviders/DLinqDataModelProviders.cs

    2009-04-29  Marek Habersack  <[email protected]>

    	* TableProvider.cs: implemented

    	* DLinqDataModelProvider.cs: renamed from
    	DLinqDataModelProviders.cs and moved some classes to separate
    	files.

    	* DLinqTableProvider.cs: moved to here from
    	DLinqDataModelProvider.cs

    	* DLinqColumnProvider.cs: moved to here from
    	DLinqDataModelProvider.cs

    	* DLinqAssociationProvider.cs: added

    2009-04-29  Marek Habersack  <[email protected]>

    	* DataBinder.cs: GetPropertyValue must throw also if propName is
    	empty.

    2009-04-23  Marek Habersack  <[email protected]>

    	* ContextConfiguration.cs: implemented all the methods and added a
    	parameterless constructor.

    2009-04-23  Marek Habersack  <[email protected]>

    	* System.Web.DynamicData_test.dll.sources: added
    	System.Web.DynamicData/ContextConfigurationTest.cs

    	* Makefile: tests need to be linked with
    	System.ComponentModel.DataAnnotations.dll

    2009-04-23  Marek Habersack  <[email protected]>

    	* AssociatedMetadataTypeTypeDescriptor.cs: added - doesn't add any
    	real functionality yet.

    	* AssociatedMetadataTypeTypeDescriptionProvider.cs: implemented
    	all the methods.

    2009-04-23  Marek Habersack  <[email protected]>

    	* System.ComponentModel.DataAnnotations_test.dll.sources: added

    	* System.ComponentModel.DataAnnotations.dll.sources: added
    	System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs

    	* Makefile: enabled tests

    2009-04-23  Marek Habersack  <[email protected]>

    	* ContextConfigurationTest.cs: added

svn path=/trunk/mcs/; revision=133003
2009-04-29 13:17:39 +00:00
Marek Habersack db1c3a970d 2009-04-28 Marek Habersack <[email protected]>
* GridView.cs: implemented ColumnsGenerator and enabled its use in
	CreateColumns.

	* DetailsView.cs: implemented the RowsGenerator property and
	enabled its use in CreateFieldSet.

svn path=/trunk/mcs/; revision=132833
2009-04-28 12:14:16 +00:00
Marek Habersack 8791646ca9 Code formatting
svn path=/trunk/mcs/; revision=131201
2009-04-07 08:44:21 +00:00
Marek Habersack a8ecbec688 2009-04-07 Marek Habersack <[email protected]>
* TreeView.js: removed nodeText parameter from the JS calls.

	* TreeView.cs: encode | characters into U+007C, so that
	RaiseCallbackEvent doesn't get confused.
	Removed nodeText parameter from the JS calls.

svn path=/trunk/mcs/; revision=131196
2009-04-07 07:05:06 +00:00
Gonzalo Paniagua Javier 1b8ce0ac74 remove CWL
svn path=/trunk/mcs/; revision=131187
2009-04-07 03:38:57 +00:00
Gonzalo Paniagua Javier de03d6a600 2009-04-06 Gonzalo Paniagua Javier <[email protected]>
* TreeNode.cs: reset the path data for all child nodes too.
	* TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
	node tree, set the correct index for the nodes so that the Path is
	correct.


svn path=/trunk/mcs/; revision=131186
2009-04-07 03:38:00 +00:00
Marek Habersack 6026f7a60a 2009-04-06 Marek Habersack <[email protected]>
* HttpRuntime.cs: added a new internal static property
	IsDebuggingEnabled

	* HttpContext.cs: IsDebuggingEnabled now calls
	HttpRuntime.IsDebuggingEnabled

2009-04-06  Marek Habersack  <[email protected]>

	* Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
	now return full exception trace if one is caught and we're running
	in debugging mode.

2009-04-06  Marek Habersack  <[email protected]>

	* TreeView.js: TreeView_ToggleExpand now takes more parameters - a
	full definition of treeview's node contents.
	Added new function, TreeView_PopulateNode, which partially takes
	over role of the PopulateNode function generated in
	TreeView.OnPreRender (see below). Fixes bug #492307

	* TreeView.cs: RaiseCallbackEvent needs to recreate the event
	target's parental tree all the way from the root to the node and
	populate only the leaf (requested) node. This avoids calling the
	TreeNodePopulate handler more times than needed. Fixes bug #492307
	OnPreRender: moved the script code to constants and the script
	body is now generated using StringBuilder instead of a series of
	String.Format calls.
	GetClientExpandEvent: adjusted code for new TreeView JavaScript
	API.

svn path=/trunk/mcs/; revision=131137
2009-04-06 18:02:20 +00:00
Marek Habersack 58caa86044 2009-04-02 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: implemented missing converter for
	the ExpandDepth property. Fixes bug #490860

svn path=/trunk/mcs/; revision=130813
2009-04-01 22:31:58 +00:00
Marek Habersack 5a63ec5da9 2009-03-17 Marek Habersack <[email protected]>
* Unit.cs: introduced a field to tell the difference between empty
	(as in Unit.Empty) and 0px units.

2009-03-17  Marek Habersack  <[email protected]>

	* UnitTest.cs: added a test for equality with Unit.Empty

svn path=/trunk/mcs/; revision=129620
2009-03-17 19:01:30 +00:00
Marek Habersack eb697118c9 2009-03-06 Marek Habersack <[email protected]>
* WebControl.cs: if savedState is not an instance of Pair in
	LoadViewState, do not attempt to load from it.

svn path=/trunk/mcs/; revision=128793
2009-03-06 20:04:54 +00:00
Marek Habersack 4d4dfda2d6 2009-02-10 Marek Habersack <[email protected]>
* ImageButton.cs: AddAttributesToRender renders the onclick
	attribute only if any of the following is true:
	  - OnClientClick is not empty
	  - Validation is enabled for the control
	  - PostBackUrl is used
	PostBackOptions now indicate that control requires the javascript
	protocol for the handler.
	RaisePostBackEvent passes String.Empty as the argument.
	Fixes bug #463939

2009-02-10  Marek Habersack  <[email protected]>

	* ImageButtonTest.cs: added test for bug #46393

svn path=/trunk/mcs/; revision=126482
2009-02-10 18:12:15 +00:00
Marek Habersack cb88a46267 2009-02-09 Marek Habersack <[email protected]>
* ObjectDataSourceViewTest.cs: added test for bug #471767

2009-02-09  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: ExecuteSelect returns a single-item
	array of objects containing the result, if the result isn't one of
	DataSet, DataTable or IEnumerable. Fixes bug #471767

svn path=/trunk/mcs/; revision=126371
2009-02-09 21:08:40 +00:00