Category Archives: Tips

Color Indicator for Code Changes – Track Changes in Visual Studio

By | December 26, 2010

“Track Change” one of the best interesting features in visual studio which indicates the code changes with a color indicator at the beginning of the line.  Generally we know about the two color indicator  “Green” and “Yellow” which are used indicting the color change till VS 2008 along with those VS 2010 introduced another new color “Orange” which… Read More »

How to set automatically focus on ASP.NET controls when validation fails ?

By | December 25, 2010

If you are using ASP.NET Validation Control then you can use “SetFocusOnError” properties to automatically focus the control if validation fails. This will help the end user to identify the control easily. To set focus automatically you have to set SetFocusOnError=”True”. By default it’s false. SetFocusOnError of a validation control is associated with “ControlToValidate” properties. If the validation… Read More »

How to select Block of Code in Visual Studio?

By | December 20, 2010

You can select line by line code very easily using mouse or keyboard. But if you want to copy some code block where you don’t to select all part of line or something like that, here is a Quick TIP For you. Press and Hold “Alt” Key, and select the code region.

How to Place your reusable code into Toolbox in Visual Studio?

By | December 20, 2010

This is very important and small tips for all VS users. Sometimes we need a small piece of code in many places of our application or in some different application. What we do? We just copy the code from one page and paste it to the destination page.  Visual Studio having a great feature, that you can place… Read More »