My posts tagged with "tips and tricks, ASP.NET"(RSS)

Tip #81: Did you know... How to use Web.Config transformation

With Visual Studio 2010 Beta1, we introduced a new feature called Web.Config transformation to help ease the development process of a web application. At different stages during the life cycle of a project, the user usually needs to modify some environment...

Tip #80: Did you know… How to show JScript validation errors as warnings?

With Visual Studio 2008 RTM, JScript validation setting is an option on the HTML validation page on the Options dialog. Since Visual Studio 2008 SP1 and later, we added a new option page JScript on the Options dialog, see the blog "Introducing JScript...

Tip #79: Did you know… How to quickly comment and uncomment in your web pages?

Select the lines you want to be commented in your ASPX, HTML, web config file etc  and click on the Comment/ Uncomment icon in Toolbar. The comment icon looks like this:   The icon for uncomment looks like: Alternatively you can use  Keyboard...

Tip# 78: Did you know… How to navigate using Document Outline?

Document Outline window can be launched from the menu View -> Document Outline , or via short cut key Ctrl-Alt-T . The Document Outline window displays a nested, hierarchical tree of the elements and scripts on the page. It gives you a good overview...

Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages?

Enabling tracing at page level gives you a bunch of information that can be useful while debugging your application.Tracing helps understand which control uses more view state,  start/end of PreInit, start/end of Init, start/end of Render, etc. This...

Tip #76: Did you know… How to hide a non-visual control in your designer?

Some times as you are building your web page, you may want to hide all the non-visual controls like Timer control so that the page looks close to how it would be rendered on your browser. Our Designer can toggle between displaying and not displaying Non...

Tip #75: Did you know…How to maintain scrollposition after post back?

When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page. MaintainScrollPositionOnPostBack...

Tip #69: Did you know…The keyboard shortcut for View in Browser?

Ctrl +Shift+W does the trick for you. This short cut is mentioned under File Menu -> View in Browser . So if you are still using Select File -> Right click for context menu and then selecting View in Browser as shown below, you may want to start...

1 2 3 4  Next »

Microsoft Communities