Codeplex project for opensource generic custom controls

Do you want some complelling feature in work item form that is missing? Now you can suggest those ideas and even build it to share across community. Codeplex project is created for this purpose. Here is the project link: . I am leaving on vacation soon, so I won’t able to reply to threads there, but please leave your thoughts, ideas and…


Showing work item form in your app

I hear this question often: How to show work item form in an app? Either an existing workitem, or a new workitem, possibly with certain fields prefilled? This is done as part of samples in SDK, but it is worth a post. It is quite easy and below is the code to do it:  …


Deploying custom controls that use teamfoundation assemblies

A question was raised in forums on how to deploy custom controls that refer to team foundation assemblies. Problem is how the deployed dlls will find the TFS dlls. Marcel showed how to use AssemblyResolve event of appdomain to programmatically specify TFS assemblies here: . Tim’s blog has detailed code to achieve the same at:


Saving attachments in a workitem

This is one of pain points in V1 that we could not fix at end of project. To alleviate it, in the powertoys we do have an option to save attachments using commandline. I heard requests on saving attachments from UI so in this post I attached an addin (John‘s contribution) that will download attachments in a given workitem. Below is some…


Building custom popup controls

I heard more than few times question on how to build combobox like dropdown custom control where clicking on dropdown will show a treeview, a checked listbox or any user control. One example is the dropdown tree control for Area and Iteration paths. To save space in work item form, it is nice idea to…


Communicating between custom controls: Building parent/child controls

After release of custom controls feature in SP1 beta, few asked me how to build dynamic custom controls: For example, state and city controls like below where city gets loaded based on state’s value. Another variation of it is one or more controls show up (city for example) based on another control’s selection. In these cases,…


Deleting workitems

This issue keeps coming up in forums and discussion lists. In V1, there isn’t a way exposed to delete workitems. Richard Berg pointed out a workaround that I hadn’t thought of before: Denying permission to everyone for those workitems will achieve same effect as deleting workitems (assuming diskspace is not an issue). An easy way to do it is…


Building a dialog to pick workitems

This post is a tip if you ever wanted to build a dialog in your app to pick workitem(s). You might have seen the work item picker dialog below in TFS to select one or few workitems, such as when adding a work item link. If you ever wanted to use this dialog in your…


How to extend linking and workitem UI with custom link types

Overview:   If you have used links in work item tracking, you might have wondered if you could add your own link type. In V1 we do have linking extensibility model and the purpose of post is to walkthrough how to use it. Example of custom link could be a link to items in other…


How to use Custom Controls in Work Item Form

What is custom control feature?   Now you can show your own controls in work item form. See for introduction to this feature. This is part of SP1 beta . There is also a codeplex project to build & share generic controls.   Note: if you are trying to port VS2005 custom controls to Orcas see…