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

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

How to customize toolbox content of workflow designer in Visual Studio 2010?

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :Windows Application
Hi all,

I am working on customizing the Workflow Design Experience in VS2010 Extensibility. Now I want to control VS built-in ToolBox display information(Categories, contained activities when my Workflow file is open.
You can see one example which is implemented in out of VS IDE to image my requirement in VS. 

Please give me some hints on this issue. Thanks for your help in advance.

View Complete Post

More Related Resource Links

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 20

Hi, i have a custom workflow(sequential),developed using visual studio 2010. Now, i want to make it available to sharepoiint designer 2010,as an action.Has anyone done something like dis before? I have tried creating an actions file and changes in web. config ,but when i open my designer it says it cannot find the assembly(my custom worklow). What does it mean,i have tried this method by watching solutions on internet. If anyone has done this task, kindly guide me thanks a lot :)

Video: Office Client Workflow: Visual Studio 2010 SharePoint Workflow

Learn how project templates for SharePoint 2010 in Visual Studio 2010 allow developers to build sequential and state machine workflows for SharePoint and import reusable workflows created in SharePoint Designer. (Length: 10:36)

WPF Designer (in VS 2008 and VS 2010) crashes with Visual Studio

Good day all. I have the following question: WPF designer in both VS 2008 and VS 2010 crashes with Visual Studio when I try to edit UI form. Moreover, it crashes even when I try to save .xaml.cs file. Meanwhile, Winforms and Dataset UI editors work as usual. Are there other people met this issue? And how could I fix up this problem? Deleting the .suo file, uninstalling silverlight, repairing visual studio, and further googling did not help me. Thanks in advance.

DataGrid is missing from Visual Studio 2010 Toolbox

My machine is a Windows Server 2008 Standard Edition. I am trying to convert an existing project to .NET 4 with Visual Studio 2010 Professional. All updates and service packs are applied. My project is a WPF Forms Application. In the application properites, the Target framework is set to .NET Framework 4 Problem:  I am trying to add a DataGrid, but the DataGrid is missing from the Toolbox!   1.  Open Toolbox   2.  Notice that under "All WPF Controls" DataGrid is missing.   3.  Right-click title bar of "All WPF Controls".   4.  Select "Choose Items" from menu.   5.  "Choose Toolbox Items" Dialog box appears.       Put a check in the DataGrid box.   6.  Hit OK At this point the Dialog Box disappears, but the ToolBox menu is not updated. There is no DataGrid item under "All WPF Controls", and I cannot add it. Any help or suggestions will be greatly appreciated. Charles

MS Visual STudio 2010 Beta and SSIS Designer - BI Development Studio

Hello, I am trying to use SSIS Designer with BI Development Studio.  I downloaded MS Visual Studio 2010 Beta and do not find an option to get into either the SSIS Designer or BI Development Studio. Can someone please help?   Thanks, Chela 

Visual Studio 2010 designer UnresolvedAssemblyException

I'm having a problem with Visual Studio 2010 that is proving to be extremely difficult to find a solution for. Any help is appreciated. I have a custom library that handles regular expression validation for me. This library sits plainly on our server for everyone to access. In my most recent WPF application I've been learning about ValidationRules. I created my own custom rule that would simply test the input against a supplied regex pattern. Here's an example of the XAML. <TextBox Grid.Column="2" VerticalAlignment="Center" Style="{StaticResource sTextBox}" Validation.ErrorTemplate="{StaticResource TextBox}" SourceUpdated="ProductQuantity_TargetUpdated"> <TextBox.Text> <Binding Path="Quantity" Mode="TwoWay" NotifyOnValidationError="True" NotifyOnSourceUpdated="True" NotifyOnTargetUpdated="True" ValidatesOnDataErrors="True" UpdateSourceTrigger="PropertyChanged" ValidatesOnExceptions="True"> <Binding.ValidationRules> <vr:RequiredField Label="Quantity" /> <vr:RegularExpression Label="Quantity" ValidationPattern="NumberAbsoluteNoDecimals" /> </Binding.ValidationRules> </Binding> </TextBox.Text> </

create task edit form issues for sharepoint 2010 workflow using visual studio 2010

I use infopath 2007 created a task edit form and I use VS 2010 to create a sequential workflow.I want to use the custom tash edit form in the workflow.The problem I got is the InfoPath form doesn't get deployed to sharepoint. I'm able to upload the infopath form to sharepoint though central admin app. here is the element.xml :<Elements xmlns="http://schemas.microsoft.com/sharepoint/">  <Workflow     Name="WorkflowProject4 - Workflow1"     Description="My SharePoint Workflow"     Id="e6aa6cdb-667f-456a-b216-7639a1dcd3c7"     CodeBesideClass="WorkflowProject4.Workflow1.Workflow1"     CodeBesideAssembly="$assemblyname$">    <Categories/>    <MetaData>      <AssociationCategories>List</AssociationCategories>            <Task0_FormURN>urn:schemas-microsoft-com:office:infopath:TaskForm:-myXSD-2009-12-10T22-33-23</Task0_FormURN>      <StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>    </MetaData>  </Workflow></Elements>and here is the feature1.template.xml<Feature xmlns="http://schemas.microsoft.com/sharepoint/">  <Properties>    <Property Key="GloballyAvailable" Value="true" />    <Property Key="RegisterForms" Value="*.xsn"/>  </Properties></Feature>anything

Visual Studio 2010 WPF Designer loading error


I have the following error when I try to open my xaml file under Visual Studio 2010 WPF Designer :

An Unhandled Exception has occured


Method not found: 'Void Microsoft.Expression.DesignModel.Core.PlatformService.RegisterPlatform(System.String, System.String, System.String, Boolean)'.

Blend 4 trial is however able to open and display this file.

Under Windows 7 Professional x64.

Best regards.



Improving the Start-up Performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2


IMPORTANT NOTE: the Beta and Release Candidate builds of Visual Studio 2010 are now obsolete, since Visual Studio 2010 has now released to manufacturing.

See http://www.microsoft.com/visualstudio/en-us/download


NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change

This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.

1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).

2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.

3. This configu

Deploying custom project workflow using visual studio 2010


Hi All,

After i developed a custom project server workflow using vs 2010, i tried to deploy it using this article http://msdn.microsoft.com/en-us/library/ff459292.aspx and everything done great (Add, Install and Activiate) .. when i tried to debug from VS 2010 i got this error while deploying the project:

Error 6 Error occurred in deployment step 'Activate Features': Feature with Id 'c34364d9-0323-4e46-98c1-d74f638e6c7d' is not installed in this farm, and cannot be added to this scope.
  0 0 WorkflowProject1

i'm pretty sure that the Guids are the same ... and i got the same error when i tried to activate the feature from VS 2010 directly

here is my feature xml (inside VS 2010)

Workflow Compilation in Visual Studio 2010



As I understand it, when visual studio 'compiles' a workflow what this really means is that it creates a stub class with the necessary properties on and it creates the XAML file as a resource and it then creates some static methods for loading and compiling this resource at runtime.

My question based on this is how do I truly compile it? So that it is compiled into IL as if I had written the workflow in code? Instead of embedding the XAML as a resource and compiling at run time?


How add custom form field in workflow task using visual studio 2010



I need to create a simple workflow using Visual Studio 2010.

Workflow having following activities:

1. Create a task assign to workflow initiator. This task have one dropdown field with two choice (Approved,Rejected). 

2. Wait for the task change.

3. In Task edit form, only title and custom drop-down field are visible. User need to select from one of the choice and complete the task.

[Sharepoint 2007] How to loop few tasks/activities in Visual studio workflow designer ?


Hi all,

I would like to create a workflow which have 3 tasks.

First the workflow create a task and assigned this task to a user. The user has to choose 4 dates in the year.

For each date chosen of the year two tasks will be created. The first task will ask the user to arrange a meeting.

When the first task has been completed a second task is assigned to the user asking for some feedback of the meeting.


How can i loop these 4 dates easily ?




custom workflow visual studio 2010 for SharePoint 2010


Hi Everybody,

I have written a custom workflow in visual studio 2010 with custom Task Edit Form which is associated with content type and that content type is in turn associated with Task List. When an item is created in the target list to which my custom workflow is attached, a task item is created when I click on that task item it loads the custom Task Edit Form page where I have defined the UI and on click of Approve button I just Alter the task by using method SPWorkflowTask.AlterTask(this._TaskListItem, taskHash, true); when this line executed it executes the Task Changed invoked method where I am taking true and false value from the UI and updates the corresponding metadata in target list.

The problem is when I create 2 target list items their workflow status becomes pending and when I approve one of them, both the items get approved i.e. Task Changed event get called 2 times and both line items workflow status become completed. The task list item corresponding to one approved get 100% completed but other one did not show its completion.

Creating Content Types for SharePoint 2010 in Visual Studio 2010 (Visual How To)

Learn to create and deploy a content type to a SharePoint 2010 site with this visual how-to video, overview, and code sample.

Sample: Creating Content Types for SharePoint 2010 in Visual Studio 2010

Learn to create and deploy a content type to a SharePoint 2010 site with this visual how-to code sample.

Video: Creating Content Types for SharePoint 2010 in Visual Studio 2010

Learn to create and deploy a content type to a SharePoint 2010 site with this visual how-to video.
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