abhi2434
Name: abhi2434
Score: 1,685.15
Last Seen: 17 days, 22 minutes ago
Member Since: 22 May, 2010
DotNetShoutout
atom rss
5
Shouts

Difference between Hidden and Collapse

published 1052 days, 19 hours, 52 minutes ago posted by abhi2434abhi2434 1053 days, 13 hours, 7 minutes ago
Monday, July 05, 2010 2:19:17 PM GMT Sunday, July 04, 2010 9:04:57 PM GMT
While doing code, developers always find problems on what might be the difference between the concept of Hiding an element and Collapsing an element. Every UIElement has two visibility states, you can do Collapsed or you can do Hidden. Hidden and collapsed are two similar approach in which the UIElement will not be visible to the user. In this article I am going to show how both of the concepts are different in WPF, and later on we will relate the same with ASP.NET. Notion of Hidden and Collapsed ... (more)
category: Web Dev | clicked: 0 | comment | | source: www.abhisheksur.com
6
Shouts

Screen Capture in WPF

published 1052 days, 19 hours, 52 minutes ago posted by abhi2434abhi2434 1055 days, 49 minutes ago
Monday, July 05, 2010 2:19:17 PM GMT Saturday, July 03, 2010 9:23:06 AM GMT
I was wondering how one can capture screenshot from an application. I saw many application was doing them. This thought made me interested to write an application that can take ScreenShot. In this article, I will demonstrate how one can take screenshot directly from the Desktop area using WinForms and WPF. WinForms Application In WinForms application, it is very easy to grab a screen snapshot. To do this you only need to create an object of Bitmap, on which you want to draw the image, get Graphi... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
6
Shouts

Unhandled Exception Handler For WPF Applications

published 1053 days, 19 hours, 36 minutes ago posted by abhi2434abhi2434 1057 days, 1 hour, 20 minutes ago
Sunday, July 04, 2010 2:36:02 PM GMT Thursday, July 01, 2010 8:51:31 AM GMT
Exception handling is very vital for any software. We use our traditional way of handling exceptions of our code using Try/ Catch / Finally block to handle runtime exceptions.We write our code inside try block and wait for the error being generated from the code, and write our proper handler to handle the Exception if generated while running the code. Compiler handles all these problems and calls the appropriate catch automatically. We write various Catch blocks which handles the exception based on the t... (more)
category: Architecture | clicked: 1 | comment | | source: www.abhisheksur.com
6
Shouts

C# 4.0 Features

published 1058 days, 20 hours, 33 minutes ago posted by abhi2434abhi2434 1060 days, 12 hours, 15 minutes ago
Tuesday, June 29, 2010 1:38:41 PM GMT Sunday, June 27, 2010 9:57:00 PM GMT
C# is a language we work on regularly, it is a language that we love the most. It is always good to see updates to such a lovely language which is very common to most of us. C# 4.0 after its release, comes with certain features that I think would love to know about. In this article I have discussed these common facts on C# 4.0 updates which you might find interesting. Introduction C# as a language is getting richer day by day whilst we are introduced with newer releases of .NET framework. Recently p... (more)
category: Architecture | clicked: 0 | comment | | source: www.abhisheksur.com
3
Shouts

Lazy Initializer to defer expensive Object creation

posted by abhi2434abhi2434 1061 days, 11 hours, 53 minutes ago
Saturday, June 26, 2010 10:19:12 PM GMT
.NET 2010 comes with lots of new features. Some relates to Technology while other relates to language enhancements. The huge class library that is there with .NET framework is also enriched with new classes. In .NET 4.0 there is a new set of classes which introduces a new concept called Lazy initializes. In this article I am going to discuss how simply you can use Lazy initialize to defer the execution of a method or property for values to whenever it is required. Introduction It is true that we o... (more)
category: Architecture | clicked: 1 | comment | | source: www.abhisheksur.com
4
Shouts

Article Selected @asp.net

published 1060 days, 22 hours, 21 minutes ago posted by abhi2434abhi2434 1062 days, 13 hours, 25 minutes ago
Sunday, June 27, 2010 11:50:38 AM GMT Friday, June 25, 2010 8:46:47 PM GMT
Hi guys, Hope everyone is doing well. In this post I must mention that recently one of my article is been published to ASP.NET, the official Microsoft ASP.NET site. I am very pleased and thankful to everybody who supported me, especially my friend Abhijit Jana, and also Sheo Narayan and all the members of DotNetFunda Team. I also much congratulate codeproject as well, from where I started writing. The article deals with the new concept of ASP.NET 4.0 which enables you to manipulate ClientId... (more)
category: Web Dev | clicked: 0 | comment | | source: www.abhisheksur.com
4
Shouts

Type Converters and Markup Extensions

published 1065 days, 23 hours, 44 minutes ago posted by abhi2434abhi2434 1066 days, 13 hours, 22 minutes ago
Tuesday, June 22, 2010 10:27:47 AM GMT Monday, June 21, 2010 8:49:35 PM GMT
TypeConverters and MarkupExtension are two concepts that are very popular when you work with XAML. When you first started learning XAML, the first thing that you might have noticed is Markup Extensions. So it is very essential to learn the use of Both the concepts like Markup Extension and Type Converters. In this article, I have discussed how you might use Markup Extension and Type Converters to handle varied situation and also to create a rich client applications. You can read the full article ... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
5
Shouts

Validate your application using IDataErrorInfo

published 1065 days, 23 hours, 44 minutes ago posted by abhi2434abhi2434 1067 days, 10 hours, 53 minutes ago
Tuesday, June 22, 2010 10:27:47 AM GMT Sunday, June 20, 2010 11:18:50 PM GMT
As we move ahead  with WPF, we find lots of flexibilities that WPF provides for UI development. One of such is to define ValidationRule to work with controls bound with Data elements. In this article, I will discuss how easily you can impose custom validation to your DataElements by doing the entire thing from within the class itself. First let us create the DataElement for which I need to use Data validation. As we know Binding needs few things like INotifyPropertyChanged event to handle binding, it... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
5
Shouts

Troubleshoot Grapics Rendering issues in WPF

published 1065 days, 23 hours, 44 minutes ago posted by abhi2434abhi2434 1067 days, 11 hours, 35 minutes ago
Tuesday, June 22, 2010 10:27:47 AM GMT Sunday, June 20, 2010 10:37:01 PM GMT
WPF renders everything using either Hardware or Software or partial to both. If the computer is capable of rendering graphics using Hardware acceleration it goes with it to produce superior graphics and also getting input for Graphics Storage. But sometimes this creates the main issue. A few days back, I found my application cannot display few text in some computers. I have a Tablet which runs Windows XP professional, and when I run my application there,few text which have Gradient in it, doesn't dis... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
4
Shouts

Smooth Pixel Scrolling in WPF ListView / ListBox

posted by abhi2434abhi2434 1077 days, 12 hours, 53 minutes ago
Thursday, June 10, 2010 9:18:42 PM GMT
WPF comes with lots of fun and advantages. We can change the look and behavior of a control very easily which would have been very cumbersome when we are in normal winforms applications. WPF has few flexibilities like Superior Binding capabilities, Animation, Transformation, Virtualizations etc. Each of these made the framework richer in all respect. In WPF, ListBox and ListView scrolls based on the items. The Scrolling on those controls are not smooth as the ScrollBar doesnt animate the scroller as ... (more)
category: How To | clicked: 1 | comment | | source: www.abhisheksur.com
tags: WPF
4
Shouts

Fun with Borders - Brushes

posted by abhi2434abhi2434 1078 days, 15 hours, 46 minutes ago
Wednesday, June 09, 2010 6:26:11 PM GMT
In WPF borders play a vital role. Any design will not be possible without any border in it. WPF border is an Element which allows you to draw a border around an element. In my current application, I have been using lots of borders to adorn the User Interface. Starting from placing borders directly to the Window to putting borders in ControlTemplate of ListBoxItem, borders generally play a very important role in creating better look and feel for the application. In this application you will see how you ca... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
6
Shouts

Working with WebBrowser in WPF

posted by abhi2434abhi2434 1078 days, 15 hours, 47 minutes ago
Wednesday, June 09, 2010 6:24:21 PM GMT
WebBrowser is a very common control for any type of windows application where one needs to show html document. WPF provides a superior WebBrowser control which allows you to show, navigate and communicate html documents. WPF introduces WebBrowser control to ensure that we can show html pages embedded inside the control. It is really very important to know how to use a WebBrowser as while working with WPF, if you want to show content from the server as HTML, or load an html document directly inside th... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
5
Shouts

Using SpellChecker in TextboxBase

posted by abhi2434abhi2434 1078 days, 15 hours, 53 minutes ago
Wednesday, June 09, 2010 6:19:08 PM GMT
WPF TextBox or RichTextBox or any control inherited from TextboxBase has an inbuilt support for Spellchecking functionality, which you might employ very easily just by enabling the SpellCheck menu for the Textbox. In this article I am going to discuss how you can easily invoke spellchecking functionality in your WPF application. Basic Usage WPF provides a new object called SpellCheck. This object can be applied to any TextBoxBase object and thereby the object will behave automatically with the spell... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
2
Shouts

UnCommon C

posted by abhi2434abhi2434 1079 days, 14 hours, 47 minutes ago
Tuesday, June 08, 2010 7:25:12 PM GMT
This is really a weird topic to start with. But still I would like to give you an insight on some of the uncommon things that you may not have noticed while doing programming. I have framed them in 2 sections. 1st one for Undocumented Keywords, which you will not find anywhere, not even in MSDN Documentation, which are not listed to intellesense menu in visual studio. 2nd one for Documented Keywords which are uncommon or just being introduced to C#. Documented keywords which are uncommon can be fo... (more)
category: Architecture | clicked: 0 | comment | | source: www.abhisheksur.com
3
Shouts

Pluggable Styles and Resources in WPF with Language Converter Tool

posted by dotnetfundadotnetfunda 1082 days, 9 hours ago
Sunday, June 06, 2010 1:11:54 AM GMT
In this article I have showed how you can build pluggable Resources for styles, Languages or any static objects etc. Therefore building a new style doesn't hampers your code and you can easily plugin any new style to the application inspite it is already in production environment. I have added a language converter tool, which will generate multi lingual resources for you. (more)
category: Metro | clicked: 0 | comment | | source: www.dotnetfunda.com
tags: WPF
8
Shouts

Multi-line Textbox Character Counter

published 1079 days, 23 hours, 22 minutes ago posted by dkmekaldkmekal 1081 days, 7 hours, 56 minutes ago
Tuesday, June 08, 2010 10:49:46 AM GMT Monday, June 07, 2010 2:16:12 AM GMT
In this article you would learn how create an ASP.NET user control with jQuery which displays the character count of a multi-line textbox below it. The user control takes the character limit as one of its properties. (more)
category: Web Dev | clicked: 2 | comment | | source: dheerajstechwiki.blogspot.com
tags: jQuery, ASP.NET
7
Shouts

WCF Interoperability and Extensibility - Part One

published 1079 days, 23 hours, 22 minutes ago posted by viperguynazviperguynaz 1081 days, 14 hours, 27 minutes ago
Tuesday, June 08, 2010 10:49:46 AM GMT Sunday, June 06, 2010 7:45:10 PM GMT
Developer Ramblings in C# .NET Development Tips from Falcon Web Technologies Home Archive ContactLog inHome » .NET | WCF | WindowsWCF Interoperability and Extensibility - Part One1. April 2010by viperguynaz0 Comments  Developing a Custom TextMessageEncoder Out of the box, Windows Communication Foundation is perfectly suited for simple WCF-to-WCF exchanges.  However, the diverse communication requirements of most real wo... (more)
category: Web Dev | clicked: 0 | comment | | source: www.falconwebtech.com
3
Shouts

Pluggable Resource for WPF ResourceDictionary using Reflection

published 1080 days, 22 hours, 30 minutes ago posted by abhi2434abhi2434 1081 days, 14 hours, 9 minutes ago
Monday, June 07, 2010 11:41:47 AM GMT Sunday, June 06, 2010 8:02:46 PM GMT
Plugins are the external dlls or modules that runs on an application without having strong relationship with it. Means you can easily uninstall a plugin by just deleting the specified files related to the plugin without affecting the whole application. In .NET technology we have a concept of Assemblies. You can reference an assembly when you want the assembly to be totally dependent on the other one. These are called Dependent assemblies. Plugins do not have direct reference while it is being referenced ... (more)
category: How To | clicked: 1 | comment | | source: www.abhisheksur.com
tags: Themes, styles, ResourceDictionary, WPF
4
Shouts

Resource Generator Tool

published 1080 days, 22 hours, 30 minutes ago posted by abhi2434abhi2434 1081 days, 16 hours, 4 minutes ago
Monday, June 07, 2010 11:41:47 AM GMT Sunday, June 06, 2010 6:07:18 PM GMT
In my latest work, I have to implement the capability to have support for more than one language. Microsoft has come up with few tricks for doing that, but I devise my own logic to implement the same. As languages are actually string data which I want to present on the WPF applications, we can easily introduce individual resource files for data related to a particular Language. Now when the program loads, we can easily go on and add the one that I need to add for the current CultureInfo. I have intro... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com
tags: C#, ResourceDictionary, WPF, XAML
4
Shouts

Try Text to Speech for your application

published 1085 days, 48 minutes ago posted by abhi2434abhi2434 1085 days, 13 hours, 54 minutes ago
Thursday, June 03, 2010 9:23:17 AM GMT Wednesday, June 02, 2010 8:17:16 PM GMT
It is really easy and fun to create applications that speaks out for you. With the introduction with System.Speech, it seems to look like even better. It is to be noted, that Windows Environment comes with a unique feature that converts your voice commands to text equivalent long before the introduction to this in .NET. I will discuss now how you can easily use this in your application and get the work done quickly. Background Windows Speech Recognization Engine and Narrator utility comes with Win... (more)
category: How To | clicked: 0 | comment | | source: www.abhisheksur.com