Commit Graph
71 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
Marek Habersack 001579d033 2008-05-06 Marek Habersack <[email protected]>
* Calendar.cs: do not create dateInfo in the constructor - culture
	might be not set yet at this point. Fixes bug #323566
	Added a private property, DateInfo, which creates the dateInfo
	when requested.

2008-05-06  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: compatibility - added the
	__stringResource static field to the generated class and a call to
	SetStringResourcePointer to the FrameworkInitialize method.

	* PageCompiler.cs: __fileDependencies should also be defined in
	the 1.x profile.
	Page properties assigned in the page directive should be set
	inside BuildControlTree in the 2.0 profile.


svn path=/trunk/mcs/; revision=102573
2008-05-05 23:38:47 +00:00
Igor Zelmanovich 5a23107653 2008-01-31 Igor Zelmanovich <[email protected]>
* Calendar.cs: resolve Next/Prev. month link date correctly.


svn path=/trunk/mcs/; revision=94469
2008-01-31 15:16:05 +00:00
Vladimir Krasnov 0c5fb3df11 * Calendar.cs: performance optimizations:
BuildLink fixed, StringBuilder used.
	TodaysDate DateTime.Today call cahced.

svn path=/trunk/mcs/; revision=89924
2007-11-19 10:26:10 +00:00
Marek Habersack 37e2c920d4 2007-09-18 Marek Habersack <[email protected]>
* Calendar.cs: correctly apply day cell style. Fixes bug #315903

svn path=/trunk/mcs/; revision=85946
2007-09-17 22:13:01 +00:00
Marek Habersack 28223e810c 2007-09-17 Marek Habersack <[email protected]>
* Calendar.cs: style attribute value must be enclosed in quotes.

            * TableStyle.cs: do not capitalize the align styles. Fixes bug
            #313766.

svn path=/trunk/mcs/; revision=85863
2007-09-17 09:29:29 +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 7ab042598b 2007-07-15 Igor Zelmanovich <[email protected]>
* Calendar.cs: fixed: correct 'id' attribute is rendered.

svn path=/trunk/mcs/; revision=82005
2007-07-15 10:33:58 +00:00
Marek Habersack a7ac151aa1 2007-04-18 Marek Habersack <[email protected]>
* Calendar.cs: change year/month format to be culture aware. Fix
	for bug #81390. Patch submitted by Atsushi Enomoto
	<[email protected]>

svn path=/trunk/mcs/; revision=75861
2007-04-18 07:47:34 +00:00
Gert Driesen 0a936113dc * CalendarTest.cs: Enabled tests for bug #80881. Fixed NotWorking
SelectDateProperty test to pass on MS.
* Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
instead of CurrentUICulture for DateFormatInfo.

svn path=/trunk/mcs/; revision=73199
2007-02-20 17:44:29 +00:00
Igor Zelmanovich a53bdc982f 2007-02-12 Igor Zelmanovich <[email protected]>
* Calendar.cs:
	* DayRenderEventArgs.cs:
	implemented 2.0 feature - SelectUrl.

svn path=/trunk/mcs/; revision=72648
2007-02-12 12:37:52 +00:00
Igor Zelmanovich 143229fe54 2006-12-17 Igor Zelmanovich <[email protected]>
* Calendar.cs: support DayNameFormat.Shortest


svn path=/trunk/mcs/; revision=69612
2006-12-17 17:34:13 +00:00
Marek Habersack 12f5f56c27 Event validation fix for the Calendar control
svn path=/trunk/mcs/; revision=68463
2006-11-26 01:09:43 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Juraj Skripsky 7c9bb40246 2006-06-13 Juraj Skripsky <[email protected]>
* Calendar.cs: Make sure WebControls.Enabled is respected.
	* SelectedDatesCollection.cs: Set time for all DateTime object passed in
	to 12:00am as MS.NET does the same.
	Fixes bug #71251.

svn path=/trunk/mcs/; revision=61679
2006-06-13 20:35:11 +00:00
Gonzalo Paniagua Javier c2af6f8b34 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: Modified file.


svn path=/trunk/mcs/; revision=55303
2006-01-10 16:30:10 +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
Gonzalo Paniagua Javier 285d824d6a 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web_test.dll.sources: add new test.

	* System.Web.UI/AttributeCollection.cs: avoid code duplication and
	don't add "style" to the bag, or it will overwrite the settings made
	by CssStyleCollection.

	* System.Web.UI/CssStyleCollection.cs: make it throw where MS throws.
	Minimize the number of times we create the "style" string and take
	care of updating it for the AttributeCollection. FillStyle and
	BagToString are now private. One should use the 2.0 (internal in <2.0)
	Value property.

	* System.Web.UI.WebControls/Style.cs: avoid unnecesary creation of a
	CssStyleCollection and instead write the style attributes directly to
	the HtmlTextWriter.

	* System.Web.UI.WebControls/CheckBox.cs: adapted to new API.

	* DataGrid.cs: handle null data sources. Fixed the contions that make
	the table to be added to the Controls collection.

	* System.Web.UI.WebControls/Calendar.cs: the table needed an ID and the
	attributes from the parent. Also don't create the ControlStyleCollection
	if it has not already been created.


svn path=/trunk/mcs/; revision=50931
2005-09-28 08:05:58 +00:00
Gonzalo Paniagua Javier 711df0ad3d 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: TrackViewState should be called upon creation, not on
	every get_XXX call. Cleanup.


svn path=/trunk/mcs/; revision=50899
2005-09-27 23:46:56 +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 9cc520f4eb 2005-09-07 Chris Toshok <[email protected]>
* Calendar.cs (WriteDay): always add BackColor=Silver,
	ForeColor=White to selected day cells, before copying over the
	selectedDayStyle, if it exists.
	(WriteDays): fix nunit test - if the first day of the month falls
	on the first day of the week, go back one week (effectively adding
	a row of dates from the previous month.)
	(WriteTitle): don't copy the control style to the tableTitle,
	since it might have height specifications, which would make the
	title look rather off.


svn path=/trunk/mcs/; revision=49672
2005-09-08 01:33:49 +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
Jordi Mas i Hernandez 32408bfd61 2005-08-03 Jordi Mas i Hernandez <[email protected]>
*  CalendarTest.cs: Trackview states

2005-08-02  Jordi Mas i Hernandez <[email protected]>

	*  RadioButtonListTest.cs: test unit

2005-07-29  Jordi Mas i Hernandez <[email protected]>

	* SelectedDatesCollectionTest.cs: new unit test
	* CalendarDayTest.cs: new unit test
	* CalendarTest.cs: more tests for calendar control

2005-07-12  Jordi Mas i Hernandez <[email protected]>

	* ButtonTest.cs: add Default constructors tests
	* ImageButtonTest.cs: Adds ImageButtonTest 

2005-07-11  Jordi Mas i Hernandez <[email protected]>

	* ButtonTest.cs: New unit test for Button

2005-08-04  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: fixes issues with OnDayRender event and others

2005-08-03  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: fixes Save/Load state

2005-08-03  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: bug fixes

2005-08-02  Jordi Mas i Hernandez  <[email protected]>

	* RadioButtonList.cs: bug fixes

2005-08-02  Jordi Mas i Hernandez  <[email protected]>

	* CheckBox.cs, RadioButton.cs: mecanism to avoid exposing  
	AddAttributesToRender
	* RadioButtonList.cs: Implementation

2005-08-01  Jordi Mas i Hernandez  <[email protected]>

	* ImageButton.cs: fixes, complete missing parts

2005-07-29  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: fixes exceptions, bug fixes, new features
	* SelectedDatesCollection.cs: Fixes bugs discovered by the tests
 	* CalendarDay.cs: fixes default value

2005-07-27  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: get the styles right, honors more properties, fixes, fix 
	var names style

2005-07-26  Jordi Mas i Hernandez  <[email protected]>

	* Calendar.cs: selection of dates, state load, save, track, support
	for new properties, many fixes. 

2005-07-23  Jordi Mas i Hernandez  <[email protected]>

	* Button.cs: fixes events, adds attributes

2005-07-22  Jordi Mas i Hernandez  <[email protected]>
	* Calendar.cs: Initial implementation
	* CalendarSelectionMode.cs: fix enum order

2005-07-12  Jordi Mas i Hernandez  <[email protected]>

	* TitleFormat.cs: Add attribute
	* TextBoxMode.cs: Add attribute
	* CalendarDay.cs: Initial implementation
	* ImageButton.cs: Initial implementation
	* CalendarSelectionMode.cs:Initial implementation

2005-07-12  Jordi Mas i Hernandez  <[email protected]>

	* TextBoxMode.cs: simple enum
	* TitleFormat.cs: simple enum

2005-07-10  Jordi Mas i Hernandez  <[email protected]> 
 
	* Button.cs: Initial Button implementation

svn path=/trunk/mcs/; revision=48923
2005-08-26 22:29:03 +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
Gonzalo Paniagua Javier 1c4152c4c8 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: OnDayRender can toggle IsSelectable on our back.


svn path=/trunk/mcs/; revision=43800
2005-04-29 18:40:04 +00:00
Gonzalo Paniagua Javier 6b71b0b38a 2005-04-26 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: when the day is active, modify the text of the literal
	control that holds the number, not the text of the TableCell. Also call
	OnDayRender before updating that text. Fixes bug #74718.


svn path=/trunk/mcs/; revision=43581
2005-04-26 07:24:42 +00:00
Gonzalo Paniagua Javier 31dff2c474 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* StringArrayConverter.cs:
	* Calendar.cs: warnings.


svn path=/trunk/mcs/; revision=43429
2005-04-22 04:37:32 +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 b18398a3f3 2005-02-04 Lluis Sanchez Gual <[email protected]>
* Button.cs: Implemented all missing 2.0 features.
	* Table.cs: Render the table caption, when specified.
	* Calendar.cs: Implemented most of missing 2.0 features.
	* TableCell.cs: Fixed attributes.


svn path=/trunk/mcs/; revision=40098
2005-02-04 00:51:40 +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
Marek Safar 47bb6c3b60 removed unused variable
svn path=/trunk/mcs/; revision=36775
2004-11-29 12:52:00 +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 030c406856 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: implemented OnPreRender and HasWeekSelectors.

svn path=/trunk/mcs/; revision=28940
2004-06-07 00:36:36 +00:00
Gonzalo Paniagua Javier e6c1f1a629 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: set the title class attribute if we have it. Fixes bug
	53671.

svn path=/trunk/mcs/; revision=28857
2004-06-05 05:59:21 +00:00
Gonzalo Paniagua Javier aa11211a2a 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Handlers/TraceHandler.cs:
	* System.Web.UI/Control.cs:
	* System.Web.UI/Html32TextWriter.cs:
	* System.Web.UI/HtmlTextWriter.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CompareValidator.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Style.cs:
	* System.Web.UI.WebControls/WebControl.cs:
	Added protected missing members and attributes.

svn path=/trunk/mcs/; revision=28743
2004-06-03 06:17:31 +00:00
Gonzalo Paniagua Javier 343a7a5710 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: fire OnDayRender after assigning the calendar cell text.
	Fixes bug #58097.

svn path=/trunk/mcs/; revision=27340
2004-05-14 05:41:49 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00
Jackson Harper 8fbe3cd08e * Calendar.cs: Match MS postback data. This allows sites that
parse the postback data manually to work.

svn path=/trunk/mcs/; revision=23052
2004-02-13 09:23:54 +00:00
Alon Gazit 92c75c2c25 prevent NullReferenceException in RenderAllDays().
svn path=/trunk/mcs/; revision=22573
2004-01-28 10:16:40 +00:00
Gonzalo Paniagua Javier 1a8e5a4daa 2004-01-27 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: when rendering days, add a LiteralControl containing the
	day before OnDayRender is called. Only generate the default links for
	days when IsSelectable is true after OnDayRender. Fixes bug #53372.

svn path=/trunk/mcs/; revision=22526
2004-01-27 08:33:21 +00:00
Ben Maurer d2f9b77b7a 2003-11-22 Ben Maurer <[email protected]>
* Calendar.cs (SaveViewState):
	    - We were allocating a 11 item array, we only used 10 items,
	      so only allocate 10.
	    - We only need to save the selected dates if there are any.
	* DataGrid.cs (SaveViewState):
	* DataGridColumn.cs (SaveViewState):
	* DataGridColumnCollection.cs (SaveViewState):
	    - Only return the array if there is anything in it
	* Style.cs (SaveViewState):
	    - Only save the bits if there were changes.
	* WebControl.cs (SaveViewState), (LoadViewState):
	    - Don't save Enabled into the viewstate here, we already
	      do it in the property. This just caused *EVERY* control
	      to have a non-null state, taking up lots of extra room
	      in the ViewState.
	    - The style will always be created with this control's
	      viewstate, so the style will always return null for the
	      viewstate. As such, we do not need to store it. We can
	      also reduce the triplet to a pair because of this.

svn path=/trunk/mcs/; revision=20342
2003-11-22 22:01:19 +00:00
Ben Maurer 2387ae2785 render the next month button so that aligns to the right
svn path=/trunk/mcs/; revision=19350
2003-10-23 22:41:39 +00:00
Gonzalo Paniagua Javier be00ef4851 2003-10-23 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
	Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19334
2003-10-23 10:11:40 +00:00
Gonzalo Paniagua Javier d048878557 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: fixed bug #49727.

svn path=/trunk/mcs/; revision=19182
2003-10-19 00:20:59 +00:00
Gonzalo Paniagua Javier 1351d60778 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: apply the calendar style to the new Table, not to itself.
	Fixes #49406.

	* CheckBox.cs: render the hidden fields if AutoPostBack.

	* Style.cs: don't render empty width/height. Small improvement in
	CopyFrom.

	* Table.cs: fixed condition for border width.

	* TableStyle.cs:
	(CopyFrom): always call the base class to copy other attributes. Fixes
	bug #49408. Don't render empty 'rules' attribute.

	* WebControl.cs: track viewstate when enabled. Don't overwrite source
	control attributes in CopyBaseAttributes.

	* ChangeLog: fixed dates.

svn path=/trunk/mcs/; revision=18878
2003-10-11 09:08:19 +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
Miguel de Icaza dc645afbd7 The table encodes 5 bits
svn path=/trunk/mcs/; revision=12775
2003-03-24 04:38:22 +00:00
Gonzalo Paniagua Javier e2dc2f131b 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: s/MONO_PATH_PREFIX/MONO_PATH/

	* System.Web.UI/LosFormatter.cs: added DateTime to special types.
	* System.Web.UI.WebControls/Calendar.cs: fixed loading/saving selected
	dates.
	* System.Web.UI.WebControls/SelectedDatesCollection.cs: added internal
	function to get the underlying ArrayList.

	Calendar navigation works again. Selecting dates too.

svn path=/trunk/mcs/; revision=9115
2002-11-20 16:45:13 +00:00