17 Commits
Author SHA1 Message Date
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Marek Habersack f2f50f05da 2010-07-15 Marek Habersack <[email protected]>
* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
	property

	* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

svn path=/trunk/mcs/; revision=160448
2010-07-15 16:51:09 +00:00
Marek Habersack 2b863d3c26 2008-04-30 Marek Habersack <[email protected]>
* SiteMapNode.cs: the implicitResourceKey parameter to one of the
	constructors sets the value of the ResourceKey property.
	GetImplicitResourceString uses the provider's ResourceKey as the
	global resource object key and the node's ResourceKey to construct
	the resource name. Fixes bug #323994
	ResourceKey setter throws an InvalidOperationException now, when
	the node is read-only.

2008-04-30  Marek Habersack  <[email protected]>

	* SiteMapDataSource.cs: when no starting node is found, return
	null instead of Provider.RootNode. Fixes bug #323994



svn path=/trunk/mcs/; revision=102197
2008-04-30 12:39:18 +00:00
Igor Zelmanovich 86644d0e33 2007-05-29 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs:
	* SiteMapDataSource.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	DataSourceChanged and DataSourceViewChanged are raised in right case, when
	different properties changed their value.				


svn path=/trunk/mcs/; revision=78131
2007-05-29 14:59:47 +00:00
Marek Habersack 8440705fe9 2007-04-18 Marek Habersack <[email protected]>
* SiteMapDataSource.cs: query the site map for the current node
	when configured to use it as the start point. Fixes bug #81376,
	patch from Mike Morano <[email protected]>.


svn path=/trunk/mcs/; revision=75864
2007-04-18 10:16:21 +00:00
Marek Habersack 947134fb99 2007-04-05 Marek Habersack <[email protected]>
* SiteMapDataSource.cs: fix GetStartNode for situations when the
	current URL is not defined in the sitemap file. Fixes bug
	#81314. Patch from Mike Morano <[email protected]>.


svn path=/trunk/mcs/; revision=75419
2007-04-05 08:14:15 +00:00
Adar Wesley 1182130305 2007-01-18 Adar Wesley <[email protected]>
* SiteMapDataSource.cs: implemented logic of GetStartNode when
        StartingNodeOffset is positive.


svn path=/trunk/mcs/; revision=71239
2007-01-18 08:30:31 +00:00
Vladimir Krasnov 42781a9314 * SiteMapDataSource.cs: Add explicit implementation for IListSource interface
svn path=/trunk/mcs/; revision=69112
2006-12-06 16:12:04 +00:00
Konstantin Triger a5bddcac21 Implement explicit implementation of IDataSource as documented in msdn
svn path=/trunk/mcs/; revision=69106
2006-12-06 15:55:37 +00:00
Igor Zelmanovich df4c28bc58 2006-11-23 Igor Zelmanovich <[email protected]>
* SiteMapDataSource.cs: fixed: GetViewNames()
	* ListSourceHelper.cs: implemented 


svn path=/trunk/mcs/; revision=68392
2006-11-23 14:35:59 +00:00
Chris Toshok c4b35a5494 2006-03-15 Chris Toshok <[email protected]>
* SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.

	* SiteMapDataSource.cs (StartingNodeOffset): new property.
	(GetStartNode): add code to handle StartNodeOffset < 0.

	* CompositeControl.cs
	(ICompositeControlDesignerAccessor.RecreateChildControls): just
	call the non-iface method.

	* DataBoundControl.cs (GetDataSource): this is likely wrong, but
	traverse up the naming container tree looking for our datasource
	if we're bound using a DataSourceID.  This fixes things in the
	sitemap1 test, which uses a mixture of templates and
	ContentPlaceholders with the sitemapdatasource and sitemappath at
	different levels in the naming container tree (let along the
	itemnode template.)

	* SiteMapPath.cs (DataBind): implement this by chaining up to
	base.DataBind, then by looping over our children, emitting
	OnItemDataBound for each SiteMapNodeItem.
	(AddAttributesToRender): remove.
	(CreateChildControls): call DataBind as the final step here..  I
	have, of course, no idea if this is right.
	(CreateControlHierarchy): don't databind our children here, as
	they need to be in the Controls collection before we do.
	(RenderContents): render our accessibility/screenreader stuff
	here, if SkipLinkText != "".


svn path=/trunk/mcs/; revision=58030
2006-03-15 17:48:20 +00:00
Chris Toshok 5cb4398967 In System.Web.UI:
2006-02-23  Chris Toshok  <[email protected]>

	* Page.cs (ProcessCallbackData): track change to
	ICallbackEventHandler iface.

	* ICallbackEventHandler.cs: enable the proper members of this
	interface.

	* DataSourceSelectArguments.cs: reformat getter/setters.
	
In System.Web.UI.WebControls:
2006-02-23  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
	DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
	HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
	SqlDataSourceCommandType.cs, TableSectionStyle.cs,
	TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
	ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
	errors.  most were caused by a property/method being virtual when
	it shouldn't be, or vice versa.


svn path=/trunk/mcs/; revision=57203
2006-02-23 15:21:28 +00:00
Kornél Pál b4797dcddf Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
2005-07-29 00:13:41 +00:00
Kornél Pál 83946b2158 Replaced assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47823
2005-07-28 23:46:29 +00:00
Lluis Sanchez 3b4fdcc1c6 2005-05-26 Lluis Sanchez Gual <[email protected]>
* DataListItem.cs:
	* GridViewRow.cs:
	* DataGridItem.cs:
	* RepeaterItem.cs:
	* FormView.cs:
	* MenuItemTemplateContainer.cs:
	* DetailsView.cs: Track changes in the IDataItemContainer interface.
	
	* CommandField.cs: Added CausesValidation property. Set that
	property value to all buttons of the field.
	
	* SqlDataSourceView.cs:
	* CollectionDataSource.cs:
	* XmlDataSourceView.cs: Properly initialize the base class.
	
	* SiteMapDataSource.cs:
	* SiteMapHierarchicalDataSourceView.cs:
	* SiteMapNodeItem.cs:
	* SiteMapDataSourceView.cs:
	* SiteMapPath.cs: Mostly implemented.
	
	* HierarchicalDataBoundControl.cs: Always bind the control when the
	page is loaded for the first time.
	
	* TreeView.cs: Properly bind the control when loaded from a callback.


svn path=/trunk/mcs/; revision=45062
2005-05-26 16:17:00 +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
Lluis Sanchez f9430d15c0 2004-11-18 Lluis Sanchez Gual <[email protected]>
* SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
	* SiteMapDataSourceView.cs: Minor fix.


svn path=/trunk/mcs/; revision=36275
2004-11-18 14:35:04 +00:00