Master Page and Content Page

0 comments

Using Master page we can create a consistent layout for the pages in our application.  The look and feel of all the pages in our application can be defined using a single master page. Individual content pages are created which contain the content which we want to display.

Restrict Clipboard Shortcuts in TextBox in Silverlight

0 comments

In this article we will see how we can restrict Clipboard shortcuts such as CTRL+C, CTRL+X, and CTRL+V in Silverlight 3 for TextBox Control.

Understanding XAML Namespace in Silverlight

0 comments

As a high storey building cannot be built on a loose foundation, similarly a rich Silverlight application cannot be made without solid foundation and clear understanding of XAML.

Localize a Silverlight 4 Application

0 comments

In simple words, localization is the customization of applications for a given culture or locale. If you have been doing ASP.NET development, you probably are already familiar with localizing applications.

Charting on Fire with Visifire Charting Library for WP7

0 comments

All the component companies are trying to keep pace with the ever-changing landscape of the software world.  Thanks to the popular Apple iPhone, the latest culture craze is the mobile phone.  Google and Microsoft have both entered the market with competition to the iPhone.

Copy a table using SQL Server Management Objects

0 comments

To modify, create or delete a database object, every class (which represents a database entity like Table, Index and so on) contains a Alter, Drop and Create method. Every object contains a property Parent, so a Database object will return a Server object when the property Parent is called.

C# DateTime

0 comments

In .NET Framework, a DateTime structure represents dates and times. We use DateTime to work with dates, times, and both. The value of DateTime is between 12:00:00 midnight, January 1, 0001 to 11:59:59 P.M., December 31, 9999 A.D.

GridView nested inside another GridView in ASP.NET

0 comments

Tables:

Create Database with the name as "NestedGridView" and create following tables in that database.

Restricting User To Login Multiple Times Using Same Credentials

0 comments

Generally in many websites after you get logged in you will be redirected to home page. While this page is running if the user selects the new window and open the Login page again and if he provides the same credentials which was provided earlier then he will be automatically redirected to home page.

Get Frames/Images From Video in Asp.Net

0 comments

In this article we will see how to get frames from a running video in ASP.Net. To run the video use the third party control as AspNetVideo.Net3, which required only the path of a video file to play the video.

Compare two Images in Asp.Net

0 comments
For comparing two images take both images from outside but you can replace that with database also. It requires extensive conversion like byte array to image and image to bitmap. In this article, comparing each pixel of a bitmap.

Speech Recognition(Voice) using C#

0 comments
This Article explains you how to Convert Entered text to Speech Recognition(Voice) using C#. Before Starting to Write a code for converting a text intoSpeech Recognition(Voice). You have to add Reference (Download if not available) Interop.SpeechLib.

CAS (Code access security) & .NET 4.0 Security model FAQ

0 comments

Introduction


Many developers understand the concept of CAS (Code access security) but very few know how to implement the same. This article will discuss and demonstrate practically all those aspects of CAS which you have ready only in theory till today.

Printing in Silverlight

0 comments
Printing is most valuable and required feature in business application. In this application, showing how we can take a print of our UI in silverlight. This is my xaml code which will create my UI to take print. Here a print button on click a print dialog box will appear.

Validation Control and Auto Postback

0 comments
This article explains the validation control and how to use server side controls. We will create a simple ASP .Net page to create a user account creation page. A screen shot of the form design is shown below:

Dot Net Remoting : Serialization and It's attributes

0 comments
In this article we will explore the importance of the Serialization and it's attributes. For basic example on how to create dot net remoting read the previous article on dot net remoting. Here, we will explore the serialization by creating two-console application one for the server and the other one is for the client. 

How to change the Background of control if Validation failed

0 comments
Created a stylesheet, a javascript function, and have used a validation control named as RequiredFieldValidator.

Maintaining browser history in ASP.NET AJAX

0 comments
When we usually work with ASP.NET AJAX, we feel the lack of history in the browser (browser back and forward button doesn't work) when we perform any asynchronous operation. Here is the discussion to show how to maintain the browser history while performing ASP.NET AJAX asynchronous postback operation.

Creating Custom Message Box in Silverlight 3

0 comments
Creating the MessageBox child window user control:

At first we will create our own user control. Then we will use it in a sample application. Start Expression Blend and choose Control library project template (in order to generate a DLL so that it can be added to in any Silverlight application), then remove the MainPage.xaml from your solution and add a new Child Window.

Application Level State Management in ASP.NET

0 comments
Application Level State Management is used to maintain the state of all the users accessing the webforms present within the website. The value assigned for an application is considered as an object.

How to send mail automatically for every five minutes using C#?

0 comments
This article explain how to send mail automatically using window service, Concepts are involved for sending mail automatically are SMTP Server for sending mails, Window service used to mail automatically, Event log is used to see whether the window service is working, below explain detail.

Effective Data Representation in Silverlight 4.0 using TargetNullValue, StringFormat and FallbackValue

0 comments
There is a common issue regarding data representation in Silverlight ItemsControls is that while fetching data from service and displaying in a DataGrid, some data values (especially string) are sometimes Null and also some numeric values need to be represented in a currency format.

Setting your website DateTime according to Time Zone Offset of the client

0 comments
Time zone of countries is different and to deal with it while developing a website is a big headache. We have seen situations where we have to use the GMT time and get the time zone of client to show every user his own Date Time.

Navigation in Silverlight Without Using Navigation Framework

0 comments
In traditional ASP.NET, client applications are built around different web pages that encapsulate distinct tasks and in order to create this sort of application in Silverlight, we have a couple of ways to do that. 

Translate Driving directions from Google Maps in XML format

0 comments
Introduction

In this example, It has been demonstrated on how you can integrate the Keyhole Markup Language  KML  document in Asp.net using C Sharp. The Google maps return this document in result of Http request sent by the user which contains the data for direction and distance. You will see the implementation and translation when you walk in to the code.

Social Networking Website in ASP.NET - Open Source Project

0 comments
This is an open source project named as RNetworking. In this you can make your profile, search other profiles by name, manage friend network by sending friend request, you can also chat with other users.

Displaying Google Maps in ASP.NET Web Application

0 comments
Steps:

1. Download 'GMaps.dll' file, extract the folder.

2. Open VisualStudio.Net -> File -> New Web Site

3. Go to Tool Box -> right click on any tab -> Add New Tab

Inter-Process Data Exchange using .NET 2.0

0 comments
The purpose of this class is to allow exchange data between different processes on the same machine.The idea is to use temporary files, in a common directory, that are shared to all processes (i.e. c:\windows\temp) and synchronize access to these files through System.Threading.Mutex objects.

Google Checkout Custom Control

0 comments
"Google Checkout is a checkout process that you integrate with your website, enabling your customers to buy from you quickly and securely, using a single username and password. Once they do, you can use Google Checkout to charge their credit cards, process their orders, and receive payment in your bank account."

Creating a Blog Application Using Silverlight and WCF

0 comments
The Design 
There are two projects included in the design of the Silverlight Blog.  The first project is a WCF Service for saving and retrieving the blog data. This is the model side of our MVVM architecture (Model View ViewModel). 

Site Navigation in Silverlight 4

0 comments
In any application there will be many pages and user controls to display the content to the users. Also content will be displayed based on the some variable values, which may be passed from one page another page by using session and query string parameters. So, question comes here is how does Silverlight navigation works? How do we pass query string parameters from one page to another page?