Commit Graph
64 Commits
Author SHA1 Message Date
Igor Zelmanovich 64055b640d 2007-07-01 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* DetailView.cs:
	* GridView.cs:
	does not requires data binding if any ITemplate property is set.

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

	* FormViewTest.cs:
	* DetailViewTest.cs:
	* GridViewTest.cs:
	Added new tests



svn path=/trunk/mcs/; revision=81138
2007-07-01 09:28:15 +00:00
Marek Habersack 03e6d60374 2007-04-06 Marek Habersack <[email protected]>
* GridView.cs: don't render invisible fields. Fixes bug #80061.

	* DetailsView.cs: don't render invisible fields.


svn path=/trunk/mcs/; revision=75464
2007-04-05 22:13:37 +00:00
Eyal Alalouf 9396a91227 add Http callback support for J2EE portlets.
svn path=/trunk/mcs/; revision=73071
2007-02-18 12:28:38 +00:00
Igor Zelmanovich dc20c430c7 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: 
	header and footer visibility is set at creation.	


svn path=/trunk/mcs/; revision=72364
2007-02-06 17:13:16 +00:00
Igor Zelmanovich 1050de0b9d 2007-02-06 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	PageIndex, CreateChildControls, 
	works properly with not ICollection data source.	

svn path=/trunk/mcs/; revision=72355
2007-02-06 15:16:38 +00:00
Igor Zelmanovich 86fa72803b 2007-02-05 Igor Zelmanovich <[email protected]>
* DataBoundControl.cs:
	* DetailsView.cs:
	* FormView.cs:
	PerformDataBinding is called with RequiresDataBinding was set false

svn path=/trunk/mcs/; revision=72300
2007-02-05 15:22:55 +00:00
Igor Zelmanovich b1a33bbaa2 2007-02-05 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	fixed validation flow.	

svn path=/trunk/mcs/; revision=72286
2007-02-05 08:38:16 +00:00
Igor Zelmanovich 455e2af16f 2007-01-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* FormView.cs:
	fixed DataBinding flow for Insert mode.

svn path=/trunk/mcs/; revision=72013
2007-01-31 08:39:45 +00:00
Ilya Kharmatsky 0a1d87626b Fixed rendering problems in DetailsView control, related to an empty data source.
svn path=/trunk/mcs/; revision=71582
2007-01-24 09:57:22 +00:00
Vladimir Krasnov f874c30a24 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less than zero
svn path=/trunk/mcs/; revision=71177
2007-01-17 09:55:26 +00:00
Vladimir Krasnov 95674cf3bc revert to crlf line endings, in order to see diff
svn path=/trunk/mcs/; revision=71111
2007-01-16 09:02:33 +00:00
Vladimir Krasnov b03085f9db * DetailsView.cs: fixed CreateChildControls, PageIndex should be less or equal to PageCount
svn path=/trunk/mcs/; revision=71110
2007-01-16 08:53:52 +00:00
Vladimir Krasnov 0d481e93eb * DetailsView.cs: fixed DeleteItem, excluded keys for new values
* SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in OnDeleting event

svn path=/trunk/mcs/; revision=70696
2007-01-09 09:56:10 +00:00
Konstantin Triger 0d8d463400 explicitly implement IDataItemContainer.DataItemIndex as .Net does
svn path=/trunk/mcs/; revision=70418
2007-01-03 12:52:39 +00:00
Igor Zelmanovich 9528783636 2007-01-02 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed CreateAutoGeneratedRows.			


svn path=/trunk/mcs/; revision=70347
2007-01-02 12:03:01 +00:00
Igor Zelmanovich 13a8581fd6 2007-01-01 Igor Zelmanovich <[email protected]>
* AutoGeneratedField.cs: is editable in Insest mode.
	* BoundField.cs: is editable in Insest mode.
	* CheckBoxField.cs: is editable in Insest mode.
	* DetailsView.cs: fixed DataBinding flow.			

svn path=/trunk/mcs/; revision=70320
2007-01-01 16:37:54 +00:00
Igor Zelmanovich 75ac380f91 2006-12-31 Igor Zelmanovich <[email protected]>
* ContainedTable.cs:
	* DataControlButton.cs:
	* DetailsView.cs: fixed EnablePagingCallbacks
	* DetailsView.js:
	* GridView.cs:
	* GridView.js: fixed EnableSortingAndPagingCallbacks

svn path=/trunk/mcs/; revision=70284
2006-12-31 14:44:01 +00:00
Igor Zelmanovich 499d009db5 2006-12-28 Igor Zelmanovich <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* FormView.cs:
	control's behavior depends on using DataSource or DataSourceID 
	property for binding	


svn path=/trunk/mcs/; revision=70165
2006-12-28 13:28:38 +00:00
Igor Zelmanovich 6d788037e2 2006-12-26 Igor Zelmanovich <[email protected]>
* DataGridPagerStyle.cs:
	* DataList.cs:
	* DetailsView.cs:
	* FontInfo.cs:
	* Style.cs:
	* TableItemStyle.cs:
	* TableStyle.cs:
	* TreeNodeStyle.cs:
	* WebControl.cs:
	* Wizard.cs:				
	fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate 
	for it's ControlStyle, but the shared ViewState is used to manage style's 
	viewstate instead.

svn path=/trunk/mcs/; revision=70077
2006-12-26 07:59:53 +00:00
Igor Zelmanovich 27a1535c7b 2006-12-17 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: FillRowDataKey
	* DetailsView.cs: fixed: FillRowDataKey


svn path=/trunk/mcs/; revision=69600
2006-12-17 13:56:44 +00:00
Igor Zelmanovich b1fdb33876 2006-12-07 Igor Zelmanovich <[email protected]>
* DetaisView.cs: fixed: rendering.
	* DataControlButton.cs:
	* PagerSettings.cs:		


svn path=/trunk/mcs/; revision=69182
2006-12-07 14:56:43 +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 1a1143b5c8 2006-11-19 Igor Zelmanovich <[email protected]>
* LinkButton.cs: optimized: support for event validation.
	* DataControlButton.cs: Added support for event validation.
	* DetailsView.cs: fixed: RowIndex for DetailsViewRow.	

svn path=/trunk/mcs/; revision=68152
2006-11-19 14:31:50 +00:00
Igor Zelmanovich ef063d32b9 2006-11-12 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed:  DataKeys, PageCount, DataBinding flow.


svn path=/trunk/mcs/; revision=67737
2006-11-12 13:39:59 +00:00
Igor Zelmanovich 3a6e6bad4c 2006-10-31 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.


svn path=/trunk/mcs/; revision=67176
2006-10-31 13:11:40 +00:00
Igor Zelmanovich 7441824f47 typo fix
svn path=/trunk/mcs/; revision=66914
2006-10-24 10:04:31 +00:00
Igor Zelmanovich 6def7561fa 2006-10-24 Igor Zelmanovich <[email protected]>
* DetailsView.cs: implemented: GetCallbackScript method.


svn path=/trunk/mcs/; revision=66913
2006-10-24 09:29:00 +00:00
Igor Zelmanovich 4804a14ec4 2006-10-23 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: IPostBackContainer.GetPostBackOptions method.


svn path=/trunk/mcs/; revision=66904
2006-10-23 15:20:47 +00:00
Igor Zelmanovich a0369e746d 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: OnBubbleEvent works properly.


svn path=/trunk/mcs/; revision=66789
2006-10-18 14:41:14 +00:00
Igor Zelmanovich c4f91c3cd4 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: considers DataControlField.InsertVisible.


svn path=/trunk/mcs/; revision=66785
2006-10-18 13:19:00 +00:00
Igor Zelmanovich f3927a6114 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CurrentMode property.


svn path=/trunk/mcs/; revision=66784
2006-10-18 12:38:02 +00:00
Igor Zelmanovich 9ce8aa8f12 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: current state are not changed during paging.


svn path=/trunk/mcs/; revision=66783
2006-10-18 12:16:39 +00:00
Igor Zelmanovich f86900b347 2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: 
	in Insert mode Select not invoked from DataSource
		

svn path=/trunk/mcs/; revision=66782
2006-10-18 11:59:29 +00:00
Igor Zelmanovich f71a12b678 2006-10-17 Igor Zelmanovich <[email protected]>
* DetailsView.cs: 
	* DetailsView.js: 
	fixed: EnablePagingCallbacks feature.
	when postback is invoked after callback control state is restored
	properly. 


svn path=/trunk/mcs/; revision=66746
2006-10-17 14:15:17 +00:00
Igor Zelmanovich f0cdb3cc99 2006-10-17 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66742
2006-10-17 12:58:27 +00:00
Igor Zelmanovich ed0e3c4510 2006-10-08 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* GridView.cs:
	* DetailsView.cs: 
	* PagerSettings.cs: 
	reverted r66222, problem solved in r66283: command buttons inherit ForeColor
		

svn path=/trunk/mcs/; revision=66404
2006-10-08 11:33:33 +00:00
Igor Zelmanovich 7537f5a645 2006-10-05 Igor Zelmanovich <[email protected]>
* DetailsView.cs: optimization for previous patch


svn path=/trunk/mcs/; revision=66296
2006-10-05 16:11:39 +00:00
Igor Zelmanovich 34417fe479 svn path=/trunk/mcs/; revision=66293 2006-10-05 15:02:19 +00:00
Igor Zelmanovich 664094d178 2006-10-04 Igor Zelmanovich <[email protected]>
* FormView.cs:
	* GridView.cs:
	* DetailsView.cs: 
	* PagerSettings.cs: 
	corrected pager rendering: Color style applied to A tag,
	Input type="image" used if ImageUrl is not empty.
		

svn path=/trunk/mcs/; revision=66222
2006-10-04 14:27:00 +00:00
Andrew Skiba a9ef07a5cc fix IsBindableType in accordance with MSDN and tests.
svn path=/trunk/mcs/; revision=62993
2006-07-26 13:50:40 +00:00
Andrew Skiba 809b610878 * DetailsView.cs: init DataKey property with empty collection.
* DataKey.cs: fix unexpected exception bug.
* DataControlField.cs: override ToString according to the MSDN.

svn path=/trunk/mcs/; revision=62942
2006-07-25 07:28:59 +00:00
Andrew Skiba 9a397857d5 create TableStyle in CreateControlStyle.
svn path=/trunk/mcs/; revision=62928
2006-07-24 16:14:30 +00:00
Andrew Skiba 3b05aaf35e typo
svn path=/trunk/mcs/; revision=62924
2006-07-24 15:15:38 +00:00
Andrew Skiba 771dc55058 don't throw the exception .Net does not throw
svn path=/trunk/mcs/; revision=62922
2006-07-24 15:08:46 +00:00
Andrew Skiba 12c5b860e9 * DetailsView.cs: save DefaultMode and DataKeyNames in control state, to match .Net; fix PageCount to match record count.
svn path=/trunk/mcs/; revision=62919
2006-07-24 14:57:00 +00:00
Andrew Skiba 33d01dd298 fix the regressions, caused by the previous commit.
svn path=/trunk/mcs/; revision=62904
2006-07-23 15:10:09 +00:00
Andrew Skiba a7e190393e corectly handle the different default values of DetailsView.CellSpacing and Table.CellSpacing
svn path=/trunk/mcs/; revision=62903
2006-07-23 13:59:29 +00:00
Andrew Skiba 8292c900bd create a pager row when needed
svn path=/trunk/mcs/; revision=62902
2006-07-23 12:31:45 +00:00
Gonzalo Paniagua Javier 11a89e04a7 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* PagedDataSource.cs:
	* FormView.cs:
	* ImageButton.cs:
	* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
	support it. The GridView control will no longer throw an exception when
	rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.


svn path=/trunk/mcs/; revision=62863
2006-07-21 14:33:24 +00:00
Andrew Skiba 0c9ecc39ca * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
Rows with empty collection; call EnsureChildControls from get Row;
NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
implemented IPostBackContainer.GetPostBackOptions.

svn path=/trunk/mcs/; revision=62828
2006-07-20 15:56:18 +00:00