Commit Graph
40 Commits
Author SHA1 Message Date
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Marek Habersack e24a2ac597 2007-10-23 Marek Habersack <[email protected]>
* ListBox.cs, Table.cs: use Render{Begin,End}Tag
	instead of the Write* counterparts when	rendering contents.

svn path=/trunk/mcs/; revision=87978
2007-10-23 12:14:27 +00:00
Marek Habersack a53f2c9675 2007-09-25 Marek Habersack <[email protected]>
* WebControl.cs: added an internal method, BuildScriptAttribute,
	which merges the specified JavaScript code in an attribute, with
	the value of that attribute specified by the user.

	* CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
	preserve user-specified attribute value, if present.

	* ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
	after doing its job. AutoPostBack handling makes sure to preserve
	user-specified attribute value, if present. Fixes bug #327816.

svn path=/trunk/mcs/; revision=86294
2007-09-25 00:22:04 +00:00
Vladimir Krasnov 345867a67a * Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83500
2007-08-05 14:30:23 +00:00
Igor Zelmanovich c31ba5e272 2007-03-05 Igor Zelmanovich <[email protected]>
* DropDownList.cs:
	* ListBox.cs:
	used "ONLY_1_1" instead "!NET_2_0"	


svn path=/trunk/mcs/; revision=73722
2007-03-05 15:34:59 +00:00
Igor Zelmanovich c20d29ca50 2007-01-31 Igor Zelmanovich <[email protected]>
* CheckBoxList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* RadioButtonList.cs:
	EnsureDataBound is called when PostData is processed to restore 
	'state' of control if EnableViewState is false				 

svn path=/trunk/mcs/; revision=72025
2007-01-31 14:16:39 +00:00
Ilya Kharmatsky 7842ea07ef Implementation of ListControl.VerifyMultiSelect with method with proper overloading in derived types.
svn path=/trunk/mcs/; revision=71038
2007-01-15 15:30:06 +00:00
Igor Zelmanovich 32e03f9a63 2006-12-10 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	* ListBox.cs:
	* DropDownList.cs:
	fixed rendering for 2.0			


svn path=/trunk/mcs/; revision=69271
2006-12-10 12:39:55 +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
Gonzalo Paniagua Javier 175214ddac 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: if the list is not enabled, don't require a postback.
	Fixes bug #79445.


svn path=/trunk/mcs/; revision=65734
2006-09-20 18:18:04 +00:00
Igor Zelmanovich 6316158909 make rendering of the onchange attribute to consider ValidationGroup property.
Page.Validate() is called when CausesValidation=true

svn path=/trunk/mcs/; revision=65584
2006-09-18 15:02:55 +00:00
Gonzalo Paniagua Javier 5256f363c5 2006-03-13 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs:
	(RenderContents): don't call base.RenderContents. Fixes bug #77740.
	Patch by Hubert Fongarnand.


svn path=/trunk/mcs/; revision=57905
2006-03-13 20:56:16 +00:00
Gonzalo Paniagua Javier 6fcdefd63b 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: Rows and SelectionMode are virtual in 1.1


svn path=/trunk/mcs/; revision=53600
2005-11-28 23:03:37 +00:00
Gonzalo Paniagua Javier 979abd5fef 2005-11-03 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: render the 'onchange' attribute when AutoPostback is
	enabled. Fixes bug #76608.


svn path=/trunk/mcs/; revision=52529
2005-11-03 21:32:14 +00:00
Gonzalo Paniagua Javier c566a8586b fix the 2.0 build after my last commit
svn path=/trunk/mcs/; revision=52002
2005-10-20 19:52:43 +00:00
Gonzalo Paniagua Javier 0ffc7318e9 2005-10-20 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: made GetSelectedIndices() internal.
	* ListBox.cs: html-encode the item text. Fixed single and multiple
	selection handling. All the tests pass now. Closes bug #76478.


svn path=/trunk/mcs/; revision=51998
2005-10-20 19:11:22 +00:00
Gonzalo Paniagua Javier 92ff13abd0 2005-10-04 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: remove Console.
	* ListBox.cs: the name is the UniqueID, not the ClientID.
	* WebControl.cs: Attributes is case insensitive.


svn path=/trunk/mcs/; revision=51148
2005-10-04 07:36:02 +00:00
Sebastien Pouliot adf172ecf9 2005-09-23 Sebastien Pouliot <[email protected]>
* Button.cs: For 2.0 don't add the "name" attribute unless there's an 
	id.
	* DataGrid.cs: Fix TagKey (table) for 2.0.
	* DataList.cs: Revert 2.0 specific stuff that was changed in RC.
	* DropDownList.cs: For 2.0 don't add the "name" attribute unless 
	there's an id.
	* ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
	id.
	* RoleGroupCollection.cs: Fix "extra" exception in Remove method.
	* Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty 
	(i.e. not null).
	* TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
	id.
	* TreeView.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* XmlDataSource.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.


svn path=/trunk/mcs/; revision=50583
2005-09-23 15:46:05 +00:00
Sebastien Pouliot 0bbe2342c3 2005-09-20 Sebastien Pouliot <[email protected]>
* AccessDataSource.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [ToolboxBitmap] on class.
	* AdRotator.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Removed extra Page and ViewState properties.
	* BulletedList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Button.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Calendar.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* CheckBox.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* CompositeControl.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added new protected RecreateChildControls method.
	* DataControlCommands.cs: Added declarative security (LinkDemands) for 
	Minimal. Added private ctor.
	* DataGrid.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Fixed properties for 2.0 (mostly removing 
	[Bindable]). Added override for TagKey property.
	* DataGridColumn.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
	* DataGridItem.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added IDataItemContainer interface for 2.0.
	* DataGridPagerStyle.cs: Added declarative security (LinkDemands) for 
	Minimal. Remove [Bindable] from 2.0 and add [Localizable].
	* DataList.cs: Removed [Load|Save]ControlState methods.
	* DropDownList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* EditCommandColumn.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Added missing attributes, 
	[DefaultValue] and [Localize] for 2.0.
	* FontInfo.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Remove [Bindable] and added [RefreshProperties] 
	for 2.0.
	* Login.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
	* ImageButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* LinkButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* ListBox.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* Literal.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
	* LoginStatus.cs: Added missing [Themeable] attributes on properties.
	* MenuItemStyle.cs: Changed IsEmpty to public (required to compile - 
	but will be shown as extra).
	* RadioButton.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* RadioButtonList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
	* RangeValidator.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Added missing [Themeable] attributes.
	* RegularExpressionValidator.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add 
	[Localizable].
	* RoleGroupCollection.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal. Fixed base class (changed in RC). 
	Re-implemented CopyTo. Removed some methods.
	* Style.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
	is now public in 2.0.
	* Table.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* TableCell.cs: Fixed PersistenceMode for 2.0.
	* TextBox.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal. Added [SupportsEventValidation] on class (2.0).
	* TreeNodeStyle.cs: Changed IsEmpty to public (required to compile - 
	but will be shown as extra).
	* WebControl.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated 
	property.


svn path=/trunk/mcs/; revision=50329
2005-09-20 19:41:00 +00:00
Chris Toshok 071571acdf 2005-09-09 Chris Toshok <[email protected]>
* CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
	ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
	LoadPostData/RaisePostDataChangedEvent.


svn path=/trunk/mcs/; revision=49828
2005-09-09 20:25:04 +00:00
Gonzalo Paniagua Javier 85d16e470b 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
* ListItemCollection.cs: remove obsoleted methods.
	* ListBox.cs: use IStateManager on the item collection.


svn path=/trunk/mcs/; revision=49714
2005-09-08 15:19:02 +00:00
Chris Toshok 545c9d318f 2005-09-01 Chris Toshok <[email protected]>
* Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
	CommandField.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
	CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
	Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
	TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
	BaseValidator.cs, CustomValidator.cs, TextBox.cs,
	ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
	RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
	Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
	XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
	WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
	TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
	TableItemStyle.cs: Add some WebCategory and WebSysDescription
	attributes.


svn path=/trunk/mcs/; revision=49301
2005-09-01 21:25: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
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Lluis Sanchez 170d79ed12 2005-03-11 Lluis Sanchez Gual <[email protected]>
* Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
	  correctly.
	* CommandField.cs: Mostly implemented.
	* Menu.cs: Use callback methods moved to ClientScriptManager.
	* DataControlButton.cs: Internal control used to implement buttons
	  for navigating in data bound controls.
	* DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
	  to render the column headers.
	* CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
	  DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
	  Don't use Page.GetPostBackClientEvent
	  since it is deprecated in 2.0.
	* GridView.cs: Implemented some several interfaces.
	  Implemented support client sorting and page navigation (using callbacks).
	  Implemented the autogenerated command column using the new CommandField
	  class.
	* ButtonFieldBase.cs: Implemented.
	* GridView.js: New helper script to support client side sorting and
	  paging in the grid view.


svn path=/trunk/mcs/; revision=41698
2005-03-11 13:25:26 +00:00
Lluis Sanchez 0991e0512b 2005-02-16 Lluis Sanchez Gual <[email protected]>
* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
	* RadioButton.cs: Added missing 2.0 methods.
	* ListItem.cs: Added Enabled property.
	* MailMessageEventArgs.cs: Use the correct message class.
	* ListControl.cs: Implemented missing properties and support for
	control state. Implemented base RenderContents method.
	* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
	properties.
	* BaseCompareValidator.cs: Implemented methods that support conditional
	use of the invariant culture.
	* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
	* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
	It takes a DbCommand instead of a IDbCommand.
	* GridViewSortEventArgs.cs: Added SortDirection property.
	* TextBox.cs, CheckBoxList.cs: Added protected version of
	IPostBackDataHandler methods.
	* RadioButtonList.cs: Added protected version of
	IPostBackDataHandler and IRepeatInfoUser methods.
	* Repeater.cs: Updated some method names.
	* DropDownList.cs:  Added protected version of
	IPostBackDataHandler methods. Reuse RenderContents from base class.
	* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
	* GridViewUpdatedEventArgs.cs: Fix typo.
	* ListBox.cs: Added protected version of IPostBackDataHandler methods.
	Reuse RenderContents from base class.
	* BaseDataBoundControl.cs: Several fixes.
	* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.


svn path=/trunk/mcs/; revision=40772
2005-02-16 20:42:06 +00:00
Lluis Sanchez 300c4162b7 2005-02-02 Lluis Sanchez Gual <[email protected]>
* Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
	CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
	ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
	DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
	RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
	BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
	IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
	RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
	RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
	CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
	QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
	CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
	RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
	DataGridSortCommandEventArgs.cs, Repeater.cs,
	MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
	XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
	Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, HierarchicalDataBoundControl.cs,
	EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
	ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
	ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
	WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
	ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
	LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
	AdCreatedEventArgs.cs:
	
	General 2.0 API fixes: missing attributes, incorrect inheritance,
	missing sealed keywords, wrong signatures, etc.


svn path=/trunk/mcs/; revision=39994
2005-02-02 16:24:08 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier e21820ea1c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #48671.

svn path=/trunk/mcs/; revision=18244
2003-09-21 15:39:01 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Gonzalo Paniagua Javier 91e5108757 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* ListBox.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* TableRow.cs:
	* WebControl.cs:
	* Xml.cs: forgot to add using System.ComponentModel.

	* BaseValidator.cs: use explicitly
	System.ComponentModel.AttributeCollection as there is another class
	with the same name under System.Web.UI.

svn path=/trunk/mcs/; revision=5642
2002-07-08 00:01:33 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +00:00
Gonzalo Paniagua Javier 57907c2dce 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
	(almost the same bug as in regular attributes).

	* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
	(AddAttributesToRender): also call parent class method.

svn path=/trunk/mcs/; revision=5326
2002-06-18 11:44:39 +00:00
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00
Gaurav Vaish ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish 1aa785f819 2002-02-07 Gaurav Vaish <[email protected]>
* ListBox.cs  -- Implemented the last unfinished method.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2256
2002-02-07 13:32:09 +00:00
Gaurav Vaish 33774cc7d4 2002-02-06 Gaurav Vaish <[email protected]>
Back from a small vacation due to the exams...

* ListItem.cs, ListItemCollection.cs:  Completed
* WebControl.cs  -- Minor changes.

* TableStyle.cs, TargetConverter, TemplateColumn  -- Fully implemented

* ListBox.cs  -- Partial Implementation (See ChangeLog for details)

* ChangeLog  -- Verbose details of the work done

* TODO -- Updated list for completed classes.

svn path=/trunk/mcs/; revision=2245
2002-02-06 02:44:18 +00:00