Windows forms application doesn’t allow you change the border color of the controls out of the box. However, this can be achieved by overriding the paint event of the control. Below is the sample for applying the border color for a label. Similar way, you can change the appearance of any control the way you want to. … Read More »
In ASP.NET Web Application when we submit some button to process information in server side, we can disable the button as long the server performing the operation and enable the same one response is back. Most of the developer use Button Enable and Disable properties to enable and disable the button. But as an good practice we can… Read More »
Most of the time we use Visual Studio find combo box ( ) only for search contents with in the solution. But the find combo box is something more than what we know. We can use the find combo box in different purpose like create file, open files, create project, print, open watch windows etc. As for example… Read More »
By default ASP.NET GridView Columns has left alignment text. We can use GridView ItemStyle property with either of GridView BondField or Template Field to change the default alignments.GridView properties,ItemStyle-HorizontalAlign having few set of values, using which we can change the alignments. Above customization is true when you are using Bound Field or Template Field for binding the data… Read More »
Cookies are the small pieces of information that are stored in client system or browser memory and helped as client site state management for an web based application. Generally we can have two types of cookies Persistent Cookies Non Persistent Cookies Persistent Cookies : also known as permanent cookies, which is stored in client hard-drive until it expires .… Read More »
Here is a quick tips to get the list of all active HTTPModules at runtime. We can get the list of all HttpModules from the web.config or from machine.config file. But, what we need to do if we want to get the list of all active HttpModules during runtime? Yes. We can easily get the details with the… Read More »
Use code>DebuggerBrowsable attribute to customize the debugging windows Use DebuggerDisplay attribute to customize the debugging display.
By Marking a piece of code using DebuggerStepThrough attribute tells the Visual Studio debugger that, the code block will be stepped over from debugging process. you can mark methods, properties with DebuggerStepThrough attributes where you don’t want to stop your code to break. If there is any break point inside a code section which is marked as “DebuggerStepThrough”… Read More »