Commit Graph
35 Commits
Author SHA1 Message Date
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Marek Habersack 81c4068d12 2008-10-17 Marek Habersack <[email protected]>
* ImageMap.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in Render ().

	* DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().

	* TextBox.cs: validate the event in LoadPostData ().
	Register for event validation in AddAttributesToRender ().

	* HiddenField.cs: validate the event in RaisePostDataChangedEvent.
	Register for event validation in Render ().

	* RadioButton.cs: validate the event in LoadPostData ().
	Register for event validation in InternalAddAttributesToRender.

	* CheckBox.cs, RadioButtonList.cs: validate the event in
	RaisePostDataChangedEvent.

	* Menu.cs: added the SupportsEventValidation attribute to the
	class.
	Validate the event in RaisePostBackEvent ().
	Register for event validation in GetClientEvent ().

	* DetailsView.cs, GridView.cs: validate the event in
	RaisePostBackEvent ().
	Register for validation in GetCallbackScript () and in OnPreRender

	* Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
	ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* Control.cs: added the ValidateEvent internal method, used by
	classes descending from Control to automatically trigger event
	validation.

	* Page.cs: removed the CheckForValidationSupport method. It moved
	to Control.cs
	RaisePostBackEvent no longer validates the events, this
	functionality has been moved to Control.ValidateEvent.

2008-10-17  Marek Habersack  <[email protected]>

	* HtmlInputHidden.cs: validate the event in LoadPostDataInternal.

	* HtmlInputButton.cs: validate the event in
	RaisePostBackEventInternal ().
	Register for event validation in RenderAttributes ()

	* HtmlTextArea.cs: validate the event in
	RaisePostBackDataChangedEvent ().

	* HtmlButton.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ()

	* HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
	Register for event validation in RenderAttributes ().

	* HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
	LoadPostData.

	* HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
	HtmlInputPassword.cs: validate the event in
	RaisePostDataChangedEvent ().

2008-10-17  Marek Habersack  <[email protected]>

	* MenuAdapterTest.cs: work around event validation failure in the
	test environment.

2008-10-17  Marek Habersack  <[email protected]>

	* PageTest.cs: use a custom version of HtmlInputHidden control to
	work around the new event validation code which doesn't work in
	this instance.

svn path=/trunk/mcs/; revision=116231
2008-10-17 14:56:19 +00:00
Dean Brettle 382be2e62f ++ System.Web.UI.HtmlControls/ChangeLog (working copy)
* HtmlControl.cs (PreProcessRelativeReference), 
	HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
	HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
	Encode attributes that could contain HTML special chars.
	
	* HtmlSelect (RenderChildren): HTML-encode option text.

++ Test/System.Web.UI.HtmlControls/ChangeLog	(working copy)

	* HtmlInputButtonTest.cs, HtmlImageTest.cs, HtmlFormTest.cs, 
	HtmlInputRadioButtonTest.cs, HtmlSelectTest.cs:	Added tests 
	for HTML-encoded of attributes. 


svn path=/trunk/mcs/; revision=109349
2008-07-31 14:34:51 +00:00
Marek Habersack 468f8d9709 2007-05-08 Marek Habersack <[email protected]>
* HtmlInputButton.cs: button of type 'reset' does not invoke
	OnServerClick event.
	'reset' buttons clear all the controls in the form to their
	default values.

svn path=/trunk/mcs/; revision=76912
2007-05-08 10:43:25 +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 f420d63d3a make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65536
2006-09-17 12:47:35 +00:00
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 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 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 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 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 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 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 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
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
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Lluis Sanchez b7c1b9a952 2005-03-11 Lluis Sanchez Gual <[email protected]>
* HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
	Page.GetPostBackClientEvent since it is deprecated in 2.0.


svn path=/trunk/mcs/; revision=41697
2005-03-11 13:24:59 +00:00
Alon Gazit 149ba450ca update the implementation of RenderAttributes().
Change the if statement that determines if the onclick script is rendered.

svn path=/trunk/mcs/; revision=21536
2003-12-29 16:53:34 +00:00
Gonzalo Paniagua Javier 883b77dbab Remove Console.WriteLine
svn path=/trunk/mcs/; revision=21121
2003-12-14 17:04:49 +00:00
Alon Gazit da27ee2dbb The problem was in HtmlInputButton.RenderAttributes().
Before adding the script to the HTML, the number of Validators should
be checked.

svn path=/trunk/mcs/; revision=21119
2003-12-14 16:44:08 +00:00
Ravi Pratap M ef0081a565 2003-07-25 Ravi Pratap <[email protected]>
* everywhere: Remove uses of direct invocation of the 'Invoke'
	method on a delegate type - that is error cs1533 now flagged by
	mcs.

svn path=/trunk/mcs/; revision=16681
2003-07-25 17:35:43 +00:00
Gonzalo Paniagua Javier 83e5a79086 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: fixed bug #35677.

svn path=/trunk/mcs/; revision=10088
2003-01-03 02:30:54 +00:00
Gonzalo Paniagua Javier 26c28da391 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlContainerControl.cs:
	* HtmlControl.cs:
	* HtmlForm.cs:
	* HtmlGenericControl.cs:
	* HtmlImage.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputFile.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTable.cs:
	* HtmlTableCell.cs:
	* HtmlTableRow.cs:
	* HtmlTextArea.cs: added almost all missing attributes.

svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00
Gonzalo Paniagua Javier 2a93e6a46e 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputText.cs:
	* HtmlTextArea.cs: Initialize EventHandlerList indexer.

	* HtmlContainerControl.cs: almost rewritten to use a LiteralControl
	instead of maintaining some flags and strings. Implemented
	LoadViewState.

	* HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.

	* HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
	and Value.

svn path=/trunk/mcs/; revision=5864
2002-07-17 16:08:01 +00:00
Gonzalo Paniagua Javier 129ad6efaa 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponse.cs:
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.UI/LiteralControl.cs:
	* System.Web.UI.HtmlControls/HtmlAnchor.cs:
	* System.Web.UI.HtmlControls/HtmlButton.cs:
	* System.Web.UI.HtmlControls/HtmlControl.cs:
	* System.Web.UI.HtmlControls/HtmlForm.cs:
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
	* System.Web.UI.HtmlControls/HtmlInputControl.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
	* System.Web.UI.HtmlControls/HtmlInputImage.cs:
	* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
	* System.Web.UI.HtmlControls/HtmlInputText.cs:
	* System.Web.UI.HtmlControls/HtmlSelect.cs:
	* System.Web.UI.HtmlControls/HtmlTable.cs:
	* System.Web.UI.HtmlControls/HtmlTableCell.cs:
	* System.Web.UI.HtmlControls/HtmlTableRow.cs:
	* System.Web.UI.HtmlControls/HtmlTextArea.cs:

	Fixes based on class status page:

		- Add attributes (DefaultEvent, ParseChildren).
		- Fix declarations.
		- Explicitly implement some interfaces (IPostBackDataHandler
		and IPostBackEventHandler).
		- Implemented some missing methods.

svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Gonzalo Paniagua Javier 99f37626e5 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: for each child control to render, assign
	Control.Page. Probably also needed in HtmlContainerControl derived
	classes.

	* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
	new RenderBeginTag method, defined in MS docs.

	* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
	browser.

	* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
	without arguments. Xsp used it, though now it always use the other
	.ctor.

	* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
	implemented set_Name.

svn path=/trunk/mcs/; revision=5135
2002-06-06 11:38:30 +00:00
Gonzalo Paniagua Javier 62aeab6dc1 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
	now works fine and takes care of the details.

	* System.Web.UI/Control.cs: added HasChildren property.

	* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.

	* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
	override, not new.

	* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
	Render method in HtmlControl.

	* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
	render the tag and its attributes. Works for container and
	non-containers.

	* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
	to be new. Implemented Height property.

svn path=/trunk/mcs/; revision=5130
2002-06-05 15:58:32 +00:00
Gaurav Vaish b259284dc2 2002-24-02 Gaurav Vaish <[email protected]>
* *.cs -- Updates from Leen Toelen ([email protected])

svn path=/trunk/mcs/; revision=2142
2002-01-24 04:14:05 +00:00
Miguel de Icaza 7c9ee1a3ee Flush pending changes I got from a contributor that did not put his name in
svn path=/trunk/mcs/; revision=1263
2001-11-05 07:10:08 +00:00
Miguel de Icaza 6c6fecaea1 More files from Toelen
svn path=/trunk/mcs/; revision=1101
2001-10-05 16:09:01 +00:00