15 items found in the WebGrid Category
Adding A Footer To The Razor WebGrid
Mikesdotnetting
-
25 February 2013 19:43
Whether you are using the Razor WebGrid in an ASP.NET Web Pages site, or an MVC application, you may well want to display tabular data at some point in which case you are likely to turn to the Razor WebGrid helper. And if you want to do that, you might also want to add a footer to the rendered table. Here are some ways that you can accomplish that task.
Click to read more about Adding A Footer To The Razor WebGrid ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5534 times
Exporting The Razor WebGrid To Excel Using OleDb
Mikesdotnetting
-
07 January 2013 20:38
This article looks at how you can provide your users with the ability to export the contents of a Razor Web Pages WebGrid to an Excel file using OleDb.
Click to read more about Exporting The Razor WebGrid To Excel Using OleDb ...
Filed under:
ASP.NET Web Pages
WebMatrix
WebGrid
as
Tutorial
Viewed: 2226 times
Exporting The Razor WebGrid To PDF Using iTextSharp
Mikesdotnetting
-
20 December 2012 13:31
This article looks at how you can provide your users with the ability to export the contents of a Razor Web Pages WebGrid to a PDF file using the popular free PDF library, iTextSharp.
Click to read more about Exporting The Razor WebGrid To PDF Using iTextSharp ...
Filed under:
iTextSharp
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 6938 times
Exporting The Razor WebGrid To Excel
Mikesdotnetting
-
17 December 2012 20:17
This article looks at how you can provide your users with the ability to export the contents of a Razor Web Pages WebGrid to an Excel file.
Click to read more about Exporting The Razor WebGrid To Excel ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5189 times
Enhancing The WebGrid With Sort Arrows
Mikesdotnetting
-
14 December 2012 19:24
The Web Pages WebGrid offers sorting capability out of the box. However, it's not always obvious to the user on which column the grid data is being sorted at any one time, nor the direction in which it is being sorted. The convention is to provide arrows in the column header to act as a clear visual cue. This article looks at a three ways in which you can enhance your grids with sorting arrows.
Click to read more about Enhancing The WebGrid With Sort Arrows ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 5680 times
Inline Editing With The WebGrid
Mikesdotnetting
-
13 November 2012 10:37
Unlike the Web Forms GridView control, the Web Pages WebGrid doesn't offer anything by way of inline editing capability. This article looks at one approach to solving that requirement through the addition of a sprinkling of jQuery.
Click to read more about Inline Editing With The WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 9836 times
The WebGrid - Efficient Paging And Sorting With SQL CE 4.0
Mikesdotnetting
-
28 August 2011 22:46
A problem inherent in the existing version of the WebGrid is that it is not very efficient when it comes to paging data out of the box. If you have 10,000 rows of data, and you want to display 10 rows per page, all 10,000 rows are retrieved from the database for each page. The grid works out how to only show the current 10, and wastes the other 9,990 rows. That's a fair sized overhead on each page. Ideally, you should only retrieve the data you need for each page. This article examines how you can do that with the existing WebGrid and a SQL CE database, while still maintaining sorting capabilities.
Click to read more about The WebGrid - Efficient Paging And Sorting With SQL CE 4.0 ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 9901 times
Displaying Search Results In A WebGrid
Mikesdotnetting
-
27 August 2011 16:57
A number of people have run into problems when trying to combine a search or filter form, and a WebGrid. The main issue that arises is when paging or sorting the search result or a filtered subset of it. Here, I look at the cause of the problem and what you can do about it.
Click to read more about Displaying Search Results In A WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Snippet
Viewed: 15247 times
How To Maintain Scroll Position When Paging Or Sorting A WebGrid
Mikesdotnetting
-
23 August 2011 21:13
This snippet is one in a series showing how to use jQuery to enhance the behaviour of a Web Pages WebGrid. This example shows how to maintain scroll position on the page when paging or sorting the WebGrid.
Click to read more about How To Maintain Scroll Position When Paging Or Sorting A WebGrid ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Snippet
Viewed: 6922 times
How To Make A WebGrid Row Clickable
Mikesdotnetting
-
23 August 2011 11:23
This snippet is one in a series showing how to use jQuery to enhance the behaviour of a Web Pages WebGrid. This example shows how to make an entire row clickable so that the user is taken to another page that displays details of the selected row.
Click to read more about How To Make A WebGrid Row Clickable ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Snippet
Viewed: 31203 times
WebMatrix and jQuery Forms Part 2 - Editing Data
Mikesdotnetting
-
06 August 2011 17:33
This article continues on from one I wrote a while ago, showing how to use jQuery to create a data entry form in conjunction with the WebGrid. The original article prompted a number of requests to show how to extend the example to provide editing functions, and now I have found some time to answer those requests.
Click to read more about WebMatrix and jQuery Forms Part 2 - Editing Data ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 8132 times
Why You Can't Use Extension Methods With A WebGrid
Mikesdotnetting
-
27 January 2011 12:58
An interesting question came up recently on the ASP.NET forums. In it, the questioner was attempting to use my Chop() extension method to limit the number of characters in a WebGrid column but it wouldn't work. At first, I was a little stumped, so I tried it myself and got an error message:
Click to read more about Why You Can't Use Extension Methods With A WebGrid ...
Filed under:
Extension Method
ASP.NET Web Pages
WebMatrix
WebGrid
as
Snippet
Viewed: 5368 times
The WebGrid Helper - Making Selections
Mikesdotnetting
-
13 January 2011 14:08
The WebGrid helper, introduced via ASP.NET Web Pages, provides a means for displaying tabular data easily. This article examines how to enable selection within the WebGrid at row level.
Click to read more about The WebGrid Helper - Making Selections ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 13342 times
WebMatrix And jQuery Forms
Mikesdotnetting
-
10 August 2010 17:23
Even though WebMatrix is still in its first Beta, there have been a few requests in forums already for examples illustrating how to create Web Pages forms powered by AJAX. Building on previous articles, I thought I'd put together a little sample that shows how to do this to add a record to a database using jQuery. Here's how it's done.
Click to read more about WebMatrix And jQuery Forms ...
Filed under:
jQuery
ASP.NET Web Pages
WebMatrix
WebGrid
as
Tutorial
Viewed: 26824 times
Looking At The WebMatrix WebGrid
Mikesdotnetting
-
08 August 2010 09:33
One of the most useful helpers provided by ASP.NET Web Pages via WebMatrix is likely to be the WebGrid, which is designed for displaying tabular data. Still in Beta 1, documentation is sparse, so here's a more detailed look the WebGrid Helper.
Click to read more about Looking At The WebMatrix WebGrid ...
Filed under:
ASP.NET Web Pages
WebMatrix
Razor
WebGrid
as
Tutorial
Viewed: 42682 times


