Commit Graph
42 Commits
Author SHA1 Message Date
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 6b7f443592 2006-12-07 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: avoid empty row rendering.


svn path=/trunk/mcs/; revision=69181
2006-12-07 14:51:20 +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 08262015b6 2006-11-20 Igor Zelmanovich <[email protected]>
fixed and optimized support for event validation

svn path=/trunk/mcs/; revision=68178
2006-11-20 09:10:36 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Igor Zelmanovich f9a969d38c 2006-11-06 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: DataBinding flow.


svn path=/trunk/mcs/; revision=67403
2006-11-06 12:07:24 +00:00
Igor Zelmanovich d672afb4ef 2006-11-01 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: UpdateItem, DeleteItem.


svn path=/trunk/mcs/; revision=67210
2006-11-01 09:46:43 +00:00
Igor Zelmanovich 887380a240 2006-10-30 Igor Zelmanovich <[email protected]>
* FormFiew.cs: fixed: UpdateItem, InsertItem.


svn path=/trunk/mcs/; revision=67137
2006-10-30 14:37:27 +00:00
Igor Zelmanovich c3f7ec637b 2006-10-30 Igor Zelmanovich <[email protected]>
* FormFiew.cs: fixed: PageIndex, rendering.


svn path=/trunk/mcs/; revision=67131
2006-10-30 14:19:11 +00:00
Igor Zelmanovich 3b71f9b1ba 2006-10-23 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.


svn path=/trunk/mcs/; revision=66905
2006-10-23 15:26:14 +00:00
Igor Zelmanovich e96c740fac 2006-10-18 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: OnBubbleEvent returns true when event is handled.


svn path=/trunk/mcs/; revision=66790
2006-10-18 14:57:27 +00:00
Igor Zelmanovich 92a0db5946 2006-10-17 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: CreateDataSourceSelectArguments method.
	(corresponding test does not work because bug in ObjectDataSourceView)


svn path=/trunk/mcs/; revision=66755
2006-10-17 16:50:08 +00:00
Igor Zelmanovich 6b322be935 2006-10-08 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: CurrentMode property.


svn path=/trunk/mcs/; revision=66410
2006-10-08 14:09:12 +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 eae9c600ea svn path=/trunk/mcs/; revision=66294 2006-10-05 15:03:55 +00:00
Igor Zelmanovich 4feb4b44f5 2006-10-05 Igor Zelmanovich <[email protected]>
* FormView.cs:
	implemented PrepareControlHierarchy()
	styles are applied correct


svn path=/trunk/mcs/; revision=66285
2006-10-05 13:27:33 +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
Igor Zelmanovich 2d2ee6d164 2006-10-03 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: 
	in Insert mode Select not invoked from DataSource
		

svn path=/trunk/mcs/; revision=66196
2006-10-03 14:47:09 +00:00
Igor Zelmanovich 84005cf6d4 2006-10-03 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: 
	Pager is not shown when page count < 1
	in Edit mode use EmptyDataTemplate if there is no DataItem
	when page changed FormView stays in current state. 
		

svn path=/trunk/mcs/; revision=66182
2006-10-03 12:07:48 +00:00
Igor Zelmanovich 37b0835adf 2006-09-28 Igor Zelmanovich <[email protected]>
* FormView.cs: fixed: OnBubbleEvent works properly
		

svn path=/trunk/mcs/; revision=66035
2006-09-28 14:17:47 +00:00
Vladimir Krasnov e78dd5ef0e * FormView.cs: added explicit implementation of IDataItemContainer.DataItemIndex, as documented
svn path=/trunk/mcs/; revision=63907
2006-08-17 12:36:24 +00:00
Andrew Skiba e96c905457 FormView.cs: Render compatibility with .Net
FormViewTest.cs: fixes for several tests

svn path=/trunk/mcs/; revision=63163
2006-07-30 15:29:30 +00:00
Andrew Skiba 7cb66c2bf5 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully handle null result of GetData().
svn path=/trunk/mcs/; revision=63158
2006-07-30 10:54:52 +00:00
Andrew Skiba 9b81e656e7 oops
svn path=/trunk/mcs/; revision=63154
2006-07-30 09:37:06 +00:00
Andrew Skiba 2a66bedaf6 * FormView.cs: use TableStyle for ControlStyle
svn path=/trunk/mcs/; revision=63153
2006-07-30 08:59:50 +00:00
Andrew Skiba 570f4c1a42 * FormView.cs: save DefaultMode and DataKeyMode in control state.
svn path=/trunk/mcs/; revision=63152
2006-07-30 08:19:53 +00:00
Andrew Skiba 85881d7f83 * FormView.cs: init DataKeys and fix null reference.
svn path=/trunk/mcs/; revision=63151
2006-07-30 08:01:58 +00:00
Andrew Skiba 4991ef2b84 * FormView.cs: initialize PageCount with 0; fix IsBindableType to include Decimal.
svn path=/trunk/mcs/; revision=63045
2006-07-27 15:23:40 +00:00
Andrew Skiba 39bfef9347 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing and CellPadding.
svn path=/trunk/mcs/; revision=63038
2006-07-27 14:26:52 +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
Konstantin Triger b34116d786 instantiate correct template when the bounding data source is empty
svn path=/trunk/mcs/; revision=62103
2006-06-28 04:55:56 +00:00
Konstantin Triger cd87023062 disabling setting out of range FormView.PageIndex
svn path=/trunk/mcs/; revision=62032
2006-06-25 09:15:36 +00:00
Andrew Skiba b70c6ba453 handle CssClass property in FormView
svn path=/trunk/mcs/; revision=61871
2006-06-20 08:43:16 +00:00
Konstantin Triger 42ad8b2c02 fix FormView.PageCount after data binding
svn path=/trunk/mcs/; revision=59837
2006-04-25 07:49:23 +00:00
Konstantin Triger 9c61d86aa0 ensure rebinding when FormView.PageIndex is called
svn path=/trunk/mcs/; revision=59688
2006-04-20 09:15:05 +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
Lluis Sanchez 3b4fdcc1c6 2005-05-26 Lluis Sanchez Gual <[email protected]>
* DataListItem.cs:
	* GridViewRow.cs:
	* DataGridItem.cs:
	* RepeaterItem.cs:
	* FormView.cs:
	* MenuItemTemplateContainer.cs:
	* DetailsView.cs: Track changes in the IDataItemContainer interface.
	
	* CommandField.cs: Added CausesValidation property. Set that
	property value to all buttons of the field.
	
	* SqlDataSourceView.cs:
	* CollectionDataSource.cs:
	* XmlDataSourceView.cs: Properly initialize the base class.
	
	* SiteMapDataSource.cs:
	* SiteMapHierarchicalDataSourceView.cs:
	* SiteMapNodeItem.cs:
	* SiteMapDataSourceView.cs:
	* SiteMapPath.cs: Mostly implemented.
	
	* HierarchicalDataBoundControl.cs: Always bind the control when the
	page is loaded for the first time.
	
	* TreeView.cs: Properly bind the control when loaded from a callback.


svn path=/trunk/mcs/; revision=45062
2005-05-26 16:17:00 +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 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