15 Commits
Author SHA1 Message Date
Alexander Köplinger a22bb15e6b [System.Web] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Marek Habersack afeab3ef73 - 1.1 code removal
- coding style
- minor optimizations

svn path=/trunk/mcs/; revision=159296
2010-06-21 21:01:26 +00:00
Marek Habersack c8e70f1fc5 2010-06-03 Marek Habersack <[email protected]>
* Parameter.cs, ControlParameter.cs, SessionParameter.cs,
	CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
	QueryStringParameter.cs: Evaluate is 'protected internal virtual'
	in 4.0.

	* RouteParameter.cs: implemented.

svn path=/trunk/mcs/; revision=158371
2010-06-02 23:12:20 +00:00
Marek Habersack 287b184544 2010-01-18 Marek Habersack <[email protected]>
* Parameter.cs: added missing 3.5 APIs - constructors taking
	DbType as one of the parameters, ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850

2010-01-18  Marek Habersack  <[email protected]>

	* ParameterTest.cs: added tests for ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and constructors taking DbType as one of
	the parameters.

svn path=/trunk/mcs/; revision=149778
2010-01-18 22:34:03 +00:00
Marek Habersack 7bbd8d5027 2008-10-08 Marek Habersack <[email protected]>
* ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
	evaluation now. This makes it support complex expressions.

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

	* DataBinder.cs: in Eval expression needs to be trimmed before
	checking whether it's an empty string.
	GetIndexedPropertyValue must explicitly look for the "Item"
	property, the lack of the DefaultMember attribute on type must not
	throw exceptions.

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

	* ControlParameterTest.cs: added a test for ControlParameter
	evaluating a complex property expression.

svn path=/trunk/mcs/; revision=115193
2008-10-08 10:31:17 +00:00
Igor Zelmanovich 20951c69b7 2006-11-21 Igor Zelmanovich <[email protected]>
* ControlParameter.cs: fixed: Evaluate method 
	throws exceptions correctly.


svn path=/trunk/mcs/; revision=68247
2006-11-21 12:39:50 +00:00
Gonzalo Paniagua Javier f4c3e0f143 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
* ControlParameter.cs: fix search for controls so that they use their
	NamingContainer, not the Page. Patch by Marek Habersack that fixes
	bug #78320.


svn path=/trunk/mcs/; revision=65130
2006-09-08 19:20:40 +00:00
Chris Toshok 99bc4f7b8b 2006-02-21 Chris Toshok <[email protected]>
* ButtonField.cs: ues the ViewState.Get* pattern with default
	instead of the explicit ViewState lookup + null check.

	* CommandField.cs: same.

	* CheckBox.cs: same.

	* AutoGeneratedFieldProperties.cs: same.

	* BaseDataList.cs: same.

	* CircleHotSpot.cs: same.

	* BulletedList.cs: same.

	* DataBoundControl.cs: same.

	* CookieParameter.cs: same.

	* ControlParameter.cs: same.

	* CustomValidator.cs: same.

	* ButtonFieldBase.cs: same.

	* CheckBoxField.cs: same, and fix the scope of InitializeDataCell.

	* AutoGeneratedField.cs: fix scope of InitializeDataCell.

	* BaseValidator.cs: same, and clean up the getter/setter formatting.

	* CompareValidator.cs: same.


svn path=/trunk/mcs/; revision=57120
2006-02-22 01:13:12 +00:00
Lluis Sanchez eefe5a8604 2005-04-01 Lluis Sanchez Gual <[email protected]>
* ButtonField.cs: Mostly implemented.
	* DataControlFieldHeaderCell.cs: Implemented.
	* ObjectDataSourceView.cs: Initial implementation.
	* DataControlButton.cs: Added support for real buttons.
	* Label.cs, DataControlField.cs: Flush.
	* ObjectDataSource.cs: Initial implementation.
	* HiddenField.cs: Added class stub.
	* GridView.cs: Load autogenerated field properties before
	creating the children, to make sure that column info is ready.
	* ControlParameter.cs: Implemented Evaluate method.
	* ImageField.cs: Added class stub.
	* BoundField.cs: Added HtmlEncode property.
	* DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
	to its own file.
	* CheckBoxField.cs: Mostly implemented.
	* TemplateField.cs: Added class stub.
	* ObjectDataSourceSelectingEventArgs.cs: Added missing property.
	* ObjectDataSourceMethodEventArgs.cs: Fixed base class.
	* Parameter.cs: Added internal GetValue method (Evaluate is protected)


svn path=/trunk/mcs/; revision=42469
2005-04-01 17:29:21 +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
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Todd Berman 288f8abdd5 2003-11-18 Todd Berman <[email protected]>
* ControlParameter.cs:
        * CookieParameter.cs:
        * FormParameter.cs:
        * QueryStringParameter.cs:
        * SessionParameter.cs: added public .ctor ()
        * Parameter.cs: added public .ctor (), internal SetOwnerCollection
        and handling, as well as internal ParameterValue for easy access.
        NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
        * ParameterCollection.cs: implementation redux.

svn path=/trunk/mcs/; revision=20213
2003-11-19 04:47:13 +00:00
Ben Maurer d0ac8392d4 2003-11-17 Ben Maurer <[email protected]>
* StateManagedCollection.cs: Implement.

2003-11-17 Ben Maurer  <[email protected]>

	* ControlParameter.cs:
	* CookieParameter.cs:
	* FormParameter.cs:
	* Parameter.cs:
	* QueryStringParameter.cs: New v2 files. Mostly
	implemented, still need a few methods.

svn path=/trunk/mcs/; revision=20146
2003-11-17 23:03:01 +00:00