Tuesday, October 28, 2008

Essential Visual Studio Tips & Tricks that Every Developer Should Know

Found this great post on Stephen Walther's blog.

tip 1: don't need to select a line to copy or delete it

If you want to copy a line of code then you can simply press CTRL-c to copy the line and press CTRL-v to paste the line. If you want to delete a line, don’t select it first, just press CTRL-x. You’ll be surprised how much time this one tip will save you.

tip 3: Never create properties by hand

just type prop + TAB + TAB. When you type prop + TAB + TAB, you get a code snippet (template) for entering a property. Use TAB to move between the template parameters. Press the ENTER key when you are finished creating the propert.

I found these two are most useful and time saving for me. Others are at: http://weblogs.asp.net/stephenwalther/archive/2008/10/21/essential-visual-studio-tips-amp-tricks-that-every-developer-should-know.aspx

Monday, October 27, 2008

Jing Project: Visual conversation starts here.

Jing is a great screen capture tool and it's free!! This is so far the best screen capture tool I used. Another feature is it also can record your activity, so it also a great tool to create the video demo.



Photo viewing tool. like ACDSee, but it is FREE.

Tuesday, October 21, 2008

Take dnn site offline

It's better to take the DNN site offline for maintenance. The best way to do this is to upload an App_Offline.htm file to the root.

Monday, October 06, 2008

Navigate the parent page from the IFrame page (child page)

When user clicks the link/button on a page inside the IFrame, it will bring up another page inside the IFrame and the parent page will not change.

Sometimes we do need the link/button on the Iframe page update the parent page. Here is how to do it.

If the link is used, make the target property "_top".

If the button is used, in the code-behind, do this:
Response.Write("<" + "script>" + "window.open('http://webpage_address','_top');<" + (char)47 + "script>");