Commit Graph
132 Commits
Author SHA1 Message Date
Chris Toshok 4c4d07b4ec 2006-02-23 Chris Toshok <[email protected]>
* HtmlButton.cs: fix corcompare output.

	* HtmlInputButton.cs: same.

	* HtmlInputImage.cs: same.

	* HtmlInputReset.cs: same.


svn path=/trunk/mcs/; revision=57213
2006-02-23 18:34:01 +00:00
Chris Toshok 96b3f40a2b 2006-01-22 Chris Toshok <[email protected]>
* HtmlInputButton.cs:
	s/GetPostBackClientEvent/GetPostBackEventReference.


svn path=/trunk/mcs/; revision=55916
2006-01-22 20:59:41 +00:00
Gonzalo Paniagua Javier 0edc1d4124 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableRow.cs: Cells is virtual in latest 1.1.


svn path=/trunk/mcs/; revision=53800
2005-12-01 22:06:07 +00:00
Gonzalo Paniagua Javier 7a830b9926 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
	for cells.
	* HtmlTable.cs: moved WriteLine around.


svn path=/trunk/mcs/; revision=53705
2005-11-30 20:02:31 +00:00
Gonzalo Paniagua Javier 5b9ce3b01a 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: more class-status fixes.


svn path=/trunk/mcs/; revision=53601
2005-11-28 23:07:30 +00:00
Gonzalo Paniagua Javier 1a0cda6503 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.


svn path=/trunk/mcs/; revision=53594
2005-11-28 21:58:56 +00:00
Gonzalo Paniagua Javier 1b5e79051d 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlTable.cs: use the base class RenderChildren, as '_rows'
	might not be the actual collection being used. Fixes bug #76815.


svn path=/trunk/mcs/; revision=53593
2005-11-28 21:48:58 +00:00
Gonzalo Paniagua Javier c15213a5b3 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputFile.cs: if no one else set the encoding type for the
	containing form and there's a HtmlInputFile, set Enctype to
	'multipart/form-data'. Fixes bug #76837.


svn path=/trunk/mcs/; revision=53567
2005-11-28 18:06:53 +00:00
Gonzalo Paniagua Javier b503884e37 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: render the onclick attribute only when the
	button is a 'submit' and no validators or when the button is a
	'button' and there's a registered ServerClick event. Fixes bug #76781.


svn path=/trunk/mcs/; revision=53316
2005-11-21 18:41:45 +00:00
Gonzalo Paniagua Javier 5623cd5bb2 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: register the form and require viewstate hidden field to
	be rendered in Render() even if OnInit is not called.


svn path=/trunk/mcs/; revision=50986
2005-09-29 05:51:06 +00:00
Gonzalo Paniagua Javier b6c3ab6145 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlHead.cs: fix the 2.0 build.


svn path=/trunk/mcs/; revision=50949
2005-09-28 15:38:30 +00:00
Gonzalo Paniagua Javier aaf12f496d 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: when transfering from one page to another and using
	cookieless session, we were doing pretty bad. Now, if the current path
	and the original are the same, we just use the filename. Otherwise
	we make the action location be relative to the original URL.


svn path=/trunk/mcs/; revision=50560
2005-09-23 03:09:26 +00:00
Gonzalo Paniagua Javier 937352e462 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: render the onclick for doing a postback even when
	there are no validators.


svn path=/trunk/mcs/; revision=50258
2005-09-19 21:02:22 +00:00
Sebastien Pouliot 654fbba661 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
	

svn path=/trunk/mcs/; revision=50252
2005-09-19 18:43:11 +00:00
Sebastien Pouliot 87102f681d 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on HRef property for 2.0.
	* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlHead.cs: Remove IPageHeader interface.
	* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
	* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputImage.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on Src property for 2.0.
	* HtmlInputPassword.cs: Added [SupportsEventValidation].
	* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputReset.cs: Added [SupportsEventValidation].
	* HtmlInputSubmit.cs: Added [SupportsEventValidation].
	* HtmlInputText.cs: Added [SupportsEventValidation] on class and 
	re-enabled RenderAttribute for 2.0.
	* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
	* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.


svn path=/trunk/mcs/; revision=50248
2005-09-19 18:08:33 +00:00
Chris Toshok 295c081e9d 2005-09-18 Chris Toshok <[email protected]>
* HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
	instead of AddAttribute when dealing with "onclick."


svn path=/trunk/mcs/; revision=50204
2005-09-18 22:48:27 +00:00
Sebastien Pouliot bf7d08d771 2005-09-14 Sebastien Pouliot <[email protected]>
* HtmlHead.cs: Fixed parameter orders for CreateStyleRule.


svn path=/trunk/mcs/; revision=50042
2005-09-14 17:26:26 +00:00
Chris Toshok df181d2245 2005-09-11 Chris Toshok <[email protected]>
* HtmlInputFile.cs (set_Value): add a message to the
	NotSupportedException.

	* HtmlInputControl.cs (RenderAttributes): add Page != null to the
	checks before we register our control with the
	__enabledControlArray JS array.


svn path=/trunk/mcs/; revision=49915
2005-09-11 17:26:39 +00:00
Chris Toshok 6e7028376b 2005-09-09 Chris Toshok <[email protected]>
* HtmlInputButton.cs (CausesValidation): this is stored in
	Attributes, not ViewState.
	(ValidationGroup): same.
	(RenderAttributes): remove CausesValidation from the list of
	Attributes before calling base.RenderAttributes.  Don't, however,
	remove ValidationGroup, to replicate an MS bug.


svn path=/trunk/mcs/; revision=49822
2005-09-09 19:22:54 +00:00
Chris Toshok ddc4de6ef3 2005-09-07 Chris Toshok <[email protected]>
* HtmlForm.cs (DefaultFocus): not stored in Attributes either.
	(Name): not sure about this property.. the getter apparently just
	returns UniqueID, and the setter does nothing that I can figure
	out.
	(RenderAttributes): don't bother to remove "name", since it's not
	in the attributes anyway.


svn path=/trunk/mcs/; revision=49668
2005-09-07 22:01:48 +00:00
Gonzalo Paniagua Javier 379593e708 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputControl.cs: use the Name property instead of the ClientID.
	The 'name' attribute rendered contains colons if inside a
	NamingContainer.


svn path=/trunk/mcs/; revision=49656
2005-09-07 18:52:13 +00:00
Chris Toshok 8002a9c8b7 2005-09-07 Chris Toshok <[email protected]>
* HtmlInputCheckBox.cs (Checked): uncomment the
	MinimizableAttributeTypeConverter attribute.

	* HtmlControl.cs (Disabled): uncomment the
	MinimizableAttributeTypeConverter attribute.

	* HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.

	* HtmlTableCell.cs (NoWrap): uncomment the
	MinimizableAttributeTypeConverter attribute.

	* HtmlLink.cs (Href): remove the MonoTODO.

	* HtmlMeta.cs (Name): remove the MonoTODO.
	(Scheme): same.
	(Render): add (pretty bogus, really..) implementation.  not sure
	why we need this one.


svn path=/trunk/mcs/; revision=49616
2005-09-07 06:03:18 +00:00
Chris Toshok 5466908dd1 2005-09-06 Chris Toshok <[email protected]>
* HtmlInputControl.cs (RenderAttributes): Check Page.Form for
	null.


svn path=/trunk/mcs/; revision=49603
2005-09-07 01:25:33 +00:00
Chris Toshok 7682038aef 2005-09-06 Chris Toshok <[email protected]>
* HtmlInputControl.cs (RenderAttributes): use ClientID instead of
	ID.


svn path=/trunk/mcs/; revision=49588
2005-09-06 22:33:54 +00:00
Gonzalo Paniagua Javier d79cf2e532 RegisterForm is 2.0 only
svn path=/trunk/mcs/; revision=49585
2005-09-06 21:46:51 +00:00
Chris Toshok 736f8356c4 2005-09-06 Chris Toshok <[email protected]>
* HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
	(AddedControl): move the HtmlTitle logic here.
	(RemovedControl): clear out the title if that was the control that
	was removed.

	* HtmlLink.cs: new implementation.

	* HtmlMeta.cs: new implementation.


svn path=/trunk/mcs/; revision=49581
2005-09-06 21:40:06 +00:00
Chris Toshok 1d955d5e61 2005-09-06 Chris Toshok <[email protected]>
* HtmlInputControl.cs (RenderAttributes): add ourselves to the
	__enabledControlArray JS array if we're currently enabled and the
	form is set to SubmitDisabledControls.

	* HtmlForm.cs (OnInit): call Page.RegisterForm here.
	(DetermineRenderUplevel): split this out of OnPreRender and make
	it internal so HtmlInputControl can call it.
	(OnPreRender): add handling for SubmitDisabledControls.


svn path=/trunk/mcs/; revision=49574
2005-09-06 20:44:16 +00:00
Chris Toshok 95ed5d01f9 2005-09-05 Chris Toshok <[email protected]>
* HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
	or in the ViewState.  where then?
	(DefaultFocus): this one is stored in the ViewState, not as an
	Attribute.
	(SubmitDisabledControls): implement just as a boolean flag, not in
	the viewstate or attributes.
	(RenderAttributes): defaultfocus and defaultbutton are no longer
	in Attributes.


svn path=/trunk/mcs/; revision=49510
2005-09-05 20:28:49 +00:00
Chris Toshok d55e45d354 2005-09-04 Chris Toshok <[email protected]>
* HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
	
	* HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
	
	* HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.

	* HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
	way, and in OnPreRender, call Page.RegisterRequiresPostback.

	* HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
	and in OnPreRender, call Page.RegisterRequiresPostback.

	* HtmlInputRadioButton.cs (OnPreRender): call
	Page.RegisterRequiresPostback.
	
	* HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
	Also, in OnPreRender, call Page.RegisterRequiresPostback.

	* HtmlTextArea.cs (OnPreRender): call
	Page.RegisterRequiresPostback.


svn path=/trunk/mcs/; revision=49408
2005-09-04 15:42:27 +00:00
Chris Toshok f539472df4 add a blurb about CreateControlCollection
svn path=/trunk/mcs/; revision=49398
2005-09-03 17:44:32 +00:00
Chris Toshok 8a4385f9d9 fix 1.x build
svn path=/trunk/mcs/; revision=49363
2005-09-02 17:24:56 +00:00
Chris Toshok 7e4e6de1c3 2005-09-02 Chris Toshok <[email protected]>
* HtmlSelect.cs: implement 2.0 DataSourceID data binding.


svn path=/trunk/mcs/; revision=49362
2005-09-02 17:24:19 +00:00
Chris Toshok efb51013c3 2005-09-02 Chris Toshok <[email protected]>
* HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.

	* htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
	raisepostdatachangedevent, and raisepostbackevent.
	(validationgroup): implement.

	* htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
	and raisepostdatachangedevent.

	* HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
	and RaisePostDataChangedEvent.

	* HtmlInputButton.cs (RaisePostBackEventInternal): split out the
	body of both RaisePostBackEvent impl's here, and fix it up so we
	use the property Page.Validate call in 2.0.
	(RaisePostBackEvent): call RaisePostBackEventInternal.
	(IPostBackEventHandler.RaisePostBackEvent): same.

	* HtmlImage.cs (Align): the test case shows that we don't need to
	validate input.


svn path=/trunk/mcs/; revision=49352
2005-09-02 15:41:32 +00:00
Sebastien Pouliot 32d253709e 2005-09-01 Sebastien Pouliot <[email protected]>
* HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
	HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
	HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
	HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs, 
	HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
	HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
	HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
	HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs, 
	HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
	attributes AspNetHostingPermission for Minimal level on all classes
	(LinkDemand) and for non-sealed classes (InheritanceDemand).


svn path=/trunk/mcs/; revision=49299
2005-09-01 21:24:35 +00:00
Chris Toshok 2954c2326a 2005-08-29 Chris Toshok <[email protected]>
* System.Web.UI.HtmlControls/HtmlTableCell.cs,
	System.Web.UI.HtmlControls/HtmlInputFile.cs,
	System.Web.UI.HtmlControls/HtmlForm.cs,
	System.Web.UI.HtmlControls/HtmlInputText.cs,
	System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
	System.Web.UI.HtmlControls/HtmlAnchor.cs,
	System.Web.UI.HtmlControls/HtmlButton.cs,
	System.Web.UI.HtmlControls/HtmlTextArea.cs,
	System.Web.UI.HtmlControls/HtmlGenericControl.cs,
	System.Web.UI.HtmlControls/HtmlSelect.cs,
	System.Web.UI.HtmlControls/HtmlTableRow.cs,
	System.Web.UI.HtmlControls/HtmlControl.cs,
	System.Web.UI.HtmlControls/HtmlImage.cs,
	System.Web.UI.HtmlControls/HtmlTable.cs,
	System.Web.UI.HtmlControls/HtmlInputButton.cs,
	System.Web.UI.HtmlControls/HtmlInputControl.cs,
	System.Web.UI.HtmlControls/HtmlInputImage.cs,
	System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
	System.Web.UI.HtmlControls/HtmlInputHidden.cs,
	System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
	attributes.


svn path=/trunk/mcs/; revision=49288
2005-09-01 19:12:47 +00:00
Chris Toshok dfd85687a9 2005-08-29 Chris Toshok <[email protected]>
* HtmlInputSubmit.cs: new implementation.
	
	* HtmlInputReset.cs (ValidationGroup): implement

	* HtmlInputButton.cs (ValidationGroup): implement.


svn path=/trunk/mcs/; revision=49075
2005-08-29 18:04:56 +00:00
Chris Toshok 99a97f3f74 2005-08-29 Chris Toshok <[email protected]>
* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.

	* HtmlForm.cs: same.


svn path=/trunk/mcs/; revision=49073
2005-08-29 17:51:21 +00:00
Chris Toshok e5076b3137 2005-08-29 Chris Toshok <[email protected]>
* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.


svn path=/trunk/mcs/; revision=49072
2005-08-29 17:50:35 +00:00
Gonzalo Paniagua Javier 707131f0e9 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
	but not used.  Call ResolveUrl when rendering the attributes instead.


svn path=/trunk/mcs/; revision=49045
2005-08-28 23:43:48 +00:00
Chris Toshok 31ef6766b5 2005-08-28 Chris Toshok <[email protected]>
* HtmlHeadBuilder.cs: this is public.

	* HtmlSelectBuilder.cs: in 2.0 this is public.

	* HtmlInputButton.cs: fix boilerplate.

	* HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
	(IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
	Page.Validation(ValidationGroup).


svn path=/trunk/mcs/; revision=49006
2005-08-28 06:06:20 +00:00
Chris Toshok c713af553f 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputReset.cs: mostly complete implementation.


svn path=/trunk/mcs/; revision=49003
2005-08-28 05:52:08 +00:00
Chris Toshok 51661c2c64 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: doh, make this NET_2_0 only.


svn path=/trunk/mcs/; revision=49002
2005-08-28 05:25:29 +00:00
Chris Toshok 0c33719c43 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: implement.


svn path=/trunk/mcs/; revision=49001
2005-08-28 05:06:54 +00:00
Chris Toshok 299a32a0bc 2005-08-28 Chris Toshok <[email protected]>
* HtmlImage.cs: corcompare fixes.

	* HtmlInputCheckBox.cs: same.


svn path=/trunk/mcs/; revision=48999
2005-08-28 04:45:59 +00:00
Ben Maurer 2db31ba22c round one
svn path=/trunk/mcs/; revision=48990
2005-08-27 21:03:38 +00:00
Chris Toshok 881b6585d7 2005-08-27 Chris Toshok <[email protected]>
* HtmlControl.cs (GetAttribute, SetAttribute): implement.


svn path=/trunk/mcs/; revision=48986
2005-08-27 20:00:16 +00:00
Chris Toshok 7ce5479c3c 2005-08-27 Chris Toshok <[email protected]>
* HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
	(OnPreRender): figure out (hackishly) if we're uplevel rendering.
	If we have a default button/focus control set, register webform.js
	as a client script block, and emit some JS to focus the control.
	(RenderAttributes): verify that the DefaultButton attribute points
	to a valid IButtonControl implementing control.  Also remove the
	defaultfocus/defaultbutton attributes before calling
	base.RenderAttributes.


svn path=/trunk/mcs/; revision=48982
2005-08-27 19:57:51 +00:00
Kornél Pál ce88a7d1f0 Fixed 48519 to 48944 regressions.
svn path=/trunk/mcs/; revision=48979
2005-08-27 16:59:26 +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
Jackson Harper f21c03b531 2005-07-18 Jackson Harper <[email protected]>
* HtmlInputHiddenTest.cs: New test.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New tests for HtmlInputButton.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButtonTest.cs: New tests for HtmlButton.

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for creating enumerators when
	paging is not enabled.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for PageCount.

2005-08-02  Jackson Harper  <[email protected]>

	* BoundColumnTest.cs: Start of tests for the BoundColumn class.
	
2005-08-01  Jackson Harper  <[email protected]>

	* TableStyleTest.cs: Check that items copied set the styles flags.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test the enumerators a little.

2005-07-28  Jackson Harper  <[email protected]>

	* EditCommandColumnTest.cs: Make the DataGridTest nested so my
	top secret DataGrid tests will still compile.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGridTest.cs: More tests for the pager.

2005-07-22  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Basic test for InitializePager.

2005-07-21  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test the order the events are invoked in when
	creating the control hierarchy.

2005-07-21  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test to see what happens when we get a
	non ITypedList.

2005-07-20  Jackson Harper  <[email protected]>
2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Make sure we get back a proper columns
	collection.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: The columns collection cached from the
	CreateColumnSet is stored in the view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test generating column names with/without
	enabling useDataSource.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Check the properties of newly created
	BoundColumns.

2005-07-19  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: New unit test for GetItemProperties.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests for creating column sets.

2005-07-19  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New test for viewstate saving.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Bubble tests for Page command. Tests for bad
	Page command bubble event args.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Select can also be bubbled.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Tests for the BubbleEvent.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests. Just does properties and events for
	the most part.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControlTest.cs: New test to make sure NamingContainers are
	honoured when rendering client ids.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: More tests for the IRepeatInfoUser stuff
	and for rendering.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Rendering tests.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Fix the exception types thrown for bad
	enums. Mark as NotWorking as this doesn't work with the old
	CheckBoxList class anymore.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Add some rendering tests. These aren't
	fully working yet so they are in the NotWorking category.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: This has the potential to be a beautiful
	test.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New test for the viewstate and item
	selection.

2005-07-13  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New tests for the ListControl.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Exception is thrown (by ListControl). Dont run
	the BadBorderStyle test as this fails in ListControls.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Some simple tests for the ListBox control.
	
2005-07-08  Jackson Harper  <[email protected]>

	* LiteralTest.cs: new test.
	* MonthCalendarEventArgsTest.cs: new test.

2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedEventArgsTest.cs: Added test.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttributeTest.cs: New test.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverterTest.cs: New tests.

2005-08-15  Jackson Harper  <[email protected]>

	* CacheItemPriority.cs:
	* CacheItemRemovedCallback.cs:
	* CacheItemRemovedReason.cs: New implementations.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponseStream.cs: Use GetBuffer so the memory isn't
	duplicated.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponse.cs: Send the cached headers if this is a cached
	response. Save the headers, date header, and page data. Fix a typo.
	* HttpResponseStream.cs: Add new accesor to get a byte [] of the
	page data.

2005-08-15  Jackson Harper  <[email protected]>

	* ApplicationShutdownReason.cs: make build

2005-07-18  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
	attribute.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
	constant. Update fetching from viewstate code to use new
	convenience method.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Add DefaultEventAttribute.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.
	
2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputControl.cs: Use ClientID for input controls name.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlAnchor.cs: Call base OnPreRender from override.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New implementation.

2005-07-06  Jackson Harper  <[email protected]>

	* HtmlButton.cs: New implementation.

2005-07-13  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: No public constructors.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttribute.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: New implementation.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Disable the pager row if there no paging enabled
	or available.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: The number of pages set in the pager is specified
	by PageButtonCount.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
	controls.
	(InitializeNumericPager): Now that the pager actually renders
	properly I can see that I was computing it incorrectly.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (RenderTable): Make sure the new table gets the
	correct style.
	(CreateColumnSet): Clear the data source columnbs before adding
	new ones regardless of whether or not a property descriptor was
	found.
	(InitializePager): pager_cell needs to be a member so it isn't
	created more then once per a render.
	(InitializeNumericPager): Compute start and end more
	correctly.
	- Link commands are 1 indexed.
	(CreateControlHierarchy): Clear the table before we begin
	rendering.
	- Revert patch that made adding the pagers conditional. This is
	incorrect, the pagers are always added. Only their visibility is
	affected by the pager style.
	- Save the entire count in the viewstate, not just the rendered
	count. So when paging is enabled the pager's count isn't broken by
	postback.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: Only create one pager and add it to both the top
	and bottom of the grid, this way all the id numbers stay the same
	and we save a bunch of cycles.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: The top and bottom pagers are always created. Just
	the visibility is changed by the PagerStyle::Position.

2005-08-15  Jackson Harper  <[email protected]>

	* EditCommandColumn.cs: Use a normal LinkButton.

2005-08-12  Jackson Harper  <[email protected]>

	* TableRow.cs: No AutoID for TableRows.

2005-08-12  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateRenderColumns): If we aren't using data
	binding grab the rendercols from the data source columns.
	(LoadViewState): Restore the bound columns when reloading the
	viewstate.
	(InitializeNumericPager): Create elipsised pagers.
	(CreateItem): Don't set the item's ID.
	(CreateItem): Add the control to the table before it is databound
	so that it's value is saved in the viewstate.
	(CreateControlHierarchy): Create a fake data source when not using
	databinding. Don't add controls to the table as they are added in
	CreateItem now.
	(PrepareControlHierarchy): Make footers and header non visible if
	they aren't enabled.

2005-08-12  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Set the controls text instead of adding a
	literal control. So it is saved in the controls viewstate.

2005-08-11  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Set the tabindex on the checkbox control and
	don't render it on the main table (Setting it to zero causes it to
	not be rendered). Also use the invariant culture on the id.

2005-08-10  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Respect paging with all data source types.

2005-08-08  Jackson Harper  <[email protected]>

	* DataGrid.cs: Apply the styles to each item type. 

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: If paging is not enabled keep enumerating to
	the end of the list.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Don't make the current page index a link in the
	pager.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Honour PagerPosition.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Round PageCount properly.

2005-08-04  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add a new space control for each link. Also make
	the link's text 1 indexed. Don't add the space after the last
	item.

2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Respek for the thisExpr when data binding.

2005-08-03  Jackson Harper  <[email protected]>

	* ButtonColumn.cs: Partial implementation.

2005-08-03  Jackson Harper  <[email protected]>

	* DataGrid.cs: Merge the table style with the render table. Some
	initial work on the numeric pager. Remove some debugging code.
	
2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Implement Initialize and InitializeCell. When
	Data is formated it uses the DataFormatString that was set at the
	time Initialize was called (or null if initialize was never
	called).

2005-08-01  Jackson Harper  <[email protected]>

	* TableStyle.cs: Copy style bit when copying from another style.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement missing properties, use yield for
	the Enumerator methods. Only allow the enums to return one page at
	a time.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Set the command name and args on the link buttons.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Lots o implementation.

2005-07-25  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Partial implementation to get the DataGrid tests
	passing again.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Store the data source created columns in a 
	  DataGridColumnCollection. This way they can be put in the 
	  view state more easily, and accessed without casting.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Save the data source created column set in the 
	  view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: column names are cached and only regenerated if useDataSource
	  is set to true. Otherwise they are just fetched from the last set that 
	  was generated from the source.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Assign some properties of newly created BoundColumns.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add some of the collections. Implement
          column creation.

2005-07-20  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement GetItemProperties, this is
	  needed for the datagrid.

2005-07-19  Jackson Harper  <[email protected]>

	* ListControl.cs: Use Events Add/RemoveHandler. Don't create
	  a viewstate object if all the viewstate stuff is null.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement style properties and viewstate 
	  saving/loading/tracking.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement bubble event.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: New implementation. Just properties and events for 
	  now.

2005-07-18  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Implement LoadPostBackData. Also register 
	  checkboxes for postback if they are checked so we can find
	  out when they are unchecked. Copy the AutoPostBack variable 
	  to the to be rendered checkbox when rendering.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Use the index as the ID, the rest of the 
	  id is built by being in the NamingContainer.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use enum instead of string. Saves a lookup. 

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: FindControl always returns 'this' according
	  to my probing.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: New impl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControl.cs: Use the ClientID when rendering a controls ID
	  attribute so that naming containers are honoured. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: use the state manager interface for tracking
	  the viewstate.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Simplify comparison. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs:
	* Repeater.cs: Use new utility class for resolving data sources.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Add attributes so the sub items get parsed 
	  properly. Remove old unneeded code for resolving lists.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use the DataSourceHelper so DataMembers are 
	  resolved properly.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Use DataBinder.Eval for data binding. This is more
	code-reuse-arific. Also use the IStateManager interface for loading
	data instead of the old internal method.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Initial implementation of Databinding. Make sure
	that the ListItemCollection is created when we load its ViewState. 

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Fix typo.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: New Implementation. Lacks databinding support.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Some parameter checking.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Use invariant culture when doing a ToString,
	  set value to the item's value, not to its Text.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: Even track default values in the viewstate. Call
	  base's RenderContents.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: New impl.

2005-07-08  Jackson Harper  <[email protected]>

	* Literal.cs: New implentation.
	* MonthChangedEventArgs.cs: new
	* MonthChangedEventHandler.cs: new
	
2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedeventArgs.cs: New implementation.

svn path=/trunk/mcs/; revision=48920
2005-08-26 22:27:06 +00:00