Commit Graph
20 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 6ea0412c5b 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fix IsLastPage. All tests pass.
	* DataGrid.cs: InitializePager always add a cell and it's brand new. No
	need to keep the old one in a field. Now all tests pass here too.


svn path=/trunk/mcs/; revision=50983
2005-09-29 05:23:34 +00:00
Gonzalo Paniagua Javier 3d8f5432c4 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: don't use the properties when they just return a
	field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
	before ICollection (otherwise, an IList will always fall under the
	ICollection case). The enumerator for lists will be empty if 'start'
	is beyond the list size. All existing tests pass, but one in
	DataGridTest that fails because of some problem with the paging.


svn path=/trunk/mcs/; revision=50972
2005-09-28 21:42:00 +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
Jackson Harper 47ec50c25c * PagedDataSource.cs: If it's not a list or collection we don't
use a bounded enumerator.


svn path=/trunk/mcs/; revision=49079
2005-08-29 18:26:43 +00:00
Duncan Mak 2008a1011b 2005-07-21 Duncan Mak <[email protected]>
* HyperLinkColumnTest.cs: Added new test for HyperLinkColumn.

2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSourceTest.cs: Added testcases.
	(PageCountTest, CountTest, IsLastPageTest): Needs more work.

2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs (TestDefaultConstructor):
	This test should pass now.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs: Aded new test. Used to find
	out how a typename is derived from a Type. (It uses
	AssemblyQualifiedName, and not FullName)
	
2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Fixed after receiving some
	comments from Gonzalo.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Implemented.

2005-07-21  Duncan Mak  <[email protected]>

	* HyperLinkColumn.cs: Initial implementation.
	Todo: Figure out Initialize and InitializeCell.

2005-07-21  Duncan Mak  <[email protected]>

        * DataGridCommandEventArgs.cs: 
        * DataGridPageChangedEventArgs.cs: 
        * RepeaterCommandEventArgs.cs:  Fixed visibility.

	* DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
	* DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
	
2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSource.cs: Initial implementation.

	Methods that need to be figured out:
	CopyTo, GetItemProperties, PageCount, IsLastPage.

	To complete: CollectionEnumerator, ListEnumerator.

2005-07-13  Duncan Mak  <[email protected]>

	* RepeatDirection.cs:
	* RepeatLayout.cs:
	* ValidationCompareOperator.cs:
	* ValidationDataType.cs:
	* ValidationSummaryDisplayMode.cs: 
	* ValidatorDisplay.cs: Added remaining enumerations.
	
2005-07-12  Duncan Mak  <[email protected]>

	* DayNameFormat.cs: Added.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventHandler.cs:
	* DataGridCommandEventHandler.cs:
	* DataGridItemEventHandler.cs:
	* DataGridPageChangedEventHandler.cs:
	* DataGridSortCommandEventHandler.cs:
	* DataListCommandEventHandler.cs:
	* DayRenderEventHandler.cs:
	* RepeaterCommandEventHandler.cs:
	* ServerValidateEventHandler.cs: Add delegates.
	
	* ListItemType.cs:
	* ListSelectionMode.cs:
	* NextPrevFormat.cs:
	* PagerMode.cs
	* PagerPosition.cs: Add enums.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventArgs.cs:
	* DataGridCommandEventArgs.cs:
	* DataGridItemEventArgs.cs:
	* DataGridPageChangedEventArgs.cs:
	* DataGridSortCommandEventArgs.cs:
	* DataListCommandEventArgs.cs:
	* DataListItemEventArgs.cs:
	* DayRenderEventArgs.cs:
	* RepeaterCommandEventArgs.cs:
	* RepeaterItemEventArgs.cs:
	* ServerValidateEventArgs.cs: Implemented.
	

svn path=/trunk/mcs/; revision=48916
2005-08-26 22:23:07 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Gonzalo Paniagua Javier 803a0337dd 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
	1 when there's a datasource and 0 pages. Closes bug #73864.


svn path=/trunk/mcs/; revision=45086
2005-05-26 23:06:52 +00:00
Lluis Sanchez 833d48dadb 2005-04-21 Lluis Sanchez Gual <[email protected]>
* FormViewDeleteEventArgs.cs:
	* FormViewInsertEventArgs.cs:
	* FormViewUpdateEventArgs.cs:
	* FormViewDeletedEventArgs.cs:
	* FormViewUpdatedEventArgs.cs:
	* FormViewInsertedEventArgs.cs: Implemented some missing properties.
	
	* LinkButton.cs:
	* IButtonControl.cs:
	* Button.cs: Removed SoftKey property.
	
	* CheckBox.cs: Don't try to load post back data if the control
	is disabled.
	
	* ImageField.cs:
	* AutoGeneratedField.cs:
	* DataControlField.cs:
	* CommandField.cs:
	* ButtonFieldBase.cs:
	* BoundField.cs:
	* CheckBoxField.cs:
	* TemplateField.cs:
	* ButtonField.cs: Don't bind fields in Insert state.
	Implemented CreateField and CopyProperties.
	
	* GridView.cs:
	* DetailsView.cs: Removed some unneeded interfaces. Don't
	generate the field rows if there are no items in the data source.
	Don't get the current keys until the whole control has been
	bound.

	* DetailsViewInsertedEventArgs.cs:
	* DataBoundControl.cs:	
	* ObjectDataSourceView.cs: Made some methods private.
	
	* MenuItemStyle.cs:
	* Menu.cs: Changed some properties from int to Unit.
	
	* DataControlButton.cs: javascript prefix is needed when raising
	the postback event from a link.
	
	* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
	The result was wrong when the total data source count was 0.
	
	* FormView.cs: Implemented.
	* FormViewRow.cs: Implemented.
	
	* Literal.cs:
	* Localize.cs: Fixed base interface.
	
	* BaseDataBoundControl.cs: In DataBind() call the base class
	DataBind method, so the binding context is properly set.


svn path=/trunk/mcs/; revision=43410
2005-04-21 16:14:46 +00:00
Lluis Sanchez 587f051b70 2005-03-23 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs: Added missing InsertVisible property.
	* AutoGeneratedFieldProperties.cs: Implemented.
	* PagerSettings.cs: Minor fix.
	* GridView.cs: Implemented support for autogenerated fields, templates,
	accessible headers. Implemented paging using PagedDataSource.
	Implemented missing overridable methods.
	* AutoGeneratedField.cs: Initial implementation.
	* BoundField.cs: Added ReadOnly property.
	* PagedDataSource.cs: Implemented 2.0 api.
	* DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
	cell class to be used by accessible headers.
	* TableCell.cs: Removed unneded constructor. If the cell is bound to
	a template, call the default RenderContents method.


svn path=/trunk/mcs/; revision=42154
2005-03-23 17:20:57 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Jackson Harper 171a7610c5 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Increment counter when moving to start. Fixes bug #51926.

svn path=/trunk/mcs/; revision=20940
2003-12-09 20:02:21 +00:00
Jackson Harper 925fc6f10b * PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
	* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
	* TableStyle.cs (AddAttributesToRender): Render border style
	collapse. Patch by Yaron Shkop.
	* TableStyle.cs:
	* TableItemStyle.cs:
	* DataGridPagerStyle.cs: Call base copy and merge even if style is of
	the wrong type. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19605
2003-11-03 23:34:55 +00:00
Jackson Harper fb31b4118a * PagedDataSource.cs:
* DataGrid.cs: Patch by [email protected]. Do not go past the
	end of the last page. Fixes bug #5085.

svn path=/trunk/mcs/; revision=19466
2003-10-29 21:32:33 +00:00
Ben Maurer eb65169f48 2003-10-25 Ben Maurer <[email protected]>
* PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
	paging from working. Fixes #48814.

svn path=/trunk/mcs/; revision=19392
2003-10-25 20:18:51 +00:00
Gaurav Vaish 021c2720cf 2002-09-12 Gaurav Vaish <[email protected]>
* PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
* DataGrid.cs          - CreateControlHierarchy(bool)
                            : working towards completion.
    	                       - ResolveDataSource(object, string)
       	                            : stubbed new method
    	                       - CreateItem(....)
       	                            : stubbed new method
    	                Well. It's almost done.
* DataGridTableInternal.cs
                       - Added new internal class.

svn path=/trunk/mcs/; revision=7390
2002-09-12 12:38:36 +00:00
Gonzalo Paniagua Javier 5db8a0e001 2002-08-10 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6574
2002-08-10 19:02:29 +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 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 c66f71f312 2002-03-05 Gaurav Vaish <[email protected]>
* Don't bother much right now. I am busy making a build. Hopefully, I will
  succeed..

svn path=/trunk/mcs/; revision=2894
2002-03-05 01:57:41 +00:00
Gaurav Vaish bd450fca84 2002-03-03 Gaurav Vaish <[email protected]>
* *.cs: Completed.

* ChangeLog, TODO: Updated with latest status.

svn path=/trunk/mcs/; revision=2850
2002-03-03 04:33:21 +00:00