Commit Graph
56 Commits
Author SHA1 Message Date
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
Andrew Skiba c442b9665b * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText and
FooterText are empty, to match .NET. Otherwise we have NullReference when
.NET does not.

svn path=/trunk/mcs/; revision=62808
2006-07-20 12:05:51 +00:00
Andrew Skiba 0f86321f25 Render fix
svn path=/trunk/mcs/; revision=62807
2006-07-20 12:01:07 +00:00
Andrew Skiba 45cbe07588 NullReferenceException fix
svn path=/trunk/mcs/; revision=62805
2006-07-20 11:54:04 +00:00
Andrew Skiba ec60702519 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility with
.Net; don't throw NotImplemented when base class implementation is available.

svn path=/trunk/mcs/; revision=62735
2006-07-19 09:34:12 +00:00
Chris Toshok 5cb4398967 In System.Web.UI:
2006-02-23  Chris Toshok  <[email protected]>

	* Page.cs (ProcessCallbackData): track change to
	ICallbackEventHandler iface.

	* ICallbackEventHandler.cs: enable the proper members of this
	interface.

	* DataSourceSelectArguments.cs: reformat getter/setters.
	
In System.Web.UI.WebControls:
2006-02-23  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
	DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
	HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
	SqlDataSourceCommandType.cs, TableSectionStyle.cs,
	TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
	ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
	errors.  most were caused by a property/method being virtual when
	it shouldn't be, or vice versa.


svn path=/trunk/mcs/; revision=57203
2006-02-23 15:21:28 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Kornél Pál b4797dcddf Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
2005-07-29 00:13:41 +00:00
Lluis Sanchez af7e54758c 2005-06-06 Lluis Sanchez Gual <[email protected]>
* GridView.cs:
	* FormView.cs:
	* DetailsView.cs: Bind the control after creating all child
	 controls.
	* DataBoundControl.cs: Call OnDataBinding and OnDataBound in
	the correct methods.
	* BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
	in this class. This is done in DataBoundControl. All this fixes
	bug #75076.


svn path=/trunk/mcs/; revision=45481
2005-06-06 11:29:51 +00:00