Tip#85: Did you know… You can now do Multiple Selection of controls in your Designer with VS 2008 SP1?

Visual Web developer 2008 SP1 supports multiple selection of controls on your designer using Ctrl+Click. You can see that the designer: Displays the primary selected control with a white tab. Button3 in the image below. Enable you to set property for the selected controls using Property Grid. Note that the property grid would show you…

0

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 page property can be used to achieve this  in one of…

12

Tip # 52: Did you know… When deploying your ASP.NET web application, debug=false should be set in web.config

To help troubleshoot problems, developers usually enables the debug mode in web.config file. This causes ASP.NET to produce extra information in the compiled assemblies such as debug symbols, metadata. However, performance will be suffered as it takes longer to compile and run, consumes more memory and resource caching is not performed. Therefore, in production, we…

7

Tip #45: Did you know…How to change the DynamicData folder location?

ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. By default for a Dynamic data Web Application the dynamic data folder is created in the root folder. Your application might require it…

2

Tip #37: Did you know…How to organize usings?

Overtime C# source code files may have unnecessary & unorganized using directives. Visual Studio IDE organize using options can help you to unclutter the source code. To organize the C# code right click anywhere inside the code editor, select Organize usings. Select Remove Unused Usings to remove any using directives that are not used in…

3