1495 Commits
Author SHA1 Message Date
Marek Habersack 7876e9fdc1 2008-04-03 Marek Habersack <[email protected]>
* DataListTest.cs: added test for bug #376519
	(SelectedValue_SelectedIndex

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

	* DataList.cs: use the value of SelectedIndex, not selectedIndex,
	to return the key value in the SelectedValue property. Fixes bug
	#376519. Patch from Sergey Kuleshov <[email protected]>, thanks

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

	* HtmlFormTest.cs: indirect test for bug #376352 is 2.0+ only.

svn path=/trunk/mcs/; revision=99704
2008-04-02 22:53:23 +00:00
Vladimir Krasnov 797ac3dc31 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField, should hide checkbox only if DataItem is not defined
svn path=/trunk/mcs/; revision=98048
2008-03-12 15:07:08 +00:00
Dean Brettle 23000b3144 ++ Test/mainsoft/ChangeLog (working copy)
* add new resources: 
		PageWithAdapter.aspx for PageTest and PageAdapterTest.
		TestCapability.browser for AppBrowsersTest.

	* NunitWebResources/adapters.browser, 
	NunitWebResources/AppBrowsersTest.browser: modified to support
	testing reference nodes with captures, and adapters.

	* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
	unload, no new requests are sent to the app host and any
	pending requests are completed before the the unload occurs.
	Also added WebTest.AppUnloaded event that tests can use to wait
	for the app to unload (e.g. after touching Global.asax), and 
	WebTest.CleanApp() which can be called to restart the app with
	the a skeleton directory structure.  Tests which add files that
	could effect other tests (e.g. App_Browsers/*.browser files) should
	call WebTest.CleanApp() during TearDown to return the app to a 
	pristine environment.
	
++ Test/mainsoft/MainsoftWebTest/ChangeLog	(working copy)

	* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that 
	tests can access System.Web internals now that System.Web is
	InternalsVisibleTo this assembly.

++ Test/System.Web/ChangeLog	(working copy)

	* AppBrowsersTest.cs: added.  Includes tests for Control.Adapter,
	Control.ResolveAdapter,	Control.TagWriter, and
	Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
	AppBrowsersTest is currently tagged [Ignore], pending a fix for 
	bug #351878.
	
	* HttpRuntimeTest.cs: added. Includes test for 
	HttpRuntime.UnloadAppDomain().  Marked [Ignore], pending a fix for
	bug #351878.
	
++ Test/System.Web.UI.Adapters/ChangeLog	(revision 0)

	* PageAdapterTest.cs: added tests for PageAdapter.


	* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
	ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
	during normal page processing if no files are in App_Browsers.
	


	* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog	(working copy)

	* PageTest.cs: add tests for using a PageAdapter.
	
	* ControlTest.cs: moved commented out ResolveAdapter_1 test to 
	../System.Web/AppBrowsersTest.cs.  Fixed typo in test name.  
	Added Customcontroladapter.Adapter property for use by AppBrowsersTest.

++ Test/System.Web.UI.WebControls.Adapters/ChangeLog	(revision 0)

	* MenuAdapterTest.cs: added


	* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
	DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog	(working copy)

	* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
	result was the same when using the base MenuAdapter as when using
	no adapter.
	
	* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
	to ensure that MenuAdapter.RenderItem() is called.

	* HierarchicalDataBoundControlTest.cs, WebControlTest.cs, 
	DataBoundControlTest.cs: added test for use of ControlAdapters
	when present.
	
	* WebControl.cs: added test for IsEnabled.

++ System.Web/ChangeLog	(working copy)

	* HttpApplicationFactory.cs: Added support for detecting 
	App_Browsers/*.browser files and using them to determine capabilities.
	Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
	directories are created.

	* BrowserCapabilities.cs (TagWriter): get value via internal virtual
	GetTagWriter() method, which is overridden in nBrowser.Result.

	* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
	internal properties added to allow Page and Control methods to avoid
	accessing Request.Browser to get browser-specific HtmlTextWriters or 
	ControlAdapters.  Those things only exist when there are App_Browsers
	files.

++ System.Web.UI.Adapters/ChangeLog	(working copy)

	* ControlAdapter.cs: made control field internal so
	derived internal classes can access it without using base.Control
	which can involved several typecasts.


	* PageAdapter.cs: implemented all members.
	

	* ControlAdapter.cs: implemented all members.
	
	* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog	(working copy)

	* Page.cs (SavePageControlState, LoadPageControlState): save/load 
	adapter state in 2.0 profile.
	
	* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
	in 2.0 profile.
	
	* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
	in 2.0 profile.
	
	* Page.cs (DeterminePostBackMode, InitOutputCache, 
	RenderClientScriptFormDeclaration,	InternalProcessRequest,
	PageStatePersister): added support for PageAdapters.

	* Control.cs (Adapter, ResolveAdapter): implemented.  Adapter calls
	ResolveAdapter and remembers result.  ResolveAdapter checks for adapters
	of the Type hierarchy until it finds one.
	
	* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
	adapter state in 2.0 profile.
	
	* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
	required by 2.0 profile.  These are called by corresponding methods of
	System.Web.UI.Adapters.ControlAdapter.
	
	* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
	any adapters/writers because there are no files in App_Browsers/.

++ Assembly/ChangeLog	(working copy)

	* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
	to support ControlAdapterTest.ConfigCapabilitiesNotCalled().

++ ChangeLog	(working copy)

	* System.Web_test.dll.sources: added
		System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
		System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
		System.Web.UI.Adapters/PageAdapterTest.cs
		System.Web.UI.Adapters/ControlAdapterTest.cs
		
	* Makefile (RESOURCE_FILES_2): added
		System.Web.Configuration_2.0/RandomRoboBotKeywords.txt

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

	* System.Web.dll.sources: added
		System.Web.Configuration_2.0/CapabilitiesBuild.cs
		System.Web.Configuration_2.0/CapabilitiesChecksum.cs
		System.Web.Configuration_2.0/CapabilitiesResult.cs
		System.Web.Configuration_2.0/ICapabilitiesProcess.cs
		System.Web.Configuration_2.0/nBrowser/Result.cs
		System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
		System.Web.Configuration_2.0/nBrowser/Identification.cs
		System.Web.Configuration_2.0/nBrowser/File.cs
		System.Web.Configuration_2.0/nBrowser/Build.cs
		System.Web.Configuration_2.0/nBrowser/Node.cs
		System.Web.Configuration_2.0/nBrowser/Exception.cs
		
++ System.Web.UI.WebControls.Adapters/ChangeLog	(working copy)

	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs: changed to use ControlAdapter.control
	instead of using base.Control or using a new control field.
	
	* MenuAdapter.cs: added	internal constructor that takes a Menu
	parameter.  The constructor is used when writing unit tests.
	
	* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag, 
	RenderContents, RenderEndTag): delegate to base instead of
	Control.
	
	* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
	RaisePostBackEvent, RenderItem): implemented.
	

	* WebControlAdapter.cs (RenderContents): changed to call 
	control.RenderContents() instead of control.Render().
	
	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
	internal constructor that takes a parameter of the corresponding
	Control type.  The construct is used when writing unit tests.

++ System.Web.Configuration_2.0/ChangeLog	(working copy)

	* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
	nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs, 
	nBrowser/Exception.cs: added.  The code under nBrowser handles *.browser
	files.  It is based on Owen "Ocean" Brady's code, with the following 
	changes and improvements.  Replaced Result.Adapter 
	property with AdapterTypeMap property which maps control Type to adapter
	Type.  Added Result.MarkupTextWriter property.  Added overrides for
	Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
	and AdapterTypeMap, resp.  Changed tree building algorithm to not
	depend on nodes with id="Default" and to inject defaultBrowser nodes
	as parents of regular nodes with the same ids.  Changed Node.cs to use
	Item instead of Add when adding a capability or sample header, so that
	values get replaced instead of appended.  Added support for reference 
	nodes (ie. nodes with refID="someID").
		
	* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
	using the correct name.
	
	* RandomRoboBotKeywords.txt: added 

	* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
	support for *.browsers.  Adapters property calls internal virtual
	GetAdapters() method which is overrided in nBrowser.Result 
	returned by nBrowser code.  CreateHtmlWriter uses type specified
	by TagWriter property.
	
++ System.Web.UI.WebControls/ChangeLog	(working copy)

	* DetailsView.cs, ListControl.cs, DataBoundControl.cs, 
	FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs: 
	added support for using ControlAdapters when present.
	
	* WebControl.cs: fixed implementation of IsEnabled to match 
	documentation.

	* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of 
	RenderMenuItem() if an adapter is present.  MenuAdapter.RenderItem() 
	calls back to new Menu.RenderItem() internal method which calls
	RenderMenuItem() with the appropriate parameters.

++ System.Web.Configuration/ChangeLog	(working copy)

	* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser 
	support.  Also added internal GetConfigCapabilities_called
	flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to 
	test that GetConfigCapabilities() is not called during normal page
	processing when there are no files in App_Browsers/.


svn path=/trunk/mcs/; revision=97824
2008-03-09 22:55:22 +00:00
Kornél Pál 25c6680c8e Don't add Date header in ASP.NET. Fixes bug #363404.
svn path=/trunk/mcs/; revision=96613
2008-02-26 09:52:01 +00:00
Igor Zelmanovich 9bf94370fe 2008-02-25 Igor Zelmanovich <[email protected]>
* GridView.cs:
at Update and Delete use not read only coppies of dictionaries
in event argumens, that allows user to change them before corresponding
DataSource's method is called.


svn path=/trunk/mcs/; revision=96556
2008-02-25 14:44:54 +00:00
Igor Zelmanovich 5683fb6e96 merge r96245:96256:
2008-02-20 Igor Zelmanovich <[email protected]>

	* Login.cs: render id attribute of root element correctly.


svn path=/trunk/mcs/; revision=96247
2008-02-20 13:28:37 +00:00
Marek Habersack cd08e57dea 2008-02-18 Marek Habersack <[email protected]>
* FormView.cs: the ItemCreated must be fired before data is bound
	to the FormView. Fixes bug #360434

svn path=/trunk/mcs/; revision=96093
2008-02-18 19:13:19 +00:00
Igor Zelmanovich ec84c72da5 2008-02-07 Igor Zelmanovich <[email protected]>
* Login.cs: render id attribute of root element correctly.


svn path=/trunk/mcs/; revision=95126
2008-02-07 10:39:51 +00:00
Marek Habersack 3717a3fec5 2008-02-05 Marek Habersack <[email protected]>
* FileUpload.cs: make sure FileContent always returns the input
	stream positioned at the beginning. Fixes bug #356846

svn path=/trunk/mcs/; revision=94924
2008-02-05 19:02:13 +00:00
Igor Zelmanovich 5a23107653 2008-01-31 Igor Zelmanovich <[email protected]>
* Calendar.cs: resolve Next/Prev. month link date correctly.


svn path=/trunk/mcs/; revision=94469
2008-01-31 15:16:05 +00:00
Igor Zelmanovich ee06e666ba 2008-01-29 Igor Zelmanovich <[email protected]>
* TreeView.cs: add XPFileExplorer icon set.

svn path=/trunk/mcs/; revision=94247
2008-01-29 14:04:54 +00:00
Igor Zelmanovich d1d4091bf0 2008-01-28 Igor Zelmanovich <[email protected]>
* Menu.js: dynamic nodes are positioned after hover style of 
	parent node is applied.


svn path=/trunk/mcs/; revision=94117
2008-01-28 11:59:48 +00:00
Vladimir Krasnov 10969c63c7 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, in case more than one datasource using the same object with the same select method
svn path=/trunk/mcs/; revision=93787
2008-01-24 12:40:41 +00:00
Igor Zelmanovich ed8aca43c8 2008-01-23 Igor Zelmanovich <[email protected]>
* ValidationSummary.cs:
	refactoring: If page contents instance of IScriptManager, it calls 
	it's API instead Page.ClientScript.									


svn path=/trunk/mcs/; revision=93660
2008-01-23 14:46:41 +00:00
Igor Zelmanovich 121a69b5eb 2008-01-23 Igor Zelmanovich <[email protected]>
* Menu.cs: fixed rendering.

svn path=/trunk/mcs/; revision=93647
2008-01-23 12:56:59 +00:00
Igor Zelmanovich bc6df0743e 2008-01-16 Igor Zelmanovich <[email protected]>
* Wizard.cs:
	manage history state on "MovePrevious" action.	


svn path=/trunk/mcs/; revision=93044
2008-01-16 14:46:49 +00:00
Igor Zelmanovich 9304dbfc4f 2008-01-16 Igor Zelmanovich <[email protected]>
* BulletedList.cs:
	resolve BulletImageUrl,
	register for event validation.	


svn path=/trunk/mcs/; revision=93034
2008-01-16 13:32:39 +00:00
Igor Zelmanovich 8ce3a695d6 2008-01-13 Igor Zelmanovich <[email protected]>
* TreeView.cs:
	* TreeView.js:
	upgrade client side script due to changes in webform.js.		


svn path=/trunk/mcs/; revision=92774
2008-01-13 09:41:36 +00:00
Igor Zelmanovich 04661ec92e refactoring:
renamed methods if internal IScriptManager.

svn path=/trunk/mcs/; revision=92583
2008-01-10 13:35:21 +00:00
Igor Zelmanovich dfcc1aa1c4 refactoring
svn path=/trunk/mcs/; revision=92574
2008-01-10 09:46:48 +00:00
Konstantin Triger f3b0d789b8 make the behavior for SqlDataSourceView.FilterExpression comply with the behavior of ObjectDataSourceView.FilterExpression
svn path=/trunk/mcs/; revision=92450
2008-01-08 13:44:02 +00:00
Igor Zelmanovich 26024a3c36 2008-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: added internal API
	* IScriptManager.cs: added new internal interface.	

2007-01-07 Igor Zelmanovich <[email protected]>

	* BaseCompareValidator.cs:
	* BaseValidator.cs:
	* CompareValidator.cs:
	* CustomValidator.cs:
	* RangeValidator.cs:
	* RegularExpressionValidator.cs:
	* RequiredFieldValidator.cs:
	refactoring: If page contents instance of IScriptManager, validators call 
	it's API instead Page.ClientScript.									


svn path=/trunk/mcs/; revision=92389
2008-01-07 14:24:43 +00:00
Igor Zelmanovich d305e47234 2008-01-07 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.jvm.cs:			
	* Page.cs:
	* Page.jvm.cs:
	for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
	
2007-01-07 Igor Zelmanovich <[email protected]>

	* Button.cs:
	* ImageButton.cs:
	* LinkButton.cs:
	for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
	in GetPostBackOptions.			

2007-01-07 Igor Zelmanovich  <[email protected]>

	* HtmlForm.cs: refactoring.


svn path=/trunk/mcs/; revision=92387
2008-01-07 13:38:38 +00:00
Igor Zelmanovich 6cf1101bf2 2007-01-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: render invisible rows correct.


svn path=/trunk/mcs/; revision=92340
2008-01-06 12:49:36 +00:00
Igor Zelmanovich be0510455d 2007-01-06 Igor Zelmanovich <[email protected]>
* DataControlField.cs: prevent infinite recursion


svn path=/trunk/mcs/; revision=92339
2008-01-06 12:45:15 +00:00
Vladimir Krasnov 33bfe8a121 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding expiration timespan
svn path=/trunk/mcs/; revision=92087
2008-01-01 12:49:43 +00:00
Konstantin Triger 4405429b17 add missing ';' in java script
svn path=/trunk/mcs/; revision=92060
2007-12-31 12:57:07 +00:00
Vladimir Krasnov b91ee13c6b * Cache.cs: added DependencyCache property, a cache object for creating dependencies
* DataSourceCacheManager.cs: fixed SetCachedObject, fixed CacheDependency keys
* HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache initialization

svn path=/trunk/mcs/; revision=92049
2007-12-31 08:57:46 +00:00
Igor Zelmanovich 7cb6f04d5c 2007-12-24 Igor Zelmanovich <[email protected]>
* TreeView.cs: revert changes from r91230


svn path=/trunk/mcs/; revision=91853
2007-12-24 09:42:34 +00:00
Vladimir Krasnov acb20323c7 * ListControl.cs: fixed Load/SaveViewState, removed selected indices storing
* ListItem.cs: fixed Load/SaveViewState, added selected state storing
* ListItemCollection.cs: fixed Load/SaveViewState, added flag to not rebuild the collection if wasnt changed

svn path=/trunk/mcs/; revision=91518
2007-12-18 09:46:00 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Vladimir Krasnov 7af35c7215 * Menu.cs: fixed rendering without head tag on page
svn path=/trunk/mcs/; revision=91201
2007-12-13 08:43:09 +00:00
Vladimir Krasnov 0c5fb3df11 * Calendar.cs: performance optimizations:
BuildLink fixed, StringBuilder used.
	TodaysDate DateTime.Today call cahced.

svn path=/trunk/mcs/; revision=89924
2007-11-19 10:26:10 +00:00
Vladimir Krasnov 3cc6765f76 * Unit.cs: performance optimization: ToString fixed, string.Concat used instead of string.Format
svn path=/trunk/mcs/; revision=89921
2007-11-19 09:58:56 +00:00
Vladimir Krasnov c15337098f * Style.cs: performance optimization: suppress finalizer added
svn path=/trunk/mcs/; revision=89919
2007-11-19 09:33:45 +00:00
Igor Zelmanovich 584fa7134c 2007-11-08 Igor Zelmanovich <[email protected]>
* BoundField.cs:
	* ImageField.cs:
	evaluate bound value using ThisExpession ("!") properly	

2007-11-08 Igor Zelmanovich <[email protected]>

	* AutoGeneratedFieldTest.cs:	
	Added new test.



svn path=/trunk/mcs/; revision=89179
2007-11-08 09:29:39 +00:00
Igor Zelmanovich 94bbd9e713 2007-11-07 Igor Zelmanovich <[email protected]>
* WebControl.cs: enabled state restored properly.

2007-11-07 Igor Zelmanovich <[email protected]>

	* WebControlTest.cs:	
	Added new test.


svn path=/trunk/mcs/; revision=89120
2007-11-07 16:36:02 +00:00
Igor Zelmanovich 4c649666c1 2007-11-06 Igor Zelmanovich <[email protected]>
* TextBox.cs:
	refactoring for NET_2_0:
	Text is removed from view state in case of need at SaveViewState phase. 	 


svn path=/trunk/mcs/; revision=88955
2007-11-06 09:21:37 +00:00
Igor Zelmanovich 03002226b2 2007-11-06 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	SelectedValue/SelectedIndex is set during DataBinding always. 	 

2007-11-06 Igor Zelmanovich <[email protected]>

	* ListControlTest.cs:
	Added new tests.

svn path=/trunk/mcs/; revision=88954
2007-11-06 09:17:06 +00:00
Marek Habersack e9c28fc584 2007-11-06 Marek Habersack <[email protected]>
* DataGrid.cs: add RenderTable before the DataGridItems, so that
	numbering of children is the same what on MS.NET.
	If there are any data items, require a postback script.
	Fixes bug #319449
	
	* ChildTable.cs: removed DOS EOLs.
2007-11-06  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.UI.WebControls/ChildTable.cs to compilation, for MS.NET
	compatibility.


svn path=/trunk/mcs/; revision=88945
2007-11-06 01:12:02 +00:00
Igor Zelmanovich f32b4ce18c 2007-10-31 Igor Zelmanovich <[email protected]>
* Login.cs: 
	does not perform authentication if Page.IsValid returns false;
	the fix makes control works with disabled client side validation.


svn path=/trunk/mcs/; revision=88568
2007-10-31 15:53:40 +00:00
Igor Zelmanovich 4aefe0917f 2007-10-31 Igor Zelmanovich <[email protected]>
* DataList.cs: 
	state of DataList.Items are restored correct on PostBack
	such Items.Count and ItemType.

2007-10-31 Igor Zelmanovich <[email protected]>

	* DataListTest.cs:
	Added new test.

svn path=/trunk/mcs/; revision=88546
2007-10-31 11:03:56 +00:00
Igor Zelmanovich f90416da24 2007-10-31 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: 
	validator is rendered correct if EnabledClientClient is false.


svn path=/trunk/mcs/; revision=88542
2007-10-31 09:30:09 +00:00
Igor Zelmanovich 2c0432a258 2007-10-30 Igor Zelmanovich <[email protected]>
* Image.cs: fixed management state of Enabled property.
	* WebControl.cs: refactoring in management state of Enabled property.

2007-10-30 Igor Zelmanovich <[email protected]>

	* ImageTest.cs:
	* WebControlTest.cs:	
	Added new tests.


svn path=/trunk/mcs/; revision=88457
2007-10-30 14:21:51 +00:00
Marek Habersack e24a2ac597 2007-10-23 Marek Habersack <[email protected]>
* ListBox.cs, Table.cs: use Render{Begin,End}Tag
	instead of the Write* counterparts when	rendering contents.

svn path=/trunk/mcs/; revision=87978
2007-10-23 12:14:27 +00:00
Marek Habersack beda9a6afe 2007-10-18 Marek Habersack <[email protected]>
* Menu.js: a workaround for an IE bug. IE recalculates element's
	 offsetWidth when the element's _height_ is set - which in case of
	 elements with overflowing content results in a value that's just
	 slightly smaller than the client window width. In effect, a long
	 submenu will also be very wide, which isn't desirable. Fixes bug
	 #322809

svn path=/trunk/mcs/; revision=87728
2007-10-18 01:39:42 +00:00
Marek Habersack c024be4598 2007-10-15 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
	BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
	HttpApplication.LoadType instead of Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProvidersHelper.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProfileBase.cs: use HttpApplication.LoadType instead of
	Type.GetType.

svn path=/trunk/mcs/; revision=87506
2007-10-15 13:07:47 +00:00
Marek Habersack 37ac56e45d 2007-10-15 Marek Habersack <[email protected]>
* BulletedList.cs: html encode the item text. Fixes bug #333550.

svn path=/trunk/mcs/; revision=87489
2007-10-15 09:17:41 +00:00
Marek Habersack 7b644dae90 2007-10-01 Marek Habersack <[email protected]>
* ListItem.cs: make HasAttributes available for the 1.1 profile as
	well.

	* DropDownList.cs: render custom ListItem attributes in the 1.1
	profile. Fixes bug #326288

svn path=/trunk/mcs/; revision=86701
2007-10-01 13:30:11 +00:00
Marek Habersack a2cd8e0caf it's an _override_, after all
svn path=/trunk/mcs/; revision=86461
2007-09-27 07:17:33 +00:00