Multitouch on new Microsoft OS

Here is a video that shows some neat functionalty which looks a lot like the technology of Microsoft Surface but then on a regular desktop pc.

Check it out.


Video: Multi-Touch in Windows 7

Collapse all other treeview nodes when you expand a node

Some people ask themselves the question how can I let all the other opened (expanded) nodes close (collapse) when I open a certain node. Well a very simple easy way to do this is to hook up the TreeNodeExpanded event for the treeview control.

Select your treeview control, in the properties page, select the lightning bolt (events) or type the event part manually in your asp.net code. Your treeview should look something like beneath:

<asp:TreeView ID="tvwItems" runat="server" OnTreeNodeExpanded="tvwItems_OnTreeNodeExpanded"></asp:TreeView>

Now go to your code behind file. If you set your event from the properties page, then there will be a new method inserted for you. If you set the event manually then you have to type the method also, manually. The method has to have the following code:

protected void tvwItems_OnTreeNodeExpanded(object sender, TreeNodeEventArgs e) { foreach (TreeNode tn in tvwItems.Nodes) { if(tn != e.Node && tn.Expanded==true) tn.Collapse(); } }

Ok now when you open a certain node in the treeview all the other opened (expanded) nodes will be closed!

Looking for a Live Mesh invitation ?

You remember Live Mesh, right ? I blogged about it some time ago.

Well it seems like a lot of people want to check out this neat technology, including myself.

The problem is, it’s a limited program, so only a select group of people have access. Now whenever somebody gets access they also get 2 invites to give away. This is good news for us..someone created a site where people that want an invite get on the list and people that have invites can share them. I’m already on the list, be quick because the number of people requesting an invite is increasing rapidly.

Check it out, ShareMesh

In the mean time here’s the new promotional video for Live Mesh.