Commit Graph
44 Commits
Author SHA1 Message Date
Marek Habersack f2f50f05da 2010-07-15 Marek Habersack <[email protected]>
* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
	property

	* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

svn path=/trunk/mcs/; revision=160448
2010-07-15 16:51:09 +00:00
Marek Habersack 2d668e9583 2010-06-21 Marek Habersack <[email protected]>
* BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
    	CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
    	HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
    	ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
    	RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
    	ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
    	instead of Enabled wherever necessary.

svn path=/trunk/mcs/; revision=159280
2010-06-21 18:41:51 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Igor Zelmanovich 712170aab7 2007-03-01 Igor Zelmanovich <[email protected]>
* Repeater.cs: fixed: data-binding flow for 2.0 features.


svn path=/trunk/mcs/; revision=73591
2007-03-01 14:56:37 +00:00
Adar Wesley 0253ad0451 2007-01-17 Adar Wesley <[email protected]>
* Repeater.cs: refactored GetData to return data both from DataSource
        and DataSrouceID, Implemented EnableTheming, updated initialization of
        DataBinding according to the pattern of BaseDataBoundControl, fixed
        SelectArguments implementation to call the virtual
        CreateDataSourceSelectArguments method.


svn path=/trunk/mcs/; revision=71190
2007-01-17 13:46:30 +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
Gonzalo Paniagua Javier a1a95d8909 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Button.cs: do something in PostBackUrl.
	* Repeater.cs: when creating the RepeaterItemCollection, initialize
	'items' if it hasn't been done yet. Fixes bug #78417.


svn path=/trunk/mcs/; revision=61718
2006-06-14 22:08:02 +00:00
Vladimir Krasnov 896ba68cb4 Repeater.cs: fixed ConnectToDataSource method, subscribed to DataSourceViewChanged, looks for a datasource in its parent control
fixed GetData method, should not get data if datasource is null

svn path=/trunk/mcs/; revision=61658
2006-06-13 12:55:51 +00:00
Gonzalo Paniagua Javier 18058a0514 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.


svn path=/trunk/mcs/; revision=52189
2005-10-25 16:46:37 +00:00
Sebastien Pouliot 2493a78c34 2005-09-23 Sebastien Pouliot <[email protected]>
* FontUnit.cs: Added, but only for 1.x, declarative security (Link and
	Inheritance demands) for Minimal.
	* Label.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ListItem.cs: Added declarative security (LinkDemands) for Minimal.
	* ListItemCollection.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* MonthChangedEventArgs.cs: Added declarative security (Link and, for 
	2.0, Inheritance demands) for Minimal.
	* PagedDataSource.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* Panel.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* Repeater.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
	* SelectedDatesCollection.cs: Added declarative security (LinkDemands)
	for Minimal.
	* TargetConverter.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.
	* Unit.cs: Added, but only for 1.x, declarative security (Link and 
	Inheritance demands) for Minimal.
	* ValidatedControlConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* WebColorConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* Xml.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ValidationSummary.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.


svn path=/trunk/mcs/; revision=50572
2005-09-23 14:10:35 +00:00
Chris Toshok a98ac632a7 2005-09-02 Chris Toshok <[email protected]>
* Repeater.cs (GetData): change this slightly so the Repeater
	doesn't keep a ref to the return value of GetData.


svn path=/trunk/mcs/; revision=49361
2005-09-02 17:22:17 +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
Gonzalo Paniagua Javier 24a9eb0e15 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix the build.


svn path=/trunk/mcs/; revision=49238
2005-09-01 01:38:22 +00:00
Chris Toshok 113a081ad4 2005-08-31 Chris Toshok <[email protected]>
* Repeater.cs: lots of 2.0 work, much of it c&p'ed from
	{Base}DataList, and also from debug spew garnered from some
	Repeater subclass tests on MS.
	(CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
	the IEnumerable by calling GetData().
	(DataBind): reset RequiresDataBinding to false (2.0).
	(DataMember): copy the set implementation from DataList, and add
	2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
	(DataSource): more c&p.
	(DataSourceID); implement (2.0)
	(Initialized): implement (2.0)
	(IsBoundUsingDataSource): implement (2.0)
	(RequiresDataBinding): implement (2.0)
	(SelectArguments): implement (2.0)
	(CreateDataSourceSelectArguments): implement (2.0)
	(EnsureDataBound): implement (2.0)
	(GetData): implement.
	(OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
	(2.0)
	(OnDataSourceViewChanged): set RequiresDataBinding to true, but
	leave the MonoTODO. (2.0)
	(OnInit): call base.OnInit instead of throwing NIE, but leave the
	MonoTODO (2.0)
	(OnLoad): implement.
	(OnPreRender): implement.
	(ConnectToDataSource): new method - look for the right control.


svn path=/trunk/mcs/; revision=49234
2005-08-31 23:40:32 +00:00
Ben Maurer 8a626a981c 2005-08-04 Ben Maurer <[email protected]>
* CalendarTest.cs: Test based on an msdn example. Again, I (heart)
	anonymous methods.

2005-08-03  Ben Maurer  <[email protected]>

	* RepeatInfoTest.cs: Test for copying from base control

	* WebControlTest.cs: Issue I found while doing repeatinfo

	* LabelTest.cs: New tests.

	* PanelTest.cs: New tests

2005-07-30  Ben Maurer  <[email protected]>

	* RepeatInfoTest.auto.cs: Regen.

	* RepeatInfoTest.gen.cs: Autogenerate tests for 0 items

2005-07-26  Ben Maurer  <[email protected]>

	* RepeatInfoTest.cs: Remove tests that are contained below

	* RepeatInfoTest.auto.cs: Generated tests.

	* RepeatInfoTest.gen.cs: A test generator for repeatinfo

2005-07-20  Ben Maurer  <[email protected]>

	* DropDownListTest.cs (InitialSelectionMade): Add a test for a
	regression that seems to be caused by some change to
	ListItemCollection. Add this file to sources as all tests other
	than this pass using the old impl of ddl except for this, which is
	a regression.

2005-07-19  Ben Maurer  <[email protected]>

	* UnitConverterTest.cs: New tests

2005-07-07  Ben Maurer  <[email protected]>

	* FontUnitTest.cs: Make it run on msft

2005-08-05  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Option is rendered as a block.

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: I fixed the nested indents

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Enable some indentation tests, others
	need to be disabled

2005-07-12  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Enable some tests

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: The style attr thing below seems to be a
	2.0 ism. Add tests for indentation.

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Add a test for popping end tags working
	correctly.

	* ToolboxDataAttributeTest.cs: Don't depend on the way that hash
	values are generated. Also, use built strings rather than stuff
	from ldstr to make the test a bit stronger.

	* PropertyConverterTest.cs: Make this pass on MSFT 1.1

2005-07-08  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Update notworking

2005-07-07  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: More tests.

2005-08-04  Ben Maurer  <[email protected]>

	* HttpContext.cs: Kill a NIE.

2005-07-30  Ben Maurer  <[email protected]>

	* HtmlForm.cs: Make sure we actually put the "?" in the url

2005-08-05  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Revert the patch below, see test case

2005-08-03  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Optmize this not to do insane amounts of
	allocation for large pages, etc.

2005-07-29  Ben Maurer  <[email protected]>

	* StateBag.cs: Don't remove when tracking viewstate, as per msft
	docs.

2005-07-29  Ben Maurer  <[email protected]>

	* StateBag.cs: Actually *remove* items that are null. Duh.

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Fix nested indentation

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Fix indentation (somewhat at least)

2005-07-17  Ben Maurer  <[email protected]>

	* AttributeCollection.cs: Use the invariant culture.

	* StateBag.cs: "Duh" optimization: return null when there are no
	dirty items in the view state

2005-07-14  Ben Maurer  <[email protected]>

	* StateBag.cs: A "short" version of my favorite method.

	* HtmlTextWriter.cs: New method to get the tag name staticly.

2005-07-13  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Remove debugging spew. Style cleanup

2005-07-12  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Make styles work.

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Missing a PopEndTag here.

	* PropertyConverter.cs: Pass tests

2005-07-08  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Much better compliance with msft

2005-07-07  Ben Maurer  <[email protected]>

	* StateBag.cs: Noticed an issue where SetDirty was called when the
	key did not exist.

2005-07-07  Ben Maurer  <[email protected]>

	* StateBag.cs: Add a method that gets a string or else a default
	value.

2005-07-06  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Make sure to clear attributes when they are
	written.

	* StateBag.cs: New impl

2005-07-15  Ben Maurer  <[email protected]>

	* DataSourceHelper.cs: Obsolete

	* DataSourceResolver.cs: Moved from DataSourceHelper.

2005-07-14  Ben Maurer  <[email protected]>

	* DataSourceHelper.cs: Helper method used for data binding.

2005-08-04  Ben Maurer  <[email protected]>

	* LinkButton.cs: Fix up the test suite here.

	* Panel.cs: Fix up nowrap

2005-08-03  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Finally figured out how to use base control

2005-07-31  Ben Maurer  <[email protected]>

	* TextBox.cs: Html encode for multiline text boxes

	* HyperLink.cs: Resolve images

2005-07-30  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Handle 0 items situations correctly

	* HyperLink.cs: Resolve urls correctly

	* CheckBox.cs: use the correct ID for the label element.

	* Label.cs: Correct AddParsedSubObject impl. See FAQ

2005-07-29  Ben Maurer  <[email protected]>

	* Label.cs: ClientID should be used rather than UniqueID to get
	the For attribute

2005-07-29  Ben Maurer  <[email protected]>

	* RadioButton.cs: The "remove from groupstate" isn't needed any
	more, now that statebag is correct.

2005-07-28  Ben Maurer  <[email protected]>

	* CompositeControl.cs: Stub

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
	cracktastic.
	
2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: If the repeater has one column, the separators
	are rendered on a different line

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Split the horiz and vertical cases, because this
	class has rules that are beyond strange. Continue working to make
	my tests work.

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Misc fixes for my test suite.

2005-07-22  Ben Maurer  <[email protected]>

	* HyperLink.cs: Handle non-literal children.

2005-07-21  Ben Maurer  <[email protected]>

	* Label.cs: SP1 stuff

2005-07-21  Ben Maurer  <[email protected]>

	* TextBoxMode.cs: Wrong ordering of enum...

2005-07-21  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Fix most of the tests.

2005-07-20  Ben Maurer  <[email protected]>

	* SelectedDatesCollection.cs: Apprarently, I don't write code well
	at 1 am.

	* Repeater.cs: Uh, actually add stuff to the items collection
	 (thanks sp ;-)

2005-07-20  Ben Maurer  <[email protected]>

	* DataGridColumnCollection.cs: New impl

	* TemplateColumn.cs: New impl

2005-07-19  Ben Maurer  <[email protected]>

	* FontUnit.cs: Corcompare fixes

	* UnitConverter.cs: Fix api diffs

2005-07-18  Ben Maurer  <[email protected]>

	* ListControl.cs: Fix api differences

2005-07-18  Ben Maurer  <[email protected]>

	* TextBox.cs: Finish this up.

	* AdRotator.cs: Fix issues in the test suite. Minor style
	cleanups.

	* Repeater.cs: Fix a bug where the datasource is null and we do
	the binding

	* WebColorConverter.cs: Optimize by not doing a concat on a
	formatted string.

2005-07-17  Ben Maurer  <[email protected]>

	* ListItemCollection.cs: Multiple uses of equals rather than
	string.compare as below. Remove unreachable code warning.

	* WebColorConverter.cs (ConvertTo): Use the == operator on string
	rather than an invariant non-case ignoring compare. They are
	exactly the same thing. Use proper coding style in this method.

	* WebControl.cs: Return null when saving the view state if there
	is no state in any of the things we save. This creates a fairly
	large savings, because we can avoid saving anything about many
	levels of deaply nested controls.

2005-07-15  Ben Maurer  <[email protected]>

	* Repeater.cs (DoItem): Add the DataItem before we call user
	methods, as it seems to be there with msft.

2005-07-15  Ben Maurer  <[email protected]>

	* Repeater.cs (DoItem): We need to .Add the control *before* we
	data bind it so that the state gets tracked correctly. Fixes the
	postback test case.

2005-07-14  Ben Maurer  <[email protected]>

	* WebControl.cs:
	  - Some optimizations
	    * Don't use enum formatting stuff, it is 1) expensive 2) does 
	      allocations. Use a new method in HtmlControl to do the right
	      formatting.
	    * Don't use Enum.IsDefined but an explicit check.
	    * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
	  - Use the correct coding style.
	
2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: Cleanup; use the DataSourceHelper thingy.

2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: Get it working

2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: The beginnings of this control

2005-07-13  Ben Maurer  <[email protected]>

	* RepeaterItem.cs: Compile fix

	* RepeaterItemCollection.cs: New file

	* RepeaterItem.cs: get OnBubbleEvent right.

2005-07-13  Ben Maurer  <[email protected]>

	* RepeaterItem.cs: Stub

2005-07-13  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Impl.

2005-07-12  Ben Maurer  <[email protected]>

	* ListItem.cs: New impl.

2005-07-12  Ben Maurer  <[email protected]>

	* TextBox.cs: Passwords seem 1) not to be rendered to the client
	if set, 2) not kept in view state (for security reasons...)

	* LinkButton.cs: 
	* Button.cs: Page.Validate () if needed. Gets the validator tests
	working again.

	* TextBox.cs: Properties to get the validator stuff to work.

2005-07-11  Ben Maurer  <[email protected]>

	* LinkButton.cs: 
	* Button.cs: Bubble the Command event.

2005-07-11  Ben Maurer  <[email protected]>

	* Button.cs:
	  - Clean up style (with my wonderful state bag hack!)
	  - Fix a view state typo.
	  - Use AddAttributesToRender
	  - Don't add an extra <span>

2005-07-09  Ben Maurer  <[email protected]>

	* TextBox.cs: More work on this

2005-07-09  Ben Maurer  <[email protected]>

	* TextBox.cs: Add the work I did on this today. It's not complete
	yet, but its a start!

2005-07-08  Ben Maurer  <[email protected]>

	* LinkButton.cs: Command impl

2005-07-08  Ben Maurer  <[email protected]>

	* LinkButton.cs: Initial impl

2005-07-07  Ben Maurer  <[email protected]>

	* PlaceHolderControlBuilder.cs: new file

	* LabelControlBuilder.cs: New file

	* HyperLink.cs: use control builder; fix parsing stuff

	* HyperLinkControlBuilder.cs: new file

	* Panel.cs: misc fixes

2005-07-07  Ben Maurer  <[email protected]>

	* PlaceHolder.cs: New file. Seems to do nothing

	* Label.cs: Use my new statebag trick to reduce typing

	* HyperLink.cs: New file

2005-07-06  Ben Maurer  <[email protected]>

	* Unit.cs: cctor not needed; static fields are 0 init'd by default

	* WebControl.cs: Kothari & Datye's book explains how these work.

	* IRepeatInfoUser.cs: Reimpl.

svn path=/trunk/mcs/; revision=48921
2005-08-26 22:27:41 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Lluis Sanchez 3139788397 2005-02-18 Lluis Sanchez Gual <[email protected]>
* Style.cs: Method name fix.
	* HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
	* BaseCompareValidator.cs: Method signature fix.
	* CollectionDataSource.cs: Implemented DataSource wrapper for collections.
	* BaseDataList.cs, Repeater.cs: Fixed data binding code.
	* BulletedList.cs: Added missing method.
	* DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.


svn path=/trunk/mcs/; revision=40887
2005-02-18 20:38:29 +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
Sanja Gupta c07af6cb8a ChangeLog: Updated.
BaseDataList.cs:
DataBountControl.cs:
Repeater.cs: Added SelectArguments property and updated.
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Removed extra method, which was there to keep 
                      things compiling.


svn path=/trunk/mcs/; revision=36515
2004-11-25 04:20:53 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Alon Gazit 09c0ac42ad fixed InstantiateItem() and DataSource property.
The change in DataSource prevents throwing ArgumentException while
setting property value to null.
The change in InstantiateItem() prevents NullReferenceException.

svn path=/trunk/mcs/; revision=25658
2004-04-18 07:39:27 +00:00
Alon Gazit c5a41569cd Change the implementation of CreateControlHierarchy().
The current implementation renders extra Header and footer
without Repeater.DataSource assign.

svn path=/trunk/mcs/; revision=21165
2003-12-15 12:29:42 +00:00
Ben Maurer 19d8d5d139 2003-11-09 Ben Maurer <[email protected]>
* DataBoundControl.cs: Implement
	* ListControl.cs: inherit from the above.
	* Repeater.cs, BaseDataList.cs: should reset whenever we databind.

svn path=/trunk/mcs/; revision=19773
2003-11-10 00:15:45 +00:00
Ben Maurer 31d94eec92 2003-11-09 Ben Maurer <[email protected]>
* BaseDataList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* Repeater.cs: add v2 databinding stuff
	* XmlDataSource.cs: make it load the xml.

svn path=/trunk/mcs/; revision=19771
2003-11-09 21:50:27 +00:00
Jackson Harper ea32ed9304 * Repeater.cs: Always set alternating items to the AlternatingItem
type, when instantiating alternating items use the itemTemplate if
	the alternatingItem template is null. This matches MS behavoir and
	fixes bug #50157.

svn path=/trunk/mcs/; revision=19610
2003-11-04 06:02:35 +00:00
Jackson Harper 1cd861426c * Repeater.cs: Throw an exception if the datasource is set to
something that does not implement either IListSource or
	IEnumerable. This fixes bug #50155.

svn path=/trunk/mcs/; revision=19483
2003-10-30 09:00:24 +00:00
Gonzalo Paniagua Javier 27fe74af5e Check for null
svn path=/trunk/mcs/; revision=18455
2003-10-01 01:19:06 +00:00
Gonzalo Paniagua Javier 3a8ee6fc47 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
	* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
	to use a DummyDataSource and ClearViewState only called when no items.

svn path=/trunk/mcs/; revision=18351
2003-09-28 14:17:02 +00:00
Gonzalo Paniagua Javier 654ed1b737 2003-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix for Items property provided by [email protected]
	(Yaron Shkop). Closes bug #48060.

svn path=/trunk/mcs/; revision=17765
2003-08-31 14:45:11 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Gonzalo Paniagua Javier d1062e5f1d Moved from System.Web.Utils to System.Web.Util
svn path=/trunk/mcs/; revision=7041
2002-08-26 00:57:47 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Gonzalo Paniagua Javier 47418d0455 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
	* DataGridPagerStyle.cs:
	* DataList.cs:
	* DataListItem.cs:
	* Image.cs:
	* LinkButton.cs:
	* ListControl.cs:
	* ListItem.cs:
	* ListItemCollection.cs:
	* Repeater.cs:
	* ServerValidateEventArgs.cs:
	* Style.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: more class status page based changes.

svn path=/trunk/mcs/; revision=5508
2002-06-30 23:24:53 +00:00
Gonzalo Paniagua Javier 087e90c0ff 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs:
	(AddedControl): new function that is called whenever a control is
	added to a collection of controls in a container. It sets the defaults
	except for Page.

	* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.

	* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
	Text, Render, SetStaticString and SetDataBoundString.

	* System.Web.UI/Page.cs: removed SetDefaults.

	* System.Web.UI.WebControls/Repeater.cs: implemented
	CreateControlHierarchy. Fixed some event processing methods.

svn path=/trunk/mcs/; revision=5357
2002-06-20 07:59:53 +00:00
Gonzalo Paniagua Javier 865ba07b1a 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/CompiledTemplateBuilder.cs: new file. Used in the
	code generated by xsp.

	* System.Web.UI/Control.cs:
	(BindingContainer): implemented.
	(EnsureChildControls): avoid stack overflow.

	* System.Web.UI/DataBinder.cs: implemented Eval and PropertyValue.

	* System.Web.UI.WebControls/Repeater.cs:
	(Controls):
	(OnDataBinding): fixed stack overflow.

	Still need more work in Repeater.cs to make it render.

svn path=/trunk/mcs/; revision=5345
2002-06-19 14:49:12 +00:00
Duncan Mak 1c3bd71d78 2002-05-24 Duncan Mak <[email protected]>
* Repeater.cs (OnItemCommand):
	(OnItemCreated):
	(OnItemDataBound): Added necessary casts.

	* StateBag.cs (Item): Changed the visibility level of the this
	[object] indexer.

svn path=/trunk/mcs/; revision=4914
2002-05-24 19:46:06 +00:00
Gaurav Vaish dae3fc6fcb 2002-03-27 Gaurav Vaish <[email protected]>
* More error corrections....

svn path=/trunk/mcs/; revision=3390
2002-03-27 03:27:27 +00:00
Gaurav Vaish 50378fcdd2 2002-03-26 Gaurav Vaish <[email protected]>
* Web/*.cs  -- Added attribute definitions.
* Web/ChangeLog -- Notification

* Web.UI.WebControls/*.cs -- Patches, to make build get going..

svn path=/trunk/mcs/; revision=3367
2002-03-26 17:49:40 +00:00
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish 3f49b7b255 2002-03-04 Gaurav Vaish <[email protected]>
* Repeater.cs -- 90% done.

* ChangeLog -- DON'T MISS THIS UPDATE. This reveals a lot about what is done,
 is being done and what is left out.

************************************************************
THIS COMPLETES MY TASK IN WebControls for the time being.
************************************************************

svn path=/trunk/mcs/; revision=2884
2002-03-04 15:06:29 +00:00
Gaurav Vaish f414ffd111 2002-03-03 Gaurav Vaish <[email protected]>
* Repeater.cs  -- File added to CVS. Will work on it sometime later. Feeling
 sleepy - at 2:30 in the afternoon. ;-)

svn path=/trunk/mcs/; revision=2870
2002-03-04 05:05:37 +00:00