.NET news » Search results

Search results for query "MVC" (63):

Sorting a Grid of Data in ASP.NET MVC

Last week's article, Displaying a Grid of Data in ASP.NET MVC, showed, step-by-step, how to display a grid of data in an ASP.NET MVC application. Last week's article started with creating a new ASP.NET MVC application in Visual Studio, then added the Northwind database to the project and showed how to use Microsoft's Linq-to-SQL tool to access data from the database. The article then looked at creating a Controller and View for displaying a list of product information (the Model).

This article builds on the demo application created in Displaying a Grid of Data in ASP.NET MVC, enhancing the grid to include bi-directional sorting. If you come from an ASP.NET WebForms background, you know that the GridView control makes implementing sorting as easy as ticking a checkbox. Unfortunately, implementing sorting in ASP.NET MVC involves a bit more work than simply checking a checkbox, but the quantity of work isn't significantly greater and with ASP.NET MVC we have more control over the grid and sorting interface's layout and markup, as well as the mechanism through which sorting is implemented. With the GridView control, sorting is handled through form postbacks with the sorting parameters - what column to sort by and whether to sort in ascending or descending order - being submitted as hidden form fields. In this article we'll use querystring parameters to indicate the sorting parameters, which means a particular sort order can be indexed by search engines, bookmarked, emailed to a colleague, and so on - things that are not possible with the GridView's built-in sorting capabilities.

Like with its predecessor, this article offers step-by-step instructions and includes a complete, working demo available for download at the end of the article. Read on to learn more!

2010-12-21 18:00:00   Source: Sorting a Grid of Data in ASP.NET MVC   Tags: Build

The OOP approach on MVC UI - System.Web.UI.Controls

How to work with Controls as fully typed objects on the MVC .ascx FormControls
2010-12-07 06:40:00   Source: The OOP approach on MVC UI -...   Tags: Components

ASP.NET Scopes Framework: a powerful alternative to Forms and MVC

This article introduces a brand-new web dev pattern and provides a framework based on it. It is a long-waited dev approach providing a unique and elegant solution to all Forms and MVC fundamental problems and bringing Web 2.0 site development task to a new level of flexibility and transparency.

Improving ASP.NET MVC MUSIC STORE more usability with DotNetAge in 30 minutes

Using the DotNetAge to upgrade the ASP.NET Mvc Music Store add widgets and security features just in minutes.
2010-11-23 09:31:00   Source: Improving ASP.NET MVC MUSIC STORE...   Tags: Security

Fluent Filters - Global Action Filters for ASP.NET MVC 2

This article describes a small library for ASP.NET MVC, that can be used as a facility for registering global filters. It is similar to Global Filter in ASP.NET MVC 3, but with different implementation and features.

ASP.NET MVC Chart Control

Shows how chart controls are used in ASP.NET MVC.
2010-11-07 01:24:00   Source: ASP.NET MVC Chart Control   Tags: ASP.NET

Cutting Edge: Dynamic Action Filters in ASP.NET MVC

Action filters are a powerful feature of ASP.NET MVC controllers that can help you build aspect-oriented Web solutions. In this issue we dive deeper into creating your own dynamic action filters.

Incorporating ASP.NET MVC and SQL Server Reporting Services, Part 2

In the last issue, I introduced you to the basics of incorporating SQL Server Reporting Services into your ASP.NET MVC applications. In this issue, I’ll finish the series by illustrating how we can transfer data between the ASP.NET MVC context and the SSRS report context. In addition, I will also cover deployment issues such as authentication.

2010-10-28 19:00:00   Source: Incorporating ASP.NET MVC and SQL...   Tags: Database

Highlights of ASP.NET MVC 3

As developers are just getting used to ASP.NET MVC 2 and Visual Studio 2010, Microsoft has already planned and released a preview of the next version of ASP.NET. What started out as “just another option” for ASP.NET developers has become the programming style of choice for developers writing .NET applications for the web.

2010-10-28 19:00:00   Source: Highlights of ASP.NET MVC 3   Tags: Visual Studio

Cutting Edge: Action Filters in ASP.NET MVC

Here’s an in-depth exploration of a powerful feature of ASP.NET MVC controllers that can greatly help you in the building of aspect-oriented Web solutions.