Online Articles

Grouping Data in the ListView Control

In ASP.NET 1.X and ASP.NET 2.0 DataList was the primary control used to display data in groups. In ASP.NET 3.5 we have a new control that takes care of grouping data. In this article we are going to demonstrate how to group data using the ListView control.

Conditional Rendering in ASP.NET AJAX 4.0

Client-side rendering in ASP.NET 4 allows you to use HTML templates to define your desired layout and supplies a text-based syntax for placeholders of run-time data. This article covers conditional template rendering.

Parameterized IN Clauses with ADO.NET and LINQ

Since my article on using parameters for Preventing SQL Injection In ASP.NET, I have had a few emails asking how to do the same with an IN clause expression. In this entry, I explore a couple of ways to do this.

Fun with LINQ - Find the Longest and Shortest Type Name in .NET 3...

While browsing through the forums a couple of days ago, I came across this query where the user wanted to list down the types in .NET 3.5 in the order of the length of their names. He also wanted to find out the total number of types in .NET 3.5 and 2.0. Here’s how to do so using LINQ.

Optimized Paging and Sorting in ASP.NET GridView

In this article I am going to demonstrate what are the performance drawbacks of using conventional way to page and sort your GridView and then I will demonstrate 'An Optimized way to implement Paging and Sorting'.

ASP.NET Multiple Selection DropDownList with AJAX HoverMenuExtend...

Recently, I was looking for a multiple selection dropdownlist control for my new project. After spending some time researching for it, I decided to put together all my finding in one web user control. This web user control consists of an ASP.NET AJAX HoverMenuExtender, JavaScript, StyleSheet and CheckBoxListExCtrl . The final product will work with or without a MasterPage and you can drag and drop more than one instances of the control on to the page.

Getting Started with the ASP.NET MVC Framework

This article introduces the essential concepts of the ASP.NET MVC framework, dissects the MVC pattern, and provides real-world examples to illustrate how it works.

Improve Bandwidth Performance of ASP.NET Sites Using IIS Compress...

Bandwidth performance is one of the critical requirements for every website. In today’s time major cost of the website is not hard disk space but its bandwidth. So transferring maximum amount of data over the available bandwidth becomes very critical. In this article we will see how we can use IIS compression to increase bandwidth performance.

Building Efficient Search Page Using QueryExtender control in ASP...

Building a search page is one of the very common and repeated tasks we do in any data driven websites. To do this, we will build a select query with where clause based on the search parameter suppplied through the input controls on the page. Understanding this need, Microsoft has introduced a new extender control called QueryExtender control with ASP.Net 4.0(Currently in beta) release that works with LINQ.

Mobile Device Detection and Redirection Using ASP.NET

This article explains two approaches to determine if an HTTP request is coming from a mobile phone and then redirecting the request to a page optimized for a mobile browser.

Health Monitoring and ASP.NET MVC

The Health Monitoring features introduced in ASP.NET 2.0 can be used with the new ASP.NET MVC framework to capture important diagnostic information. This article show you the basic configuration you need to get started.

RESTful Services With ASP.NET MVC

A RESTful service is a web of resources that programs can navigate. When designing a RESTful service, you have to think carefully about how your web will work. This means designing resource representations with links that facilitate navigation, describing service input somehow, and considering how consumers will navigate around your service at run time. Getting these things right is often overlooked, but they're central to realizing the full potential REST has to offer.

ASP.NET MVC View Model Patterns

In this article, Steve Michelotti examines various patterns that have emerged with dealing with view models in ASP.NET MVC solutions and discussing the strengths/weaknesses of each.

jQuery Star Rater with ASP.NET MVC

There are a number of jQuery star rating plugins to choose from. All have their pros and cons. For this site, I decided to implement the one from FyneWorks because it allows for split stars. Here's how I did it.

Disable an ASP.NET button during PostBack with AJAX loading backg...

There are times when our applications might take an extra few seconds to respond to a click event. Some users might get impatient and click on the button more than once. We can easily avoid this type of situation by disabling the submit button during PostBack on the page by using a client side script.

<< First  < Page 1   Page 2 of 187   Page 3 >  Last >>

» Submit an article and Gain Recognition Points

Community Recognition Program

Yesterday's Top Movers

Zhi-Qiang Ni - MSFT earned 41 points yesterday.

Learn about the Community Recognition program and visit the Hall of Fame.

Microsoft Communities