.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Need XAML for the VS 2010 expander template

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :WPF

The expander template has changed in VS 2010. I need to find a copy of the XAML for the 2010 template. Can anyone provide this or a link to it?

I have posted this before but the post was moved and appears to have died.




View Complete Post

More Related Resource Links

Login database with visual studio 2010 asp website template


Has anyone deployed a website using the login database in the visual studio 2010 asp website template? I was wondering if I could look at someone's example to see how the integrated this into their website.

VS 2010 XAML Design View Load always fail with a Type Load Exception

Create a new WPF project in VS and change nothing. The Design View will fail to load with the error below. Error    1    Could not load type 'Microsoft.Expression.DesignModel.Core.ISharedInstanceBuilder' from assembly 'Microsoft.Expression.DesignModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Microsoft.Expression.DesignModel is an assembly from Expression Blend. I ever installed Blend 4 RC and uninstall and install Blend 4. I Reflector the assembly I have under Blend 4 bin folder. And cannot find a interface named ISharedInstanceBuilder. But the WPF project is a Template project without any changes. How it get related with Blend 4? And how to fix it? Thanks.  

Error trying to open WPF Xaml windows from Visual Studio 2010 in Blend 4

Hi I have Visual Studio 2010 ultimate, and expression Blend 4. I have created a WPF 4 project in Visual Studio and when i try to open the MainWindow.xaml file in Expression Blend 4 - i get an error stating that the file or folder is not a valid blend project. Is there something i need to install for visual studio to make blend able to edit WPF Xaml files in Blend 4? I can open blend4 and create WPF applications with no problem - its just trying to open a mainwindow.xaml created in Visual Studio 2010 in blend 4 when i get the error. I am running windows 7 32 bit. Cheers Rod. Mono / DotNet Rocks!

Looking to get the IsMouseOver of a button inside a header of an expander all though xaml

<Window x:Class="Testwpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid> <Expander x:Name="expan" IsExpanded="True" AllowDrop="True"> <Expander.Header> <Grid x:Name="grd"> <TextBlock Text="asdfhasodfjasdfj asjf aspd fk" HorizontalAlignment="Left" Margin="20,4,0,0"/> <Button x:Name="BtnHeaderGreen" Content="1" Width="25" HorizontalAlignment="Left"/> </Grid> </Expander.Header> <Expander.Content> <Grid > <Canvas Margin="0,2,0,0" x:Name="can" Panel.ZIndex="99"> <Canvas.Style> <Style TargetType="{x:Type Canvas}"> <Style.Triggers> <DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type Expander}}, Path=Header.IsMouseOver}" Value="true"> <Setter Property="Visibility" Value="Visible"/>

Security Briefs: The MSF-Agile+SDL Process Template for TFS 2010

The MSF-Agile project template for Team Foundation Server makes it easy for your team to implement Agile techniques. The new MSF-Agile+SDL template adds Security Development Lifecycle requirements. We'll show you how it works.Bryan SullivanMSDN Magazine September 2010

Creating Lists On Share-point 2010 Server from .stp list template files using Features

Plz, let me know, how to create list on share-point 2010 server from .stp list template files using features in C#

Adding a custom control to the SharePoint 2010 Team Site Wiki Page Template ( wkpstd.aspx ) programm

Topic This is maybe my last post about the Team Site Wiki Page customization with the aim of exceeding its limitations. This time we are going to customize the unique template ( wkpstd.aspx) by replacing the control that renders the editable content by a custom one. In this post example, we will take advantage of the use of this custom control to render not editable additional contents, for instance, a header and a footer that could be the same for a specific Wiki Page Library. Of course, we are not going to really customize the template, but we are going to use a delegate control to replace the control at runtime. Here are the screen shots of the result: We can see a non editable Header and Footer on the Team Site Wiki Page In edit mode these additional contents are not rendered, but we can add new content as usual And of course, after having saved the page, the new content is rendered wtih the non editable Header and Footer. Steps required   If you look at the Team Site Wiki Page template, wkpstd.aspx, you can see the control that is rendering the editable content/ <SharePoint:EmbeddedFormField ID="WikiField" FieldName="WikiField" ControlMode="Display" runat="server" /> We are first going to create a custom EmbeddedFormField control Then, we are going to use a delegate control to replace the native EmbeddedFor

How can create site in sharepoint foundation 2010 based on WSS 3.0 template(.stp file)

Hi,   I  want  to migrate wss3.0  site into sharepoint foundation 2010 site . earlier we  were creating site based on .stp file  in WSS 4.0 . but now we  have   to build same site in sharepoint foundation 2010. I followed  the old way  intall the .stp file  and  based on that trying to create new  site  but getting some error  old version template is not supporetd my this version. how could  l able to create  site  in sharepoint foundation 2010 based on wss 3.0 template . Please help Thanks in advance Jandel Singh

Create a Site template with subsites in Sharepoint Server 2010

Hi, I'm with my first SharePoint project, and we are using server 2010 as a Document Management system. The thing is our company has about 300 customers, and we have to create 300 site collections, 1 per customer.  For each site collection, I use the blank site template, and it's very simple page, as I just need a document library in the home page, and then I need to create a subsite called "cases" and the inside profiles, the users create a document library for each case. For subsite I mean, I create a new site and I choose the option to share the top menu, so basically the site has 2 tabs. So basically what I need is a template that has 2 tabs, Home and Cases. Home with a document library in home and Cases empty. Is there a simple way to achieve this? I guess maybe I have to edit some XML files to create a Site Template. If this is the case, can someone point me to the right documentation. Second, I need to create a Visual Basic project so that the final user has a form, and he just inputs the Customer Name and the code must automatically create a new site with the template I metioned before. I guess that once I have the template this won't be very hard to achieve, as I have seen this SPSite class. The question is, can I have the template with the 2 tabs, o maybe I have to use 2 templates, and write code to create the home site and the Cases Subsite.. Ple

How can create site in sharepoint foundation 2010 based on WSS 3.0 template(.stp file)

Hi,   I  want  to migrate wss3.0  site into sharepoint foundation 2010 site . earlier we  were creating site based on .stp file  in WSS 4.0 . but now we  have   to build same site in sharepoint foundation 2010. I followed  the old way  intall the .stp file  and  based on that trying to create new  site  but getting some error  old version template is not supporetd my this version. how could  l able to create  site  in sharepoint foundation 2010 based on wss 3.0 template . Please help Thanks in advance Jandel Singh

Cannot publish InfoPath 2010 form template to SharePoint Server 2010 RC

Hi all, I am MSFT in Vietnam. I created a SharePoint list using InfoPath 2010 RTM 64bit. After publishing it to SharePoint 2010 RC, I see an error message:  Click on button "Show Details" the message is The list schema does not match the schema of this form. Refresh the data source and publish the form again. When I create new item based on published SharePoint list, I can see plain form not browser enabled InfoPath form. I checked InfoPath Form Services, everything seems to be good. What should I do to publish SharePoint list from InfoPath 2010 to SharePoint 2010 as browser enabled form?

Create site template and adding subsite using site template is broken in sharepoint 2010

I am trying to create a site template base on an existing site and try to use the new site template to generate other sub-sites.  It sounds simple and the code is not that difficult to follow; however, Microsoft has made it impossible to accomplish by having a bug in their template creation process.   //Generate web template from existing website using (SPSite site = new SPSite("http://localhost")) { SPWeb web = site.OpenWeb("/barrington/accounting"); web.SaveAsTemplate("NewDepartmentTemplate", "NewDepartmentTemplate", "NewDepartmentTemplate", true); }   //Generate sub site using the new template using (SPSite site = new SPSite("http://localhost")) { SPWeb web = site.OpenWeb("/barrington/accounting"); SPWebTemplate tp = null; foreach (SPWebTemplate wt in web.GetAvailableWebTemplates((uint)1033)) { if (wt.Title == "NewDepartmentTemplate") { tp = wt; break; } } if (tp != null) { SPWeb newWeb = web.Webs.Add("NewDepartment", "NewDepartment", "NewDepartment", (uint)1033, tp, false, false); } } Error: Microsoft.SharePoint.SPException was unhandled   Message=The content type name '$Resources:_FeatureId367b94a9-4a15-42ba-b4a2-32420363e018,DataSourceContentTypeName;' cannot contain: \  / : * ? " # % < > { } | ~ & , two consecutive per

How to change background or border brush color of an element while it has template in xaml?

Dear all, I want to change some style property of one element in code behind while that element already had a data template in xaml. as an example this is a code for my window: <Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300" Loaded="Window_Loaded"> <Window.Resources> <Style x:Key="ButtonStyle" TargetType="{x:Type Button}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <ControlTemplate.Resources> <Storyboard x:Key="OnMouseEnter1"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"> <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1.1"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Story

Cannot populate XAML items in template control that in contained within another template control

I have a template control Bookmark, and in MainWindow.xaml, this works just fine: <sdl:Bookmark> <sdl:Bookmark.Bookmarks> <sdl:BookmarkItem Name="test" Extent="-121.89,33.60,-117.09,36.32"> </sdl:BookmarkItem> </sdl:Bookmark.Bookmarks> </sdl:Bookmark> But, I also have a template control Titlebar which inside of its XAML contains a Bookmark control and in MainWindow.xaml, this does NOT work: <sdl:Titlebar x:Name="Titlebar"> <sdl:Titlebar.Bookmark> <sdl:Bookmark.Bookmarks> <!-- Doesn't like this --> <sdl:BookmarkItem Name="test" Extent="-121.89,33.60,-117.09,36.32"> </sdl:BookmarkItem> </sdl:Bookmark.Bookmarks> </sdl:Titlebar.Bookmark> </sdl:Titlebar> I get this error: Error 11 The tag 'Bookmark.Bookmarks' does not exist in XML namespace 'clr-namespace:SDL.ArcGIS.Client.Toolkit;assembly=SDL.ArcGIS.Client.Toolkit'. Line 45 Position 22. C:\Projects\SDL.ArcGIS.Client.Toolkit\SDL.ArcGIS.Client.Toolkit.WPFTestApplication\MainWindow.xaml 45 22 SDL.ArcGIS.Client.Toolkit.WPFTestApplication Bookmark does have a member property in the Titlebar class that is set to the template bookmark in OnApplyTemplate.  I tried making a dependency property for the Bookmark property too, but that didn't

Trying to SYNC Project Professional to Sharepoint 2010 - what template do I use?

I want to use Sharepoint 2010 to sync, and track/record changes initiated from my Project Professional 2010 projects.  The intent is to have a web view (ideally editable) for my team to track work progress. Documentation is light right now for Sharepoint 2010/Project 2010.  Does anyone know: 1) Can Project Pro 2010 be sync'd with only the generic TASKS list template, or can it (should it) be sync'd with one of the other templates - like PROJECT TASKS, ISSUES LIST, or STATUS LIST? 2) Are there any Microsoft mapping diagrams showing what MS Project 2010 fields are mapped to Sharepoint 2010 fields? Since this jumps between 2 platforms, please let me know if I need to address this on the MS Project Pro 2010 forum.  Thanks. 

WSS 3.0 Knowledge Base Template doesn't function properly after SharePoint 2010 migration

I migrated our WSS 3.0 instance to SharePoint 2010 in a dev environment.  So far, everything works with the exception of the most heavily utilized portion of our WSS 3.0 installation – which is a "Knowledge Base" sub-site utilizing the following features:   Knowledge Base List Instances: List Instances for the Knowledge Base Application Template Knowledge Base Modules: Modules for the Knowledge Base Application Template Knowledge Base Provisioning Handler   Link to Knowledge Base Template http://www.microsoft.com/downloads/details.aspx?FamilyId=BC4E5C4E-FBBB-4666-8E32-C4CEE09E1FE6&displaylang=en   Two issues exist with the Knowledge Base after migrating.   1.       The “Write new Article” feature which uses a content type called “Wiki Knowledge Base Article” use to open a “New Wiki Page” that provided the all of the associated fields specified in the List Content type settings.  Upon creating the new Wiki Page (i.e. Knowledge base article) it would associate it with the “Knowledge Base” document library.  The “Write new Article” feature now fails to utilize / recognize the Content Type settings and instead create a blank New Page without any fields except for “New page name:” and also creates a “Site Pages&

Visual Studio 2010 - Missing some template items

Hi All ! I saw in a slideshow the new features of Sharepoint at VS2010.Some elements that I saw there is: Application Page. Well, this element and some others like Linq to Sharepoint is missing on my VS2010 Ultimate. After all I decided to install the VS2010 at the server containing the Sharepoint 2010 and the missing elements is still the same. Can someone help me ?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend