Commit Graph
7 Commits
Author SHA1 Message Date
Andrew Skiba 45c2031036 fixes for SiteMapPathTest.Render_xxx tests
svn path=/trunk/mcs/; revision=62671
2006-07-17 14:19:22 +00:00
Andrew Skiba 0e831bf11d * SiteMapPath.cs: create Literal instead of Label according to the MSDN and test SiteMapPath_InitializeItem.
svn path=/trunk/mcs/; revision=62657
2006-07-16 14:11:24 +00:00
Andrew Skiba 61c0bd83e4 fix the default PageSeparator value
svn path=/trunk/mcs/; revision=62398
2006-07-10 15:05:03 +00:00
Chris Toshok 26c91045e8 * SiteMapPath.cs (InitializeItem): in the Current and Root node
cases, apply the NodeTemplate if it exists and there isn't a
	CurrentNodeTemplate or RootNodeTemplate, respectively.

2006-03-15  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=58037
2006-03-15 19:54:46 +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
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +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