19 December, 2012

Treenode: Prevent postback in web page

Maybe obvious to most; but I just fought a bit with the treeview’s functionality today.
I wanted the main treeview nodes to not do a postback, only the children? It appears that the treeview control has this covered by this:


Clean out those workspaces

Having moved my Source Control between multiple workstations over time and still having it with my can sometimes present problems with “workspace already exists” and other problems in that category. And that even you can’t see these workspaces mentioned (on your new workstation!).

To clear out workspaces, you first need to gain an overview of what’s currently registered in the database:

  1. Open a VS Dev Command Prompt on the TFS-server
  2. Navigate to a folder on disk where you want to see the current workspaces
  3. type
    1. tf workspaces /owner:*
    2. (alternatively the verbose version): tf workspaces /server: ServerName /owner:*

This will give you a list of currently registered workspaces (good and bad ones).

To delete a workspace, you type this:

  1. tf workspace /delete workspaceName;owner
  2. (alternatively the verbose version): tf workspace /server: ServerName /delete workspaceName;owner

InRiver: Not loading your extensions?

(You really need to in the loop to appreciate the issue this post addresses). Man, I've been fighting this problem for hours before I ...