Recent Posts

4
Comments

.NET Framework FX 4 Beta 1 – What’s New by Yanesh Tyagi

Today, Microsoft launched Visual Studio 2010 and .Net FX 4 Beta 1 . This is available to the MSDN subscribers only. Don’t loose heart. It will be available to everybody on Wednesday . .Net Framework 4.0 will provide the second generation of WCF and WWF...
Filed under:
3
Comments

Code Snippet for Automatically Implemented Property by Yanesh Tyagi

Code snippets allows programmers to extend auto-complete feature of Visual Studio. Code snippets enables a programmer to create an auto-complete that will appear in the intellisense. It also allows a programmer to define the logic of auto complete. Behind...
Filed under: ,
2
Comments

Mystery of Not Operator in VB.Net by Yanesh Tyagi

(Not 2) = -3. Strange! Read below. In VB.Net, non-zero integer is evaluated as True and an integer whose value is zero is evaluated as False. This is known fact since earliest version of Visual Basic. And this is also supported by VB.Net. Now consider...
Filed under: ,
8
Comments

Implementing Sorting in Generic List (List<T>) by Yanesh Tyagi

How to sort a generic list? Well, generic list provides a sort method itself in the form List<T>.Sort(). But wait a sec. This method requires you to implement sorting mechanism in your type. This is because this method uses default sorting mechanism...
Filed under: , ,
2
Comments

Implementing Delete Confirmation Dialog in ListView Control (ASP.Net) by Yanesh Tyagi

Listview control is one of my favorite controls added in asp.net version 3.5. It provides easy way to implement view (list), update, insert and delete functionality. Using SQL Data Source or LINQ Data Source control, you can create a page that will display...
Filed under: ,
12
Comments

Converting Text into Image On-The-Fly by Yanesh Tyagi

Sometimes we need to convert text into the images on the fly. This code converts the text into image and displays it onto the web page without saving it into a file on the disk. It also takes care of text wrapping. TextToImageConvertor can either be used...
Filed under: , , ,
3
Comments

Ajax Control Toolkit - Controls Disabled in Tool Box by Yanesh Tyagi

If after installing Ajax Control Toolkit on your system, you found that the conrols are disable, you need to restart your VWD or your machine. You can also trying deteting .pdb files from the VWD's 9.0 folder....
More Posts