Friday, August 14, 2009

Version Control: Bazaar

Ended up needing some version control for my html models (instead of zipping the folder every now and then). Found that Bazaar works well for me. The TortoiseBZR windows shell extension integrates nicely with Windows Explorer.

Thursday, August 13, 2009

Removing surrounding <span> from a WebControl

See the comment section of this post:
Use a different constructor:
public MyControl() : base()
{}
Can also pick a different tag instead of span:
public MyControl() : base(HtmlTextwriterTag.Div)
{}
Update: Unfortunately, setting it to HtmlTextwriterTag.Div causes a table tag to be rendered for Firefox. See this post about adaptive rendering.

VB.Net and C# comparison

Great reference comparing syntax differences between VB.Net and C#.

TFS Workspaces

Something to remember about TFS workspaces (from this Team System page):
"...only one local path can be mapped, per user, per team foundation server. Two users can't share the same filesystem path. And two different team foundation servers can't share the same filesystem path, either."

Tuesday, August 4, 2009

SharePoint and closing tags

Sometimes SharePoint will not see a closing tag shortcut like this:

<div id="blahblah" />

and messes up your nice div structure.

Try adding an explicit closing tag:

<div id="blahblah"></div>