Commit Graph
1181 Commits
Author SHA1 Message Date
Igor Zelmanovich 676b57792a 2007-05-07 Igor Zelmanovich <[email protected]>
* MenuItem.cs: fixed: 
	when 'Value' property is not set, value of 'Text' property is used 
	instead and vice versa.

	* MenuTest.cs:
	new tests were added.	

svn path=/trunk/mcs/; revision=76809
2007-05-07 08:49:07 +00:00
Igor Zelmanovich aa20dc91b4 2007-05-06 Igor Zelmanovich <[email protected]>
* TreeNode.cs: fixed: 
	when 'Value' property is not set, value of 'Text' property is used 
	instead and vice versa.

	* TreeNodeTest.cs:
	* TreeViewTest.cs:
	new tests were added.	


svn path=/trunk/mcs/; revision=76782
2007-05-06 13:55:51 +00:00
Marek Habersack 279d12b449 Another in the series of compatibility fixes discovered thanks to the QuickStarts... :)
2007-05-04  Marek Habersack  <[email protected]>

	* HtmlAnchor.cs: use ResolveClientUrl when generating
	attributes. Necessary if the control is in a master page which is
	in a different directory than the current page.

2007-05-04  Marek Habersack  <[email protected]>

	* AdRotator.cs: use the new GetPhysicalFilePath method to look up
	the physical path of the ad file.

2007-05-04  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: do not query the parent for
	TemplateSourceDirectory if we are generating code for a Master
	Page.

2007-05-04  Marek Habersack  <[email protected]>

	* Control.cs: added an internal method to resolve a physical path
	to a file from its virtual path considering the possibility that a
	control is placed in a master page, which in turn is referenced
	from a directory another than that of master page itself.


svn path=/trunk/mcs/; revision=76665
2007-05-04 10:58:11 +00:00
Marek Habersack af58980fef 2007-05-03 Marek Habersack <[email protected]>
* TreeView.cs: honor ChildNodesPadding of the NodeStyle.

svn path=/trunk/mcs/; revision=76631
2007-05-03 17:37:16 +00:00
Igor Zelmanovich 450ce08119 2007-05-03 Igor Zelmanovich <[email protected]>
* BrowserCapabilities.cs:
	added missing API.	

2007-05-03 Igor Zelmanovich <[email protected]>

	* AggregateCacheDependency.cs:
	* CacheDependency.cs:	
	added missing API.	

2007-05-03 Igor Zelmanovich <[email protected]>

	* AttributeCollection.cs:
	* DataBindingHandlerAttribute.cs:
	* HtmlTextWriter.cs:
	* PartialCachingControl.cs:
	* TemplateControl.cs:
	* TemplateControl.jvm.cs:
	* XPathBinder.cs:						
	added missing API.	

2007-05-03 Igor Zelmanovich <[email protected]>

	* ControlPropertyNameConverter.css:
	* FontUnitConverter.cs:
	* UnitConverter.cs:
	* ValidatedControlConverter.cs:			
	added missing API.	


svn path=/trunk/mcs/; revision=76622
2007-05-03 14:29:09 +00:00
Marek Habersack 232398159d 2007-05-03 Marek Habersack <[email protected]>
* TreeNode.cs: correct version of the fix in r76488. Nodes
	retrieved from a navigation data source which have empty URL will
	not be selectable.

svn path=/trunk/mcs/; revision=76604
2007-05-03 10:39:43 +00:00
Marek Habersack b573b5e1ed 2007-05-03 Marek Habersack <[email protected]>
* TreeViewTest.cs: revert r76541.

2007-05-03  Marek Habersack  <[email protected]>

	* TreeView.cs: revert r76488, it wasn't entirely correct. I need
	to investigate the special cases it solved a bit more.

svn path=/trunk/mcs/; revision=76597
2007-05-03 09:32:27 +00:00
Igor Zelmanovich 107e1f2983 2007-05-02 Igor Zelmanovich <[email protected]>
* SqlDataSourceView.cs:
	make CancelSelectOnNullParameter property works.


svn path=/trunk/mcs/; revision=76559
2007-05-02 09:46:07 +00:00
Marek Habersack 8f217b10af 2007-05-01 Marek Habersack <[email protected]>
* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
	internal method.

2007-05-01  Marek Habersack  <[email protected]>

	* HtmlForm.cs: do not use User-Agent directly, we must take
	ClientTarget into account.

2007-05-01  Marek Habersack  <[email protected]>

	* BaseValidator.cs: do not use User-Agent directly, we must take
	ClientTarget into account.

2007-05-01  Marek Habersack  <[email protected]>

	* PageParser.cs: clientTarget comparisons must be case-insensitive


svn path=/trunk/mcs/; revision=76522
2007-05-01 11:01:22 +00:00
Marek Habersack 4dc04ab9b3 2007-04-30 Marek Habersack <[email protected]>
* TreeView.cs: bring rendering closer to the MS.NET rendering.

svn path=/trunk/mcs/; revision=76488
2007-04-30 12:26:35 +00:00
Marek Habersack d105ea0838 2007-04-30 Marek Habersack <[email protected]>
* ConnectionStringsExpressionBuilder.cs: support expressions with
	suffixes .ProviderName and .ConnectionString (case-insensitie) and
	generate a call to GetConnectionStringProviderName in the former
	case. Fixes bug #81490

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

	* SqlDataSource.cs: do not catch the exception if ProviderName is
	not null or empty (as per docs and what MS.NET does).

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

	* DbProviderFactories.cs: throw the same exception MS.NET does.

svn path=/trunk/mcs/; revision=76486
2007-04-30 11:02:24 +00:00
Igor Zelmanovich 7808e05919 2007-04-19 Igor Zelmanovich <[email protected]>
* SqlMembershipProvider.cs:
	ChangePassword throws exception if new password has invalid format.	

2007-04-19 Igor Zelmanovich <[email protected]>

	* ChangePassword.cs:
	does not accept invalid new password.	


svn path=/trunk/mcs/; revision=75955
2007-04-19 15:05:39 +00:00
Igor Zelmanovich cbfbe9d5c3 2007-04-18 Igor Zelmanovich <[email protected]>
* Xml.cs:
	* XmlDataSource.cs:
	added MonoLimitation attributes		

svn path=/trunk/mcs/; revision=75884
2007-04-18 14:51:20 +00:00
Igor Zelmanovich 10c75fd1ec 2007-04-18 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: for TARGET_J2EE: 
	used Page.Request.Browser to determine RenderUplevel

2007-04-18  Igor Zelmanovich  <[email protected]>

	* HtmlForm.cs: for TARGET_J2EE: 
	used Page.Request.Browser to determine RenderUplevel


svn path=/trunk/mcs/; revision=75870
2007-04-18 11:58:21 +00:00
Igor Zelmanovich 51ce33d915 2007-04-12 Igor Zelmanovich <[email protected]>
* GridView.cs:
	when databound with AutoGenerateColumns = true, 
	data source enumerator created only once.	


svn path=/trunk/mcs/; revision=75865
2007-04-18 10:26:36 +00:00
Marek Habersack 8440705fe9 2007-04-18 Marek Habersack <[email protected]>
* SiteMapDataSource.cs: query the site map for the current node
	when configured to use it as the start point. Fixes bug #81376,
	patch from Mike Morano <[email protected]>.


svn path=/trunk/mcs/; revision=75864
2007-04-18 10:16:21 +00:00
Marek Habersack a7ac151aa1 2007-04-18 Marek Habersack <[email protected]>
* Calendar.cs: change year/month format to be culture aware. Fix
	for bug #81390. Patch submitted by Atsushi Enomoto
	<[email protected]>

svn path=/trunk/mcs/; revision=75861
2007-04-18 07:47:34 +00:00
Daniel Nauck e85d932b72 2007-04-17 Daniel Nauck <[email protected]>
* PasswordRecovery.cs: fixed typo (AnswerLabel.Text).


svn path=/trunk/mcs/; revision=75834
2007-04-17 16:45:37 +00:00
Marek Habersack b08d3647e6 2007-04-17 Marek Habersack <[email protected]>
* culevel/culevel.exe.sources: added

	* culevel/Makefile (thisdir): added

	* culevel/CompileUplevel.cs: added

	* Makefile (thisdir): added the culevel subdirectory to the list.

2007-04-17  Marek Habersack  <[email protected]>

	* Makefile (thisdir): added tools/culevel to the list of
	subdirectories - it must be compiled before compiling the classes
	since System.Web depends on it.

2007-04-17  Marek Habersack  <[email protected]>

	* Makefile (System.Web/UplevelHelper.cs): autogenerate the file if
	it doesn't exist.

	* System.Web.dll.sources: added the System.Web/UplevelHelper.cs
	file. It is autogenerated by the culevel compiler.

	* UplevelHelperDefinitions.xml: added default uplevel browsers
	definition file. This serves as input to the culevel compiler in
	the tools directory at the top of the mcs tree.

2007-04-17  Marek Habersack  <[email protected]>

	* WebUIValidation_2.0.js: added HaveRegexp () function to detect
	if the browser supports the RegExp class. Use GetElement ()
	everywhere.

	* WebUIValidation.js: added HaveRegexp () function to detect if
	the browser supports the RegExp class.

	* webform.js: use WebForm_GetElementById everywhere.

2007-04-17  Marek Habersack  <[email protected]>

	* HtmlForm.cs: use the new uplevel browser detection code.

2007-04-17  Marek Habersack  <[email protected]>

	* BaseValidator.cs: use the new uplevel browser detection code.


svn path=/trunk/mcs/; revision=75818
2007-04-17 13:13:03 +00:00
Igor Zelmanovich 7320e371e3 2007-04-12 Igor Zelmanovich <[email protected]>
* SqlDataSourceView.cs: fixed: InitializeParameters:
	restored flow, broken in r75137.

svn path=/trunk/mcs/; revision=75729
2007-04-15 14:03:40 +00:00
Igor Zelmanovich a0e7691612 2007-04-12 Igor Zelmanovich <[email protected]>
* Menu.cs: popup menu is posed correctly if menu is placed within 
	container with position=relative

svn path=/trunk/mcs/; revision=75645
2007-04-12 13:19:23 +00:00
Marek Habersack a9d65e35e9 2007-04-12 Marek Habersack <[email protected]>
* LoginView.cs: do not call CreateChildControls directly from the
	IsAuthenticated setter since that would destroy the controls the
	user might've configured from their Page_PreRender method.
	Do not use IsAuthenticated in CreateChildControls since that
	prevents the _correct_ template from being instantiated before the
	control is transferred to the user's OnPreRender handler. Fixes
	bug #81344.

svn path=/trunk/mcs/; revision=75629
2007-04-11 23:19:46 +00:00
Marek Habersack 21c6faf3cc 2007-04-11 Marek Habersack <[email protected]>
* HtmlInputHidden.cs:
	* HtmlSelect.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlInputText.cs:
	* HtmlInputImage.cs:
	* HtmlInputFile.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputImage.cs: do not register the control for post back
	processing or if it's disabled.

2007-04-11  Marek Habersack  <[email protected]>

	* ImageButton.cs: implement the Enable property and do not
	register for post back if the control isn't enabled.

2007-04-11  Marek Habersack  <[email protected]>

	* Page.cs: check whether control passed to
	RegisterRequiresPostBack implements the IPostBackDataHandler
	interface.

svn path=/trunk/mcs/; revision=75594
2007-04-10 22:38:06 +00:00
Marek Habersack 03e6d60374 2007-04-06 Marek Habersack <[email protected]>
* GridView.cs: don't render invisible fields. Fixes bug #80061.

	* DetailsView.cs: don't render invisible fields.


svn path=/trunk/mcs/; revision=75464
2007-04-05 22:13:37 +00:00
Igor Zelmanovich a0add4000c 2007-04-05 Igor Zelmanovich <[email protected]>
* Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.


svn path=/trunk/mcs/; revision=75439
2007-04-05 13:47:14 +00:00
Konstantin Triger 5cff7fd740 use Invariant culture for string manipulations
svn path=/trunk/mcs/; revision=75433
2007-04-05 12:48:48 +00:00
Konstantin Triger c1360afb03 use Invariant culture for string manipulations
svn path=/trunk/mcs/; revision=75429
2007-04-05 11:43:27 +00:00
Marek Habersack 61a57fcc94 typo
svn path=/trunk/mcs/; revision=75428
2007-04-05 11:41:44 +00:00
Konstantin Triger c6a17bec7f use Invariant culture for string manipulations
svn path=/trunk/mcs/; revision=75426
2007-04-05 11:28:59 +00:00
Marek Habersack 0879723fa1 2007-04-05 Marek Habersack <[email protected]>
* BaseDataBoundControl.cs: restore the LAMESPEC note and code it
	describes - tests show this is what's happening on MS.NET as
	well.

svn path=/trunk/mcs/; revision=75425
2007-04-05 11:25:05 +00:00
Igor Zelmanovich 627c448387 2007-04-05 Igor Zelmanovich <[email protected]>
* GridView.cs:
	* BaseDataBoundControl.cs:
	Break recursion when the property is set from within the OnSelect handler 
	in user's code. fixes bug #81175.	

svn path=/trunk/mcs/; revision=75422
2007-04-05 10:54:30 +00:00
Marek Habersack 947134fb99 2007-04-05 Marek Habersack <[email protected]>
* SiteMapDataSource.cs: fix GetStartNode for situations when the
	current URL is not defined in the sitemap file. Fixes bug
	#81314. Patch from Mike Morano <[email protected]>.


svn path=/trunk/mcs/; revision=75419
2007-04-05 08:14:15 +00:00
Marek Habersack 5285d8a5b4 2007-04-03 Marek Habersack <[email protected]>
* BaseDataBoundControl.cs: adjust for lame specs on MSDN.

svn path=/trunk/mcs/; revision=75386
2007-04-04 13:47:07 +00:00
Gert Driesen 9f7d48e802 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
endings.

svn path=/trunk/mcs/; revision=75303
2007-04-02 20:25:47 +00:00
Adar Wesley 535dc2897a 2007-03-29 Adar Wesley <[email protected]>
* ObjectDataSourceView.cs: fixed events so they are raized at the
        right times.  Added many tests to verify the correct time.
        * SqlDataSourceView.cs: fixed events so they are raized at the right
        times.  Added many tests to verify the correct time.


svn path=/trunk/mcs/; revision=75137
2007-03-29 13:37:36 +00:00
Igor Zelmanovich f9c2c8d33f 2007-03-28 Igor Zelmanovich <[email protected]>
* Menu.cs:
	* TreeView:
	avoid Exception if HierarchicalDataSourceView.Select() returns null.

svn path=/trunk/mcs/; revision=75073
2007-03-28 13:36:17 +00:00
Igor Zelmanovich c92920880e 2007-03-22 Igor Zelmanovich <[email protected]>
* ObjectDataSource.cs:
	* ObjectDataSourceView.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	fixed flow: changes in Insert/Update/DeleteParameters does not 
	cause DataSourceViewChanged event.				


svn path=/trunk/mcs/; revision=74807
2007-03-22 14:13:49 +00:00
Igor Zelmanovich 9bec2e6a92 2007-03-20 Igor Zelmanovich <[email protected]>
* BaseDataBoundControl.cs: fix as per MSDN - the property is set
	only if data binding doesn't occur.

svn path=/trunk/mcs/; revision=74696
2007-03-20 15:58:06 +00:00
Igor Zelmanovich fc6b1309c0 2007-03-20 Igor Zelmanovich <[email protected]>
* GridView.cs: fixed: PageIndex considers PageCount.	

svn path=/trunk/mcs/; revision=74689
2007-03-20 14:55:19 +00:00
Marek Habersack 858d3a2e97 Revert the change as it causes 3 tests to fail, need to run tests on Windows first.
svn path=/trunk/mcs/; revision=74685
2007-03-20 13:40:35 +00:00
Marek Habersack beabee8a4f 2007-03-20 Marek Habersack <[email protected]>
* BaseDataBoundControl.cs: fix as per MSDN - the property is set
	only if data binding doesn't occur.

	* DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175


svn path=/trunk/mcs/; revision=74679
2007-03-20 12:16:16 +00:00
Marek Habersack eaa280a222 2007-03-20 Marek Habersack <[email protected]>
* LoginStatus.cs: render login/logout controls with the CssClass
	set from the parent control. Fixes bug #81196


svn path=/trunk/mcs/; revision=74668
2007-03-20 08:18:54 +00:00
Igor Zelmanovich 08e94fae98 2007-03-19 Igor Zelmanovich <[email protected]>
* DataGrid.cs: fixed Save/Load view state, applying styles.	

svn path=/trunk/mcs/; revision=74601
2007-03-19 11:59:11 +00:00
Igor Zelmanovich 915ed35107 typo fix
svn path=/trunk/mcs/; revision=74563
2007-03-18 13:43:46 +00:00
Konstantin Triger af2fde01bd remove TARGET_JVM define
svn path=/trunk/mcs/; revision=74126
2007-03-12 14:28:44 +00:00
Igor Zelmanovich 3eb00b979a 2007-03-12 Igor Zelmanovich <[email protected]>
* AttributeCollection.cs:
	* CssStyleCollection.cs: fixed: works w/o state bag.	

2007-03-12 Igor Zelmanovich <[email protected]>

	* Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.	

svn path=/trunk/mcs/; revision=74108
2007-03-12 10:30:01 +00:00
Marek Habersack 08c48a36e2 Bugfix for #81089
svn path=/trunk/mcs/; revision=74002
2007-03-09 14:16:04 +00:00
Igor Zelmanovich 896175b219 2007-03-06 Igor Zelmanovich <[email protected]>
* DataGrid.cs: fixed: 
	Auto-generated columns are restored properly on postback from view state.

svn path=/trunk/mcs/; revision=73930
2007-03-08 09:10:36 +00:00
Igor Zelmanovich 1105ed667d 2007-03-06 Igor Zelmanovich <[email protected]>
* Style.cs: fixed:
	when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl) 
	is called, WebControl parameter is passed as argument to 
	FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.

svn path=/trunk/mcs/; revision=73798
2007-03-06 10:14:29 +00:00
Igor Zelmanovich 0e5ca98810 2007-03-06 Igor Zelmanovich <[email protected]>
* DataList.cs:
	* DataListItem.cs:
	fixed applying styles if ExtractTemplateRows=true.

svn path=/trunk/mcs/; revision=73795
2007-03-06 09:28:50 +00:00