Commit Graph
1171 Commits
Author SHA1 Message Date
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
Igor Zelmanovich b5a21f4848 2007-03-05 Igor Zelmanovich <[email protected]>
* DropDownList.cs: in 2.0 first item is rendered with selected attribute
	is Enabled=false and no selected items.

svn path=/trunk/mcs/; revision=73735
2007-03-05 16:53:35 +00:00
Igor Zelmanovich 32e0a61420 2007-03-05 Igor Zelmanovich <[email protected]>
* CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.

svn path=/trunk/mcs/; revision=73734
2007-03-05 16:43:22 +00:00
Igor Zelmanovich 7ac9946017 2007-03-05 Igor Zelmanovich <[email protected]>
* CheckBoxList.cs:
	* BulletedList.cs:
	* ListControl.cs:
	* ListItem.cs:
	* RadioButtonList.cs:
	fixed: list controls consider ListItem.Attributes property on render. 

svn path=/trunk/mcs/; revision=73725
2007-03-05 15:54:15 +00:00
Igor Zelmanovich ee3e5ec5d5 2007-03-05 Igor Zelmanovich <[email protected]>
* CheckBox.cs: fixed: 'span' tag is not rendered if all attributes 
	are rendered in 'input' tag. 

svn path=/trunk/mcs/; revision=73723
2007-03-05 15:37:20 +00:00
Igor Zelmanovich c31ba5e272 2007-03-05 Igor Zelmanovich <[email protected]>
* DropDownList.cs:
	* ListBox.cs:
	used "ONLY_1_1" instead "!NET_2_0"	


svn path=/trunk/mcs/; revision=73722
2007-03-05 15:34:59 +00:00
Igor Zelmanovich 5576172362 2007-03-05 Igor Zelmanovich <[email protected]>
* BaseDataBoundControl.cs:
	* DataBoundControl.cs:
	* HierarchicalDataBoundControl.cs:
	refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
	method in BaseDataBoundControl to find a data source control.


svn path=/trunk/mcs/; revision=73715
2007-03-05 14:58:20 +00:00
Marek Habersack a9a7c6c9ce fix Unit to support values like .9em
svn path=/trunk/mcs/; revision=73708
2007-03-05 14:08:27 +00:00
Igor Zelmanovich f54d066285 2007-03-05 Igor Zelmanovich <[email protected]>
* TemplateColumn.cs: fixed: if ItemTemplate is null, "&nbsp;" is rendered.

svn path=/trunk/mcs/; revision=73706
2007-03-05 12:58:16 +00:00
Marek Habersack 71759da68b Fix validation for ListItems
svn path=/trunk/mcs/; revision=73701
2007-03-05 09:44:03 +00:00
Marek Habersack 53d54edc22 Implement correct DataSourceID lookup
svn path=/trunk/mcs/; revision=73669
2007-03-04 01:04:37 +00:00