News in the Category: GridView Subscribe to the rss of this category.

Total posts: 536 | Sort by Views | Sort by Hits

Gridview Export to Excel

Clarity Blogs: ASP.NET, July 3, 2006
Views: 42,447 | Hits 410

Exporting a gridview control to Excel isn't hard, but I did run into some problems with Response Headers when deploying this functionality to our production site.  Turns out the header settings w...

Filter A GridView After The Initial Bind

Jason N. Gaylords Blog, May 31, 2006
Views: 31,759 | Hits 568

One of the goals that Microsoft has really pushed for in ASP.NET 2.0 is saving the amount of coding necessary to perform common tasks such as data access. On a recent project, I needed the ability to ...

Displaying GridView When No Data Exists

Clarity Blogs: ASP.NET, February 28, 2006
Views: 23,933 | Hits 177

One thing thats midly annoying to me about the new gridview control is that it doesn't display the header row when there is no data.  I would like to just have the header displayed like the origi...

Simple tips: Set Focus to TextBox in GridView (edit mode)

Jotekes Blog, February 17, 2007
Views: 21,837 | Hits 80

Replied on Forums:If you use TemplateField like<asp:TemplateField> <ItemTemplate> <%#Eval("EmailName") %> </ItemTemplate> ...

How to display image in GridView using ASP.net and C#

The Code Project Latest Articles, February 7, 2007
Views: 19,583 | Hits 2,804

image in GridView using ASP.net and C# SQL...

Editable GridView with Add New/Insert button

ENTech Solutions Blog, April 28, 2006
Views: 18,488 | Hits 4,366

Today I worked on implementing a GridView that would have the following features:1. Inline add/edit/delete2. Delete confirmation3. Data access through object data sourceOut of the box GridView let's y...

Inserting through the GridView's Footer Row - Easy Unless There are No Records Bound to the Grid!

Scott on Writing, March 16, 2007
Views: 18,443 | Hits 292

As I mentioned in an earlier blog post this month, three new data tutorials were added to my Working with Data in ASP.NET 2.0 tutorial series. One of these new tutorials looked at how to use the GridV...

How To Set a Date Format In GridView Using ASP.NET 2.0(Using HtmlEncode Property)

peterkellner.net, May 24, 2006
Views: 16,003 | Hits 3,817

How To Set a Date Format In GridView Using ASP.NET 2.0 (Using HtmlEncode Property) (AKA, the DataFormatString="{0:M-dd-yyyy}" Problem) A very common desire is to set a column of a gridview to di...

Extended GridView Control

ASP.NET Announcements, August 9, 2006
Views: 15,541 | Hits 1,684

I would like to invite you to check my latest article on ASPAlliance under the title of : Extended GridView Control Hope you will enjoy it! Regards...

Add Columns to GridView Programmatically

The Code Project Latest Articles, April 8, 2008
Views: 14,871 | Hits 3,701

Very Simple article to show how to add columns to gridview in runtime...

Dynamically Adding Template columns to a GridView

The Code Project Latest Articles, January 9, 2007
Views: 13,377 | Hits 2,506

How to Add Template column dynamically to a GridView....

Telerik RadGrid client-side data-binding using jQuery

the telerik blogs, October 9, 2008
Views: 11,083 | Hits 76

Instead of traditional ASP.NET AJAX approach for "Exposing Web Services to Client Script" you can use jQuery and JSON2 JavaScript libraries to achieve the same very easily. Using this simple method...

Send an e-mail with the content of a GridView

Fredrik Norméns Blog, April 3, 2007
Views: 11,075 | Hits 2,455

I have seen several questions lately on the ASP.Net Forum about how to expert and send an e-mail with the content of a GridView in ASP.Net 2.0. So I decided to post a short post about how you can make...

GridView inline Master/Detail record display

The Code Project Latest Articles, January 9, 2006
Views: 10,368 | Hits 1,958

How to view detail records inline with the master records, using the GridView control....

Nested GridView Grouping and Displaying SubTotals and GrandTotals

ASP.NET Daily Articles, February 28, 2007
Views: 10,328 | Hits 2,216

I was working on a project where I needed to display some reports based on the employee's daily work. The report should consist of an employee check in time, check out time, no of hours worked for eac...

Command-capable CheckBox with GridView

Jotekes Blog, October 13, 2006
Views: 10,189 | Hits 146

Ben asked on newsgroups:"I have a GridView control with a dynamically created checkbox column.  The checkbox is created using ITemplate interface.  In my class that implements ...

DropDownList Inside GridView (Method 1)

ASP.NET Daily Articles, April 18, 2006
Views: 10,080 | Hits 2,051

In one of my previous articles I explained that how you can embed a DropDownList inside the GridView control. You can check out the article at Accessing DropDownList inside the GridView Control. If yo...

Export and Printing RadGridView using Telerik Reporting

the telerik blogs, June 11, 2008
Views: 9,912 | Hits 35

Hi everyone, by means of introduction my name is Martin Vassilev and I am a support officer with the Windows Forms team here at Telerik. As of late, we noticed increased interest towards RadGridView d...

How to Create TreeView Type GridView

The Code Project Latest Articles, March 27, 2008
Views: 9,341 | Hits 1,220

How to Create TreeView Type GridView...

Build a Nested GridView Control with ASP.NET

ASP.NET Daily Articles, October 29, 2006
Views: 9,069 | Hits 2,019

Take the tedium out of building complex GUIs in ASP.NET by creating nested GridView controls....

Inserting a New Row in GridView

ASP.NET Daily Articles, April 27, 2007
Views: 9,060 | Hits 2,077

Many months back I wrote an article that explained a trick that allows you to add a new row to DataGrid. Just like DataGrid control the new GridView control doesn't allow you to add new rows.In this a...

How To: Group Data in the GridView Control

Sushila Patels Weblog, May 26, 2007
Views: 8,410 | Hits 1,247

Grouping the data based on the column data is one of the common requirement. In ASP.NET 2.0 the Gridview control proves to be an efficient data control. The code snip shows how to group data using th...

Maintaining Fixed Headers in GridView

ASP.NET Daily Articles, May 14, 2007
Views: 8,303 | Hits 1,856

One of the commonly asked question by developers is how to maintain headers of GridView in a fixed position. You must have observed that in Excel you can freeze top cells of your spread sheet. When yo...

Fixed GridView Header

Radical Development, August 11, 2007
Views: 8,123 | Hits 1,372

Providing a fixed header is much simpler than you make think. All you have to do is use CSS. <style type="text/css"> div.tableContainer { width: auto; height: 200px; overflow: aut...

Checking All CheckBoxes in a GridView Using Client-Side Script and a Check All CheckBox

4GuysFromRolla.com Headlines, May 31, 2006
Views: 8,116 | Hits 352

Last week I authored an article titled Checking All CheckBoxes in a GridView that illustrated how to add functionality to check all CheckBoxes in a GridView at the click of a button. Specifically, the...

Editable GridView & Row Level Binding

Wallace B. McClure, July 20, 2006
Views: 8,111 | Hits 1,471

Original Post: http://morewally.com/cs/blogs/wallym/archive/2006/07/20/191.aspx I've finally started playing with the GridView in ASP.NET 2.0 beyond just using it to display some data.  ...

C# GridView Sorting/Paging w/o a DataSourceControl DataSource

<Rolog>, May 23, 2008
Views: 8,012 | Hits 1,272

If you set AllowPaging="true" or AllowSorting="true" on a GridView control without using a DataSourceControl DataSource (i.e. SqlDataSource, ObjectDataSource), you will r...

GridView With ObjectDataSource

ASP.NET Daily Articles, January 20, 2006
Views: 7,997 | Hits 1,573

In this article I will show you how you can use the ObjectDataSource with the GridView control to do editing, updating, deleting and adding new records. There are several ways to perform these operati...

Access GridView BoundFields with "field name"

Jotekes Blog, February 19, 2007
Views: 7,918 | Hits 27

This one was asked at Forums. I quickly created a small helper class which can be extended at will, in case one wants to access also the other field types. However, I wrote class GridViewBoundFie...

Multilevel Nested Master/Detail Data Display Using GridView

The Code Project Latest Articles, July 18, 2006
Views: 7,908 | Hits 1,354

How GridViews can be used to show data having multilevel master detail relationships....

Working with GridView without using Data Source Controls

ASP.NET Daily Articles, August 6, 2006
Views: 7,808 | Hits 1,447

There are many articles and tutorials around that illustrate the use of GridView control along with the new Data Source Controls. When attached with a Data Source control GridView performs tasks such ...

Changing GridView Column Color

ASP.NET Daily Articles, June 6, 2006
Views: 7,801 | Hits 1,180

Couple of weeks ago I wrote two articles which explained column sorting scenario for the GridView control. I explained sorting bound columns and also auto-generated columns. One important point which ...

Tips & tricks: Grouping in RadGridView for WinForms

the telerik blogs, September 5, 2008
Views: 7,772 | Hits 34

.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode ...

Mark a GridView row, and move it with the up and down key

Fredrik Norméns Blog, March 20, 2007
Views: 7,754 | Hits 1,591

I have notice that some people would like to add a way of using the key (up & down) buttons to move and mark a row in a GridView control, so I decided to write a post how you can easy add that kin...

Deleting the Last Record on the Last Page from a GridView with Custom Paging

Scott on Writing, May 30, 2006
Views: 7,707 | Hits 161

In working on my upcoming Data Tutorials for MSDN, alert coder Amrinder S. wrote in voicing the following concern: I have been waiting for tutorials showing how to do custom paging with the GridView....

Show GridView if datasource is empty

The Code Project Latest Articles, February 9, 2007
Views: 7,536 | Hits 1,577

A simple method to show a GridView even if the datasource asigned is empty...

Custom Filtering with RadGridView for Silverlight

the telerik blogs, November 24, 2009
Views: 7,527 | Hits 21

As you may already know, RadGridView received a "filtering" boost with our latest release. As a developer, you are no longer stuck with the default filtering user interface. With the introduction of...

A Neat Solution to GridView Custom Paging

The Code Project Latest Articles, June 5, 2007
Views: 7,289 | Hits 1,770

This articles shows how to easily extend GridView to support Custom Paging and not restricted to using ObjectDataSource...

TextField: A DataControlField Example...

DotNetJohn.Com, September 12, 2006
Views: 7,288 | Hits 1,153

The GridView and DetailsView controls support custom controls that inherit from the DataControlField class. These custom fields support inserting, editing, and viewing values in these controls wit...

Access GridView Invisible Columns

ASP.NET Daily Articles, May 24, 2006
Views: 7,284 | Hits 1,575

I have been getting a lot of emails in which I was being asked to demonstrate that how one can retrieve the value of an invisible column of the GridView control. In this article I will show you two wa...

ASP.NET : Export to Excel/Word from Nested GridViews

GotDotNet: New resources, April 21, 2006
Views: 7,208 | Hits 1,117

This article discusses on implementing Export to Excel, Word functionalites when dealing with Nested GridViews....

Refresh GridView in Parent Page

ASP.NET Daily Articles, February 8, 2006
Views: 7,076 | Hits 1,297

In this article I will show you that how you can refresh the GridView control on the parent page from a pop up window. I will discuss different scenarios which you will find very helpful when implemen...

GridView without DataSourceControl DataSource Updated

<Rolog>, August 9, 2006
Views: 7,039 | Hits 1,097

I just updated my GridView without DataSourceControl DataSource blog entry and all code to allow sort state and data to persist between page changes.Updates:GridView without DataSourceControl DataSour...

Gridview Inside a GridView in ASP.NET 2.0

The Code Project Latest Articles, May 30, 2006
Views: 6,950 | Hits 1,187

An article on how to use a GridView control in ASP.NET 2.0, having multiple controls in templates inside it....

How to Fixed GridView's Header and Footer when scrolling?

The Code Project Latest Articles, October 25, 2007
Views: 6,861 | Hits 1,038

Using CSS, Javascript to Fixed Gridview's Header and Footer...

how to update a row on gridview and ObjectDataSource on code behind

The Code Project Latest Articles, September 18, 2007
Views: 6,832 | Hits 1,019

how to updating a row on behind code with gridview and ObjectDataSource...

Custom Object Binding to a GridView...

DotNetJohn.Com, May 14, 2006
Views: 6,830 | Hits 1,276

Larger-scale applications that create custom collections can still make use of the .NET framework controls in ASP.NET applications. With a little extra work, the gridview control can still take c...

ASP.NET GridView DataFormatString HtmlEncode

EggHeadCafe.com New Articles, December 8, 2006
Views: 6,762 | Hits 585

Having trouble with the DataFormatString property not working properly with a GridView? This tip I found might be the solution you need. By Kevin Davis...

How To: Silverlight grid hierarchy load on demand using MVVM and RIA services

the telerik blogs, October 22, 2009
Views: 6,760 | Hits 31

Ive made small example on how to load on demand RadGridView hierarchy child data using MVVM and RIA service:     Using partial classes you can extend very easily generated code with...

A few ASP.NET 2.0 GridView Sorting Tips and Tricks

ScottGus Blog, February 11, 2006
Views: 6,662 | Hits 1,092

I saw a few interesting posts today that talked about ways to implement some sorting tips and tricks with the ASP.NET 2.0 GridView: Mike has a nice post that walksthrough how to implement custom bi-di...