Commit Graph
1352 Commits
Author SHA1 Message Date
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
Marek Habersack 883b592eb0 2009-02-06 Marek Habersack <[email protected]>
* Style.cs: if CssClass is null, return String.Empty. Fixes bug
	#473303
	Added a range check to the BorderStyle property.

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

	* StyleTest.cs: added tests for CssClass and BorderStyle.
	Renamed the Style_CssClass method to Style_RegisteredCssClass.

svn path=/trunk/mcs/; revision=126051
2009-02-06 15:06:18 +00:00
Marek Habersack f3e28b8c5d Merge branch 'bug468359'
* bug468359:
  2009-02-05  Marek Habersack  <[email protected]>

Conflicts:

	class/System.Web/ChangeLog
	class/System.Web/Makefile

svn path=/trunk/mcs/; revision=125885
2009-02-05 17:01:27 +00:00
Marek Habersack 2279cf0cf8 2009-01-20 Marek Habersack <[email protected]>
* Substitution.cs: added. Fixes bug #467460

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

	* System.Web.dll.sources: added System.Web.UI.WebControls/Substitution.cs

svn path=/trunk/mcs/; revision=123865
2009-01-20 10:04:10 +00:00
Marek Habersack 3fcbf0735a 2009-01-13 Marek Habersack <[email protected]>
* CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
	related to ControlBuilder cleanup.

	* ControlBuilder.cs: code cleanup - no field should be visible
	outside the class unless it's a constant or a read-only field.

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

	* XmlBuilder.cs: updates related to ControlBuilder cleanup.

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

	* TemplateControlCompiler.cs, AspGenerator.cs, BaseCompiler.cs,
	GlobalAsaxCompiler.cs, PageThemeCompiler.cs: updates related to
	ControlBuilder cleanup.


svn path=/trunk/mcs/; revision=123229
2009-01-13 18:38:18 +00:00
Marek Habersack b830b7548b 2008-12-01 Marek Habersack <[email protected]>
* Style.cs: WriteStyleAttributes must not use the fontinfo field
	directly, it has to be done via the Font property. Fixes bug
	#449793

svn path=/trunk/mcs/; revision=120345
2008-12-01 12:34:45 +00:00
Marek Habersack cd9089259b 2008-11-15 Marek Habersack <[email protected]>
* ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
	ChangePassword.cs, DetailsViewPagerRow.cs: implements
	INonBindingContainer interface.

	* Wizard.cs: implement INonBindingContainer interface for several
	private/internal classes.

2008-11-15  Marek Habersack  <[email protected]>

	* INonBindingContainer.cs: added

	* Control.cs: BindingContainer now checks if a control implements
	INonBindingContainer interface in addition to the
	BINDING_CONTAINER mask check.

	* UserControl.cs: implements INonBindingContainer

	* ControlBuilder.cs: use the new INonBindingContainer interface to
	determine the binding container type in the BindingContainerType
	property. If TemplateBuilder's ContainerType implements that
	interface, the NamingContainer is queried for the binding
	container type. If ContainerType is null, we return our own
	ControlType (if we're TemplateBuilder)

2008-11-15  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added System.Web.UI/INonBindingContainer.cs

svn path=/trunk/mcs/; revision=118917
2008-11-15 03:40:24 +00:00
Gonzalo Paniagua Javier 001f95bdae 2008-10-24 Gonzalo Paniagua Javier <[email protected]>
* ImageButton.cs: clicking an image causes a postback.
	Bug #439004 fixed.


svn path=/trunk/mcs/; revision=117065
2008-10-25 17:59:28 +00:00
Marek Habersack b7b08220e8 2008-10-24 Marek Habersack <[email protected]>
* CheckBox.cs: register for event validation in Render ().

svn path=/trunk/mcs/; revision=116986
2008-10-24 20:06:54 +00:00
Marek Habersack 726b2ef986 2008-10-21 Marek Habersack <[email protected]>
* XmlDataSource.cs: DataFile may be an URL.

svn path=/trunk/mcs/; revision=116667
2008-10-21 20:11:08 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Gert Driesen 5e14587425 Set eol-style to native.
svn path=/trunk/mcs/; revision=116361
2008-10-18 13:08:01 +00:00
Marek Habersack f3bc4a2f46 Use UNIX line endings consistently
svn path=/trunk/mcs/; revision=116241
2008-10-17 15:26:06 +00:00
Marek Habersack 81c4068d12 2008-10-17 Marek Habersack <[email protected]>
* ImageMap.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in Render ().

	* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().

	* TextBox.cs: validate the event in LoadPostData ().
	Register for event validation in AddAttributesToRender ().

	* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
	Register for event validation in Render ().

	* RadioButton.cs: validate the event in LoadPostData ().
	Register for event validation in InternalAddAttributesToRender.

	* CheckBox.cs, RadioButtonList.cs: validate the event in
	RaisePostDataChangedEvent.

	* Menu.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in GetClientEvent ().

	* DetailsView.cs, GridView.cs: validate the event in
	RaisePostBackEvent ().
	Register for validation in GetCallbackScript () and in OnPreRender

	* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
	ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* Control.cs: added the ValidateEvent internal method, used by
	classes descending from Control to automatically trigger event
	validation.

	* Page.cs: removed the CheckForValidationSupport method. It moved
	to Control.cs
	RaisePostBackEvent no longer validates the events, this
	functionality has been moved to Control.ValidateEvent.

2008-10-17  Marek Habersack  <[email protected]>

	* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.

	* HtmlInputButton.cs: validate the event in
	RaisePostBackEventInternal ().
	Register for event validation in RenderAttributes ()

	* HtmlTextArea.cs: validate the event in
	RaisePostBackDataChangedEvent ().

	* HtmlButton.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ()

	* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ().

	* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
	LoadPostData.

	* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
	HtmlInputPassword.cs: validate the event in
	RaisePostDataChangedEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* MenuAdapterTest.cs: work around event validation failure in the
	test environment.

2008-10-17  Marek Habersack  <[email protected]>

	* PageTest.cs: use a custom version of HtmlInputHidden control to
	work around the new event validation code which doesn't work in
	this instance.

svn path=/trunk/mcs/; revision=116231
2008-10-17 14:56:19 +00:00
Marek Habersack 071470bef4 2008-10-14 Marek Habersack <[email protected]>
* Control.cs: SaveViewStateRecursive must return view state even
	if EnableViewState is false. This is apparently what .NET does, as
	some commercial ASP.NET controls take advantage of that via
	reflection.

2008-10-14  Marek Habersack  <[email protected]>

	* CompositeDataBoundControl.cs: renamed the itemcount ViewState
	item from "_ItemCount" to "_!ItemCount" for .NET
	compatibility. This item is accessed and used by some commercial
	ASP.NET controls.

	* DataBoundControl.cs: OnPagePreLoad must force databinding also
	when the request is not a postback.

svn path=/trunk/mcs/; revision=115766
2008-10-14 11:36:32 +00:00
Marek Habersack 8c1cedc902 2008-10-13 Marek Habersack <[email protected]>
* Table.cs, TableRowCollection.cs, TableRow.cs: render table
	sections when necessary. Fixes bug #434555

svn path=/trunk/mcs/; revision=115649
2008-10-13 11:23:32 +00:00
Atsushi Eno 9b7ec8f918 I forgot ChangeLog entry one month ago.
svn path=/trunk/mcs/; revision=115237
2008-10-08 16:11:16 +00:00
Marek Habersack 7bbd8d5027 2008-10-08 Marek Habersack <[email protected]>
* ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
	evaluation now. This makes it support complex expressions.

2008-10-08  Marek Habersack  <[email protected]>

	* DataBinder.cs: in Eval expression needs to be trimmed before
	checking whether it's an empty string.
	GetIndexedPropertyValue must explicitly look for the "Item"
	property, the lack of the DefaultMember attribute on type must not
	throw exceptions.

2008-10-08  Marek Habersack  <[email protected]>

	* ControlParameterTest.cs: added a test for ControlParameter
	evaluating a complex property expression.

svn path=/trunk/mcs/; revision=115193
2008-10-08 10:31:17 +00:00
Sebastien Pouliot 48b518fdd7 2008-09-30 Sebastien Pouliot <[email protected]>
* RoleGroupCollection.cs: Fix recursive calls (wrong target)
	[Found using Gendarme's BadRecursiveInvocationRule]


svn path=/trunk/mcs/; revision=114474
2008-09-30 12:55:24 +00:00
Sebastien Pouliot 0481b077d0 2008-09-28 Sebastien Pouliot <[email protected]>
* XmlDataSource.cs: Make sure the result of the multiplication is a
	long (not an integer casted into a long since it could overflow).
	[Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]


svn path=/trunk/mcs/; revision=114339
2008-09-28 17:47:34 +00:00
Juraj Skripsky 4cca7109cf 2008-09-17 Juraj Skripsky <[email protected]>
* RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.


svn path=/trunk/mcs/; revision=113310
2008-09-17 13:48:19 +00:00
Atsushi Eno 21a3ea47a6 2008-09-13 Atsushi Enomoto <[email protected]>
* System.Web.dll.sources: added System.Web.UI/IAutoFieldGenerator.cs
	  and System.Web.UI.WebControls/IPersistedSelector.cs.

	* IPersistedSelector.cs : new in 3.5 SP1.

	* IAutoFieldGenerator.cs : new in 3.5 SP1.


svn path=/trunk/mcs/; revision=112940
2008-09-13 19:01:32 +00:00
Atsushi Eno 564ade59ac 2008-09-13 Atsushi Enomoto <[email protected]>
* System.Web.dll.sources: added
	  System.Web.UI.WebControls/DataBoundControlMode.cs.

	* DataBoundControlMode.cs : new 3.5 SP1 type.


svn path=/trunk/mcs/; revision=112932
2008-09-13 12:55:21 +00:00
Marek Safar f3f05c2055 Warnings cleanup
svn path=/trunk/mcs/; revision=111904
2008-08-29 09:48:05 +00:00
Marek Habersack 38884c1825 2008-08-25 Marek Habersack <[email protected]>
* DataBoundControl.cs:
	Do not reconnect to the data source if we already have a valid one

svn path=/trunk/mcs/; revision=111572
2008-08-25 20:39:29 +00:00
Marek Habersack 902c0d2af3 2008-08-25 Marek Habersack <[email protected]>
* DataBoundControl.cs: set RequiresDataBinding to true in
	Initialize only if not in a postback, if not data bound and if the
	view state is enabled. Fixes bug #398318
	UpdateViewData removes the OnDataSourceViewChanged handler before
	connecting to the datasource and restores it before returning to
	the caller.
	OnLoad gets the data source before initialization, to avoid
	premature OnDataSourceViewChanged triggers. Fixes bug #398318

svn path=/trunk/mcs/; revision=111526
2008-08-25 10:48:28 +00:00
Marek Habersack 4cbafb5cd2 2008-08-18 Marek Habersack <[email protected]>
* Unit.cs: rewrote the unit parser in a slightly slower, but more
	correct, way. Fixes bug #417502

svn path=/trunk/mcs/; revision=110734
2008-08-18 14:27:46 +00:00
Marek Habersack 342a629ca2 2008-07-28 Marek Habersack <[email protected]>
* TreeView.cs: when TreeView is displaying a site map and there is
	no node selected by the user, select the node corresponding to the
	current page, if any.

svn path=/trunk/mcs/; revision=109040
2008-07-28 16:08:02 +00:00
Marek Habersack c929cbbde8 2008-07-24 Marek Habersack <[email protected]>
* DataGrid.cs: removed the private class TableID and moved its
	code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
	with the owner parameter now. Fixes bug #400377

	* ChildTable.cs: refactoring - moved code from TableID previously
	defined in DataGrid.cs to here and made the class available under
	different names for both 1.x and 2.x profiles. Fixes bug #400377

svn path=/trunk/mcs/; revision=108638
2008-07-24 09:55:45 +00:00
Marek Habersack 1171eee515 2008-07-24 Marek Habersack <[email protected]>
* MailDefinition.cs: look for the mail body file in the correct
	path. Patch from Jackson Harper <[email protected]>,
	thanks! Fixes bug #408699

	* PasswordRecovery.cs: do not ask password recovery question if
	it's disabled. Patch from Jackson Harper <[email protected]>,
	thanks! Fixes bug #408696

svn path=/trunk/mcs/; revision=108636
2008-07-24 09:20:29 +00:00
Marek Habersack 1ba8e9ec4b 2008-07-16 Marek Habersack <[email protected]>
* XmlDataSource.cs: check if Page isn't null before stringifying
	it in GetDataKey (), fixes bug #409492

svn path=/trunk/mcs/; revision=108027
2008-07-16 13:57:38 +00:00
Roei Erez cd84894a4b When the RowDataBound event is invoked, the value of GridView1.DataKeys should contains all the keys up untill the current row, and not be empty
svn path=/trunk/mcs/; revision=107820
2008-07-13 11:55:35 +00:00
Roei Erez 5ea42ecc8a In case of multiple tree nodes bindings with the same key, select the first one and not the last one.
svn path=/trunk/mcs/; revision=107814
2008-07-13 09:30:15 +00:00
Roei Erez c28dd9039f Change behavior of HyperLinkField bound field key should be case insensitive.
svn path=/trunk/mcs/; revision=107637
2008-07-10 13:14:58 +00:00
Marek Habersack 4d3ef6c1ee 2008-07-03 Marek Habersack <[email protected]>
* CheckBox.cs: do not render the language="javascript" attribute
	in the 2.0 profile.

svn path=/trunk/mcs/; revision=107120
2008-07-02 23:28:50 +00:00
Marek Habersack a5ecccea52 2008-07-02 Marek Habersack <[email protected]>
* GridView.cs: minor optimizations (removed a foreach loop,
	replaced calls to Array.Length with a variable containing the
	length).

svn path=/trunk/mcs/; revision=107043
2008-07-02 08:06:42 +00:00
Marek Habersack 4944213e17 2008-06-30 Marek Habersack <[email protected]>
* AspGenerator.cs: hush the warnings and fix invalid type
	comparison.

	* AssemblyBuilder.cs: hush the warnings and add some debugging
	CWLs.

	* AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs,
	CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs,
	SimpleBuildProvider.cs, BuildManager.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* HtmlForm.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs, Menu.cs, DataList.cs,
	CustomValidator.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* MachineKeyRegistryStorage.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteMembershipProvider.cs, SqliteRoleProvider.cs: remove
	unused method

	* SqlRoleProvider.cs, AspNetDBSchemaChecker.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* UserControlParser.cs: hush the warnings and remove unnecessary
	code.

	* ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
	TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
	ApplicationFileParser.cs: hush the warnings

	* Page.cs: Context is protected internal in .NET 3.5
	Initialize encryption IVs before returning the transform.

	* Control.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* HttpRuntime.cs, HttpApplication.cs: hush the warnings

	* HttpContext.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteProfileProvider.cs: remove unused method

2008-06-30  Marek Habersack  <[email protected]>

	* CompilationSection.cs: hush the warnings



svn path=/trunk/mcs/; revision=106886
2008-06-30 13:20:58 +00:00
Noam Lampert 927b3b524e * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
svn path=/trunk/mcs/; revision=105463
2008-06-10 16:17:28 +00:00
Marek Habersack 0907975508 2008-05-30 Marek Habersack <[email protected]>
* BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
	DataControlFieldCollection.cs, DataControlField.cs,
	PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
	event accessors (to avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* AnonymousIdentificationModule.cs, FormsAuthenticationModule.cs,
	DefaultAuthenticationModule.cs, MembershipProvider.cs,
	WindowsAuthenticationModule.cs, PassportAuthenticationModule.cs,
	RoleManagerModule.cs: do not use synthetized event accessors (to
	avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
	TraceContext.cs: do not use synthetized event accessors (to avoid
	locks).

2008-05-30  Marek Habersack  <[email protected]>

	* SessionStateModule.cs: do not use synthetized event accessors
	(to avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* ProfileModule.cs: do not use synthetized event accessors (to
	avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* SessionStateModule.cs: do not use synthetized event accessors
	(to avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
	use synthetized event accessors (to avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* ClientBuildManager.cs: do not use synthetized event accessors
	(to avoid locks).

2008-05-30  Marek Habersack  <[email protected]>

	* CacheDependency.cs: do not use synthetized event accessors (to
	avoid locks).


svn path=/trunk/mcs/; revision=104569
2008-05-30 22:20:14 +00:00
Marek Habersack abb3087f1e 2008-05-18 Marek Habersack <[email protected]>
* HierarchicalDataBoundControl.cs: Modified GetData method to check if
	DataSource implements IHierarchicalEnumerable and if so constructs and
	returns a new instance of ReadOnlyDataSourceView. This provides functional
	compatibility with the Microsoft.NET framework. Fixes bug
	#395209. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-18  Marek Habersack  <[email protected]>

	* HierarchicalDataBoundControlTest.cs: Added 
	TestIHierarchicalEnumerableDataSource to test change made to
	GetData method to make functionally compatibile with Microsoft.NET
	framework. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-28  Marek Habersack  <[email protected]>

	* ReadOnlyDataSourceView.cs: added. Patch contributed by James
	Fitzsimons <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=104329
2008-05-28 21:07:04 +00:00
Marek Habersack 001579d033 2008-05-06 Marek Habersack <[email protected]>
* Calendar.cs: do not create dateInfo in the constructor - culture
	might be not set yet at this point. Fixes bug #323566
	Added a private property, DateInfo, which creates the dateInfo
	when requested.

2008-05-06  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: compatibility - added the
	__stringResource static field to the generated class and a call to
	SetStringResourcePointer to the FrameworkInitialize method.

	* PageCompiler.cs: __fileDependencies should also be defined in
	the 1.x profile.
	Page properties assigned in the page directive should be set
	inside BuildControlTree in the 2.0 profile.


svn path=/trunk/mcs/; revision=102573
2008-05-05 23:38:47 +00:00
Sebastien Pouliot 5df7ecd9bd 2008-05-05 Sebastien Pouliot <[email protected]>
* BulletedList.cs: Avoid calling ToString on a string.
	* ButtonField.cs: Throw, not just create, the exceptions. 
	* HyperLinkField.cs: Throw, not just create, the exceptions. 
	* ImageField.cs: Throw, not just create, the exception. Avoid calling
	ToString on a string.
	* ListControl.cs: Avoid calling ToString on a string.
	[All issues were found using Gendarme]


svn path=/trunk/mcs/; revision=102571
2008-05-05 22:51:12 +00:00
Marek Habersack 2b863d3c26 2008-04-30 Marek Habersack <[email protected]>
* SiteMapNode.cs: the implicitResourceKey parameter to one of the
	constructors sets the value of the ResourceKey property.
	GetImplicitResourceString uses the provider's ResourceKey as the
	global resource object key and the node's ResourceKey to construct
	the resource name. Fixes bug #323994
	ResourceKey setter throws an InvalidOperationException now, when
	the node is read-only.

2008-04-30  Marek Habersack  <[email protected]>

	* SiteMapDataSource.cs: when no starting node is found, return
	null instead of Provider.RootNode. Fixes bug #323994



svn path=/trunk/mcs/; revision=102197
2008-04-30 12:39:18 +00:00
Marek Habersack 579e1c75e5 Forgotten changelog
svn path=/trunk/mcs/; revision=101724
2008-04-24 18:27:44 +00:00