-
Use case: To upload the file from client system and save the file in Server using File Stream Implementation: This can be done at the client side by using jQuery with the help of uploadify.js plugin 1. Designing the Page Drag and drop Fileupload control, hidden Field, also...
-
In this post I am going to explain you how we can create a basic RSS Reader with the help of Linq-To-Xml and ASP.NET MVC3 Razor. Those who are writing or reading Blogs already knows what is RSS Reader. But those who does not know What is RSS. Below is the definition for RSS as per Wikipedia . RSS...
-
Yesterday one of my friend asked me to set default value for @HTML.EditorFor. So I decided to write this blog post. In this blog post I am going to Explain How we create Default values for model Entities. So Let’s start this via taking a simple example Model class called User. In User Model class I have...
-
We have all love Visual Studio 2010 and I am sure you all want to change color for menus, toolbars and title etc. Today I have found one of the most interesting Extension for Visual studio 2010 from which you can manage all this things. Don’t believe me I’m sure you won’t believe but this reality and...
-
You might be working with ASP.NET Dropdown list or normal html dropdownlist while working with web development. In common scenarios and day to day applications we need to get value filed ( usually ID ) and text filed of the selected item in the drop down. In this post we will examine how to get selected...
-
Everyday I am discovering something new with Visual Studio 2010 and today Once again I have discovered a new feature called “Surround with” feature. This feature is quite useful when you have very big HTML element and You want to surround it some HTML or ASP.NET element i.e. Suppose there is one very...
-
Most of the WPF classes derive from Dependency Object . All UI Elements are derived from Dependency Object. The Dependency Object class gives all the functionality of the WPF dependency property system. Dependency Object defines WPF Property System. System.Windows.DependencyObject is used to create Dependency...
-
Today we will make a cascading dropdown application of Country, State and City in JQuery N.B.~ We are using JQuery 1.6.1 Let us first make the entities.We will have 3 entities here viz, Country, State and City Country Entity(Country.cs) /// <summary> /// Summary description for Country /// <...
-
I am learning JQuery and today I did a small program with JQuery Ajax I am using JQuery 1.6.1 The application is very simple. It has a TextBox, a Button and a Label control. Once the user enters something in the textbox control and click on the Button control, then the request will go to the server and...
-
We may sometime need to display the execution plan . I got one such requirement recently and thought of sharing the same here. I will take two examples into consideration for demonstrating the application . The first with a normal query and then the same with a stored procedure Case 1: Display execution...
-
Often we need to check if the items in the collections are same or not. It comes into action very often during unit testing. Here we will see three ways of doing so Entity Class (Player Entity) namespace ConsoleApplication1 { public class Players { public int PlayerId { get; set; } public string PlayerName...
-
While I was working today on one of my projects, as per habits, I used Conversion functions from Convert class and I noticed a peculiarity. Just sharing this with the readers to keep this in mind: Ideally, Convert.ToInt32("12") is same as integer 12, but this has a big point to note here. Let's...
-
Windows Azure table storage provides two kind of storage 1) SQL Azure and other one is 2) Table,queue,blob and other storage like drives etc. In this blog post I am going to explain Table storage in details. What is Windows Azure Table Storage: Windows Azure table storage is a service provided by Azure...
-
If we are referring any other script files along with jQuery you may get conflicts in the namespace. Some times if we use jQuery with any other libraries, we may get clash between two libraries and we encounter situations like neither of the functionality works. Important thing to keep in mind is , when...
-
Prism is a Framework for developing Composite or Complex applications specific to WPF or Silverlight or Windows Phone. It uses modularity; It allows to break application into pieces can be called as Modules. It uses design patterns like MVVM, Command Patterns, Dependency Injection (DI), and Inversion...