Commit Graph
75 Commits
Author SHA1 Message Date
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 8c6188e7bd 2008-04-10 Marek Habersack <[email protected]>
* ListControl.cs: make sure the owned items' Enabled property is
	set to the same value what ListControl's. Fixes bug #377703

	* ListItemCollection.cs: fixed SetDirty to store the index of the
	last dirtied item properly. Fixes bug #377703
	For the 2.0 profile, set the ListItem instances Enabled property
	to the value of the owning ListControl (internal ItemsEnabled
	property was added to make it possible). Fixes bug #377703

svn path=/trunk/mcs/; revision=100296
2008-04-10 00:21:35 +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
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
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
Igor Zelmanovich 15674a6a3d 2007-09-06 Igor Zelmanovich <[email protected]>
* ListControl.cs: partially restored r85314
	whenever a property that can affect data binding
	is set, make sure to set RequiresDataBinding.


svn path=/trunk/mcs/; revision=85410
2007-09-06 12:37:53 +00:00
Marek Habersack 5235b076f1 Revert r84984 and r85314
svn path=/trunk/mcs/; revision=85335
2007-09-05 08:54:41 +00:00
Marek Habersack e8d7450ffa 2007-09-04 Marek Habersack <[email protected]>
* DataBoundControl.cs: make sure no data binding is done after
            OnPagePreload has executed.

            * ListControl.cs: whenever a property that can affect data binding
            is set, make sure to set RequiresDataBinding.

svn path=/trunk/mcs/; revision=85314
2007-09-04 18:48:11 +00:00
Igor Zelmanovich 39e2d6a5bf 2007-08-30 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed selected items state management.

svn path=/trunk/mcs/; revision=85048
2007-08-30 13:48:50 +00:00
Marek Habersack ffd20cdf2a 2007-08-29 Marek Habersack <[email protected]>
* ListControl.cs: do not perform data binding twice if
            AppendDataBoundItems is true. Fixes bug #81146.

svn path=/trunk/mcs/; revision=84984
2007-08-28 23:44:44 +00:00
Vladimir Krasnov d37751a27d * ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called

svn path=/trunk/mcs/; revision=81396
2007-07-05 14:43:44 +00:00
Marek Habersack 1518e8133d 2007-07-02 Marek Habersack <[email protected]>
* WebControl.cs: Revert r80368, as it wasn't the correct
	fix. Fixes bug #81945.

	* ListControl.cs: if there are no items in the collection, do not
	return an empty ArrayList from GetSelectedIndicesInternal. Fixes
	bug #81945 and properly fixes bug #78533.

	* ListItemCollection.cs: if there are no items in collection,
	return null.

svn path=/trunk/mcs/; revision=81170
2007-07-02 10:52:13 +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
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 4a88dc1de4 2006-02-19 Igor Zelmanovich <[email protected]>
* CheckBox.cs:
	* ListControl.cs:
	* TextBox.cs:
	implemented Form.SubmitDisabledControls feature.			

svn path=/trunk/mcs/; revision=73103
2007-02-19 10:46:46 +00:00
Ilya Kharmatsky 7842ea07ef Implementation of ListControl.VerifyMultiSelect with method with proper overloading in derived types.
svn path=/trunk/mcs/; revision=71038
2007-01-15 15:30:06 +00:00
Igor Zelmanovich bfb1ce8954 2006-01-02 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed SelectedValue and SelectedIndex properties.
	set accessor works differently in 2.0.		 


svn path=/trunk/mcs/; revision=70421
2007-01-03 13:10:26 +00:00
Igor Zelmanovich 99e3381f26 2006-12-27 Igor Zelmanovich <[email protected]>
* ListControl.cs: reverted r70112, fixed in r70319.	 


svn path=/trunk/mcs/; revision=70351
2007-01-02 12:34:29 +00:00
Igor Zelmanovich dec7ad32ba 2006-12-27 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed: when is used with DataSourceID data bind is not 
	perfomed on PostBack because Items collection is restored from View state.	 


svn path=/trunk/mcs/; revision=70112
2006-12-27 09:05:46 +00:00
Igor Zelmanovich 32e03f9a63 2006-12-10 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	* ListBox.cs:
	* DropDownList.cs:
	fixed rendering for 2.0			


svn path=/trunk/mcs/; revision=69271
2006-12-10 12:39:55 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Igor Zelmanovich 1788a41ecf 2006-11-15 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.


svn path=/trunk/mcs/; revision=67903
2006-11-15 12:35:34 +00:00
Igor Zelmanovich 8138962373 2006-10-29 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed: setting SelectedVolue for 2.0.


svn path=/trunk/mcs/; revision=67085
2006-10-29 14:02:51 +00:00
Igor Zelmanovich 6e9c9fe957 2006-10-29 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed: assigning SelectedIndex with too hight value.


svn path=/trunk/mcs/; revision=67080
2006-10-29 12:12:23 +00:00
Igor Zelmanovich 7e658fffb3 2006-10-29 Igor Zelmanovich <[email protected]>
* ListControl.cs: fixed: DataBinding for 2.0.
	for 1.x refactoring only.	


svn path=/trunk/mcs/; revision=67078
2006-10-29 11:35:30 +00:00
Igor Zelmanovich 460b7aac96 * ListControl.cs:
VewState saving and restoring rolled back to 1.1 implementation 
	(fixed corresponding test), corrected public interface (there are no 
	overriden methods SaveControlState, LoadControlState and OnInit), 
	implemented CausesValidation and ValidationGroup properties.

svn path=/trunk/mcs/; revision=65579
2006-09-18 14:19:21 +00:00
Vladimir Krasnov 1e2c9cee0c * UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
* UI/UserControl.cs: fixed ParseChildren attribute to be compliant to .net
* WebControls/Content.cs:
* WebControls/Label.cs:
* WebControls/ListControl.cs:
* WebControls/MultiView.cs:
* WebControls/WebControl.cs: fixed ParseChildren attribute to be compliant to .net
* HtmlControls/HtmlTable.cs:
* HtmlControls/HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net


svn path=/trunk/mcs/; revision=63490
2006-08-08 15:47:47 +00:00
Vladimir Krasnov 682ef77c88 * ListControl.cs: fixed SelectedIndex property, fixed selection reset on incorrect value
svn path=/trunk/mcs/; revision=57335
2006-02-27 17:35:36 +00:00
Vladimir Krasnov 7b1eaada95 * ListControl.cs: fixed DataSource property, to throw
ArgumentException on incorrect value

svn path=/trunk/mcs/; revision=57073
2006-02-20 16:29:28 +00:00
Chris Toshok 56e644889c 2006-02-08 Chris Toshok <[email protected]>
* ListControl.cs (OnDataBinding): in 2.0, only clear our items if
	AppendDataBoundItems != false.  Also, split all the databinding
	logic out to DoDataBinding, which we call from here only if
	!NET_2_0.
	(DoDataBinding): new function. actually perform the binding.
	(PerformDataBinding): implement.
	(PerformSelect): chain up to base class.


svn path=/trunk/mcs/; revision=56683
2006-02-08 20:40:47 +00:00
Gonzalo Paniagua Javier fe3850a309 2006-01-24 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: bound checking for Items when loading the control
	state, as the number might have been changed on the fly. Patch by
	Elliott Draper.


svn path=/trunk/mcs/; revision=56007
2006-01-24 21:54:40 +00:00
Gonzalo Paniagua Javier c566a8586b fix the 2.0 build after my last commit
svn path=/trunk/mcs/; revision=52002
2005-10-20 19:52:43 +00:00
Gonzalo Paniagua Javier 0ffc7318e9 2005-10-20 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: made GetSelectedIndices() internal.
	* ListBox.cs: html-encode the item text. Fixed single and multiple
	selection handling. All the tests pass now. Closes bug #76478.


svn path=/trunk/mcs/; revision=51998
2005-10-20 19:11:22 +00:00
Gonzalo Paniagua Javier 1039e0fd21 fix for 76415 + tests
svn path=/trunk/mcs/; revision=51885
2005-10-18 19:47:30 +00:00
Gonzalo Paniagua Javier a9a0c2f90e 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: this fixes TestValueFieldAndTextFormat from
	DropDownListTest.


svn path=/trunk/mcs/; revision=50829
2005-09-27 07:43:52 +00:00
Gonzalo Paniagua Javier e1f2e36a5b console
svn path=/trunk/mcs/; revision=50815
2005-09-27 05:04:42 +00:00
Gonzalo Paniagua Javier 24fdf865f0 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: SelectedIndex/SelectedValue can be set before
	DataBinding () is called on the control, so we have to keep this values
	around and use them after the data is read. If both properties are
	used, they must refer to the same item.


svn path=/trunk/mcs/; revision=50814
2005-09-27 05:04:25 +00:00
Miguel de Icaza cbfe1dff48 Remove a number of compilation warnings.
2005-09-22  Miguel de Icaza  <[email protected]>

	* DataBindingCollection.cs: Raise the event, remove MonoTODO.

	* MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
	string. 



svn path=/trunk/mcs/; revision=50544
2005-09-23 00:13:59 +00:00
Chris Toshok 29b8303c76 2005-09-07 Chris Toshok <[email protected]>
* ListControl.cs (SelectedIndex): add comment about how you'd
	think OnSelectedIndexChanged would be called.. and you'd be wrong.
	(Text): implement in terms of SelectedValue.
	(TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
	(LoadControlState): implement - this is where the selected index
	ArrayList gets stuffed in 2.0.
	(OnInit): call Page.RegisterRequiresControlState.
	(OnTextChanged): implement.
	(RenderContents): for now just chain up to base.RenderContents.
	(SaveControlState): save our control state properly.
	(GetSelectedIndices): split this out from SaveViewState to it can
	be used by both that and SaveControlState.
	(SaveViewState): mangle this function so it works in both 2.0 and
	1.0.
	(LoadViewState): same.


svn path=/trunk/mcs/; revision=49612
2005-09-07 05:20:28 +00:00
Chris Toshok 5d19184603 2005-09-01 Chris Toshok <[email protected]>
* ListControl.cs (AppendDataBoundItems): implement (2.0)
	(TagKey): same.


svn path=/trunk/mcs/; revision=49305
2005-09-01 23:58:08 +00:00
Chris Toshok 545c9d318f 2005-09-01 Chris Toshok <[email protected]>
* Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
	CommandField.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
	CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
	Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
	TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
	BaseValidator.cs, CustomValidator.cs, TextBox.cs,
	ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
	RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
	Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
	XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
	WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
	TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
	TableItemStyle.cs: Add some WebCategory and WebSysDescription
	attributes.


svn path=/trunk/mcs/; revision=49301
2005-09-01 21:25:48 +00:00
Jackson Harper f21c03b531 2005-07-18 Jackson Harper <[email protected]>
* HtmlInputHiddenTest.cs: New test.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New tests for HtmlInputButton.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButtonTest.cs: New tests for HtmlButton.

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for creating enumerators when
	paging is not enabled.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for PageCount.

2005-08-02  Jackson Harper  <[email protected]>

	* BoundColumnTest.cs: Start of tests for the BoundColumn class.
	
2005-08-01  Jackson Harper  <[email protected]>

	* TableStyleTest.cs: Check that items copied set the styles flags.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test the enumerators a little.

2005-07-28  Jackson Harper  <[email protected]>

	* EditCommandColumnTest.cs: Make the DataGridTest nested so my
	top secret DataGrid tests will still compile.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGridTest.cs: More tests for the pager.

2005-07-22  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Basic test for InitializePager.

2005-07-21  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test the order the events are invoked in when
	creating the control hierarchy.

2005-07-21  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test to see what happens when we get a
	non ITypedList.

2005-07-20  Jackson Harper  <[email protected]>
2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Make sure we get back a proper columns
	collection.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: The columns collection cached from the
	CreateColumnSet is stored in the view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test generating column names with/without
	enabling useDataSource.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Check the properties of newly created
	BoundColumns.

2005-07-19  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: New unit test for GetItemProperties.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests for creating column sets.

2005-07-19  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New test for viewstate saving.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Bubble tests for Page command. Tests for bad
	Page command bubble event args.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Select can also be bubbled.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Tests for the BubbleEvent.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests. Just does properties and events for
	the most part.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControlTest.cs: New test to make sure NamingContainers are
	honoured when rendering client ids.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: More tests for the IRepeatInfoUser stuff
	and for rendering.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Rendering tests.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Fix the exception types thrown for bad
	enums. Mark as NotWorking as this doesn't work with the old
	CheckBoxList class anymore.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Add some rendering tests. These aren't
	fully working yet so they are in the NotWorking category.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: This has the potential to be a beautiful
	test.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New test for the viewstate and item
	selection.

2005-07-13  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New tests for the ListControl.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Exception is thrown (by ListControl). Dont run
	the BadBorderStyle test as this fails in ListControls.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Some simple tests for the ListBox control.
	
2005-07-08  Jackson Harper  <[email protected]>

	* LiteralTest.cs: new test.
	* MonthCalendarEventArgsTest.cs: new test.

2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedEventArgsTest.cs: Added test.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttributeTest.cs: New test.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverterTest.cs: New tests.

2005-08-15  Jackson Harper  <[email protected]>

	* CacheItemPriority.cs:
	* CacheItemRemovedCallback.cs:
	* CacheItemRemovedReason.cs: New implementations.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponseStream.cs: Use GetBuffer so the memory isn't
	duplicated.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponse.cs: Send the cached headers if this is a cached
	response. Save the headers, date header, and page data. Fix a typo.
	* HttpResponseStream.cs: Add new accesor to get a byte [] of the
	page data.

2005-08-15  Jackson Harper  <[email protected]>

	* ApplicationShutdownReason.cs: make build

2005-07-18  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
	attribute.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
	constant. Update fetching from viewstate code to use new
	convenience method.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Add DefaultEventAttribute.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.
	
2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputControl.cs: Use ClientID for input controls name.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlAnchor.cs: Call base OnPreRender from override.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New implementation.

2005-07-06  Jackson Harper  <[email protected]>

	* HtmlButton.cs: New implementation.

2005-07-13  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: No public constructors.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttribute.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: New implementation.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Disable the pager row if there no paging enabled
	or available.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: The number of pages set in the pager is specified
	by PageButtonCount.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
	controls.
	(InitializeNumericPager): Now that the pager actually renders
	properly I can see that I was computing it incorrectly.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (RenderTable): Make sure the new table gets the
	correct style.
	(CreateColumnSet): Clear the data source columnbs before adding
	new ones regardless of whether or not a property descriptor was
	found.
	(InitializePager): pager_cell needs to be a member so it isn't
	created more then once per a render.
	(InitializeNumericPager): Compute start and end more
	correctly.
	- Link commands are 1 indexed.
	(CreateControlHierarchy): Clear the table before we begin
	rendering.
	- Revert patch that made adding the pagers conditional. This is
	incorrect, the pagers are always added. Only their visibility is
	affected by the pager style.
	- Save the entire count in the viewstate, not just the rendered
	count. So when paging is enabled the pager's count isn't broken by
	postback.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: Only create one pager and add it to both the top
	and bottom of the grid, this way all the id numbers stay the same
	and we save a bunch of cycles.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: The top and bottom pagers are always created. Just
	the visibility is changed by the PagerStyle::Position.

2005-08-15  Jackson Harper  <[email protected]>

	* EditCommandColumn.cs: Use a normal LinkButton.

2005-08-12  Jackson Harper  <[email protected]>

	* TableRow.cs: No AutoID for TableRows.

2005-08-12  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateRenderColumns): If we aren't using data
	binding grab the rendercols from the data source columns.
	(LoadViewState): Restore the bound columns when reloading the
	viewstate.
	(InitializeNumericPager): Create elipsised pagers.
	(CreateItem): Don't set the item's ID.
	(CreateItem): Add the control to the table before it is databound
	so that it's value is saved in the viewstate.
	(CreateControlHierarchy): Create a fake data source when not using
	databinding. Don't add controls to the table as they are added in
	CreateItem now.
	(PrepareControlHierarchy): Make footers and header non visible if
	they aren't enabled.

2005-08-12  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Set the controls text instead of adding a
	literal control. So it is saved in the controls viewstate.

2005-08-11  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Set the tabindex on the checkbox control and
	don't render it on the main table (Setting it to zero causes it to
	not be rendered). Also use the invariant culture on the id.

2005-08-10  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Respect paging with all data source types.

2005-08-08  Jackson Harper  <[email protected]>

	* DataGrid.cs: Apply the styles to each item type. 

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: If paging is not enabled keep enumerating to
	the end of the list.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Don't make the current page index a link in the
	pager.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Honour PagerPosition.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Round PageCount properly.

2005-08-04  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add a new space control for each link. Also make
	the link's text 1 indexed. Don't add the space after the last
	item.

2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Respek for the thisExpr when data binding.

2005-08-03  Jackson Harper  <[email protected]>

	* ButtonColumn.cs: Partial implementation.

2005-08-03  Jackson Harper  <[email protected]>

	* DataGrid.cs: Merge the table style with the render table. Some
	initial work on the numeric pager. Remove some debugging code.
	
2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Implement Initialize and InitializeCell. When
	Data is formated it uses the DataFormatString that was set at the
	time Initialize was called (or null if initialize was never
	called).

2005-08-01  Jackson Harper  <[email protected]>

	* TableStyle.cs: Copy style bit when copying from another style.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement missing properties, use yield for
	the Enumerator methods. Only allow the enums to return one page at
	a time.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Set the command name and args on the link buttons.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Lots o implementation.

2005-07-25  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Partial implementation to get the DataGrid tests
	passing again.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Store the data source created columns in a 
	  DataGridColumnCollection. This way they can be put in the 
	  view state more easily, and accessed without casting.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Save the data source created column set in the 
	  view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: column names are cached and only regenerated if useDataSource
	  is set to true. Otherwise they are just fetched from the last set that 
	  was generated from the source.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Assign some properties of newly created BoundColumns.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add some of the collections. Implement
          column creation.

2005-07-20  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement GetItemProperties, this is
	  needed for the datagrid.

2005-07-19  Jackson Harper  <[email protected]>

	* ListControl.cs: Use Events Add/RemoveHandler. Don't create
	  a viewstate object if all the viewstate stuff is null.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement style properties and viewstate 
	  saving/loading/tracking.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement bubble event.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: New implementation. Just properties and events for 
	  now.

2005-07-18  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Implement LoadPostBackData. Also register 
	  checkboxes for postback if they are checked so we can find
	  out when they are unchecked. Copy the AutoPostBack variable 
	  to the to be rendered checkbox when rendering.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Use the index as the ID, the rest of the 
	  id is built by being in the NamingContainer.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use enum instead of string. Saves a lookup. 

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: FindControl always returns 'this' according
	  to my probing.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: New impl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControl.cs: Use the ClientID when rendering a controls ID
	  attribute so that naming containers are honoured. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: use the state manager interface for tracking
	  the viewstate.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Simplify comparison. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs:
	* Repeater.cs: Use new utility class for resolving data sources.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Add attributes so the sub items get parsed 
	  properly. Remove old unneeded code for resolving lists.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use the DataSourceHelper so DataMembers are 
	  resolved properly.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Use DataBinder.Eval for data binding. This is more
	code-reuse-arific. Also use the IStateManager interface for loading
	data instead of the old internal method.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Initial implementation of Databinding. Make sure
	that the ListItemCollection is created when we load its ViewState. 

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Fix typo.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: New Implementation. Lacks databinding support.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Some parameter checking.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Use invariant culture when doing a ToString,
	  set value to the item's value, not to its Text.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: Even track default values in the viewstate. Call
	  base's RenderContents.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: New impl.

2005-07-08  Jackson Harper  <[email protected]>

	* Literal.cs: New implentation.
	* MonthChangedEventArgs.cs: new
	* MonthChangedEventHandler.cs: new
	
2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedeventArgs.cs: New implementation.

svn path=/trunk/mcs/; revision=48920
2005-08-26 22:27:06 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Kornél Pál 83946b2158 Replaced assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47823
2005-07-28 23:46:29 +00:00
Lluis Sanchez fb0ff612f6 2005-05-06 Lluis Sanchez Gual <[email protected]>
* TreeNode.cs:
	* TreeView.cs:
	* Menu.cs: Implemented some new properties from beta 2.
	
	* DataControlButton.cs: Render the ControlStyle if it
	is not empty.
	
	* UnitConverter.cs:
	* FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
	It will now generate an object creation, instead of a Parse call. 
	
	* GridViewCommandEventArgs.cs: Added missing property.
	* SubMenuStyleCollection.cs: This class is not sealed.
	* MultiView.cs: Set Visible=false to all views that are not
	shown. This ensures that it's view state is saved. 
	
	* BaseDataBoundControl.cs:
	* GridViewDeletedEventArgs.cs: Minor api fixes.
	
	* FormViewDeleteEventArgs.cs:
	* DetailsViewDeletedEventArgs.cs:
	* ListControl.cs: Fix warnings.
	
	* CircleHotSpot.cs
	* HotSpot.cs
	* HotSpotCollection.cs
	* ImageMap.cs
	* PolygonHotSpot.cs
	* RectangleHotSpot.cs
	* WizardStepCollection.cs : Implemented.
	
	* WizardStep.cs
	* WizardStepBase.cs
	* Wizard.cs: Initial implementation.


svn path=/trunk/mcs/; revision=44148
2005-05-06 16:41:50 +00:00
Lluis Sanchez 494e5c582e 2005-05-04 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs:
	* CommandField.cs: 
	* GridView.cs:
	* FormView.cs:
	* DataControlCommands.cs:
	* DetailsView.cs: Use constants to identify commands.

	* SubMenuStyle.cs: Use Unit instead of int for padding.
	* SubMenuStyleCollection.cs: Implemented.
	
	* DataList.cs:
	* Menu.cs: Added some missing methods and properties.
	
	* Literal.cs:
	* DataGridPagerStyle.cs: Fixed default value attributes.
	* ListControl.cs: Implemented IEditableTextControl interface.
	
	* MenuItemBinding.cs: Added Selectable property.
	* CustomValidator.cs: removed interface.
	
	* MenuItem.cs: Added support for custom binding. 
	* DropDownList.cs: Moved text properties to base class.


svn path=/trunk/mcs/; revision=44009
2005-05-04 08:53:30 +00:00
Lluis Sanchez 2e3c283553 2005-03-16 Lluis Sanchez Gual <[email protected]>
* ListControl.cs: Load selected indices in the right place. Fixes #73745.


svn path=/trunk/mcs/; revision=41885
2005-03-16 11:01:05 +00:00
Lluis Sanchez 6813c16ab1 2005-03-04 Lluis Sanchez Gual <[email protected]>
* DataKey.cs: Implemented.
	* XmlDataSourceView.cs: Implemented support for row pagging.
	* Table.cs: Fixed attribute value.
	* DataControlField.cs: Added support for sorting headers.
	* ChildTable.cs: Created.
	* ListControl.cs: Delay selection assignment, since control state
	is now loaded before view state.
	* GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
	GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
	several missing properties.
	* PagerSettings.cs: Fully implemented.
	* BaseDataList.cs: Added null check.
	* GridView.cs: Implemented more functionality.
	* BoundField.cs: Added support for cell editing.
	* StringArrayConverter.cs: Implemented.
	* DataKeyArray.cs: Implemented.
	* BaseDataBoundControl.cs: Reset the requires binding flag before
	executing the query. This avoids recursive query calls.
	* GridViewRow.cs: Handler commands raised from row childs.


svn path=/trunk/mcs/; revision=41455
2005-03-04 18:05:31 +00:00
Lluis Sanchez 0991e0512b 2005-02-16 Lluis Sanchez Gual <[email protected]>
* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
	* RadioButton.cs: Added missing 2.0 methods.
	* ListItem.cs: Added Enabled property.
	* MailMessageEventArgs.cs: Use the correct message class.
	* ListControl.cs: Implemented missing properties and support for
	control state. Implemented base RenderContents method.
	* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
	properties.
	* BaseCompareValidator.cs: Implemented methods that support conditional
	use of the invariant culture.
	* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
	* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
	It takes a DbCommand instead of a IDbCommand.
	* GridViewSortEventArgs.cs: Added SortDirection property.
	* TextBox.cs, CheckBoxList.cs: Added protected version of
	IPostBackDataHandler methods.
	* RadioButtonList.cs: Added protected version of
	IPostBackDataHandler and IRepeatInfoUser methods.
	* Repeater.cs: Updated some method names.
	* DropDownList.cs:  Added protected version of
	IPostBackDataHandler methods. Reuse RenderContents from base class.
	* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
	* GridViewUpdatedEventArgs.cs: Fix typo.
	* ListBox.cs: Added protected version of IPostBackDataHandler methods.
	Reuse RenderContents from base class.
	* BaseDataBoundControl.cs: Several fixes.
	* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.


svn path=/trunk/mcs/; revision=40772
2005-02-16 20:42:06 +00:00
Lluis Sanchez 300c4162b7 2005-02-02 Lluis Sanchez Gual <[email protected]>
* Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
	CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
	ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
	DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
	RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
	BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
	IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
	RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
	RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
	CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
	QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
	CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
	RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
	DataGridSortCommandEventArgs.cs, Repeater.cs,
	MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
	XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
	Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, HierarchicalDataBoundControl.cs,
	EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
	ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
	ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
	WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
	ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
	LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
	AdCreatedEventArgs.cs:
	
	General 2.0 API fixes: missing attributes, incorrect inheritance,
	missing sealed keywords, wrong signatures, etc.


svn path=/trunk/mcs/; revision=39994
2005-02-02 16:24:08 +00:00