1495 Commits
Author SHA1 Message Date
Vladimir Krasnov b485c0b75d * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptManager
svn path=/trunk/mcs/; revision=78305
2007-05-31 09:10:45 +00:00
Igor Zelmanovich 86644d0e33 2007-05-29 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs:
	* SiteMapDataSource.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	DataSourceChanged and DataSourceViewChanged are raised in right case, when
	different properties changed their value.				


svn path=/trunk/mcs/; revision=78131
2007-05-29 14:59:47 +00:00
Igor Zelmanovich ce6459ba68 2007-05-27 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
	when changed, DataSourceViewChanged event is raised.
	
	* SqlDataSourceView: fixed SelectCommand property:
	when changed, DataSourceViewChanged event is raised.


svn path=/trunk/mcs/; revision=78009
2007-05-27 13:23:17 +00:00
Marek Habersack dc1d6c47b5 2007-05-25 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: CreateDataObject must pay attention to
	TypeConverter attributes on the property being converted.

svn path=/trunk/mcs/; revision=77952
2007-05-25 17:06:44 +00:00
Igor Zelmanovich 2bfefb82d5 2007-05-24 Igor Zelmanovich <[email protected]>
* Menu.cs: fixed: alt attribute is rendered as well.


svn path=/trunk/mcs/; revision=77917
2007-05-24 16:20:37 +00:00
Igor Zelmanovich 4dfdc0287d fixed line ending
svn path=/trunk/mcs/; revision=77916
2007-05-24 16:07:18 +00:00
Marek Habersack b58a012a86 2007-05-16 Marek Habersack <[email protected]>
* WebUIValidation.js: ported ToCurrency and ToDate converters from
	WebUIValidation_2.0.js.

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

	* CompareValidator.cs: formatting changes


svn path=/trunk/mcs/; revision=77470
2007-05-16 11:36:30 +00:00
Marek Habersack c7d897bbf4 2007-05-15 Marek Habersack <[email protected]>
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
	actually look up types.
	
	* ControlBuilder.cs: as above

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

	* BuildProviderCollection.cs: refactoring - use
	HttpApplication.LoadType to actually look up the type.

	* HttpHandlerAction.cs: as above

	* WebConfigurationHost.cs: refactoring - moved the LoadType to
	HttpApplication to share the code between 1.1 and 2.0 profiles.

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

	* ObjectDataSourceView.cs: refactoring - use
	HttpApplication.LoadType to look up types.

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

	* HttpApplication.cs: refactoring - moved LoadType from
	WebConfigurationHost here and made it internal static, in order to
	make the code avaliable from all the places where extended type
	loading is required.


svn path=/trunk/mcs/; revision=77396
2007-05-15 09:35:00 +00:00
Marek Habersack 9c1c012ea4 2007-05-10 Marek Habersack <[email protected]>
* Table.cs: render rows, not controls

	* HyperLink.cs: RenderContents must check if the render method
	delegate is present and, if yes, call the base RenderContents.

	* LinkButton.cs: as above.

	* Label.cs: as above.

	* TableCell.cs: as above.
	This change makes the HeaderTemplate in the Wizard control work.

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

	* Control.cs: small formatting change



svn path=/trunk/mcs/; revision=77164
2007-05-10 21:43:44 +00:00
Marek Habersack 7d08bcb697 2007-05-10 Marek Habersack <[email protected]>
* Wizard.cs: if a next/previous step handler modifies
	ActiveStepIndex do not, respectively, increase/decrease the
	current step, but use whatever was set in the handler.

Also set eol-style to native and removed CRLFs, plus some reformatting.

svn path=/trunk/mcs/; revision=77127
2007-05-10 12:34:52 +00:00
Marek Habersack 83063b42bd More TreeView rendering fixes
2007-05-09  Marek Habersack  <[email protected]>

	* TreeNodeStyleCollection.cs: do not set font's underline flag to
	false, set it to its own value instead.

	* TreeView.cs: if level style exists and has ChildNodesPadding
	set, it takes precedence over the node style setting (if any).

svn path=/trunk/mcs/; revision=77002
2007-05-09 12:14:58 +00:00
Marek Habersack c5f417422d 2007-05-08 Marek Habersack <[email protected]>
* TreeView.cs: children padding is rendered only before and after
	the children are rendered, not between them. Also, render padding
	only if there are any nodes to follow the current one.

svn path=/trunk/mcs/; revision=76905
2007-05-08 09:01:54 +00:00
Marek Habersack c02e33ec1f 2007-05-07 Marek Habersack <[email protected]>
* Wizard.cs: additional checks to see whether the wizard needs to
	move to a next step or not. Fixes bug #81532. Patch sent by Mike
	Morano <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=76819
2007-05-07 09:34:29 +00:00
Igor Zelmanovich 1dfc27e49e 2007-05-07 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed:
	avoid NullReferenceException when used EditTemplate w/o binding 
	directive such Eval or Bind.	 


svn path=/trunk/mcs/; revision=76814
2007-05-07 09:19:02 +00:00
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