Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > Server Controls > DataGrid Control
Search:
What's New - What's Hot


Freezing ASP.Net Grid View Header With JavaScript and CSS        
Total Hits: 24  |  Today: 0 Author: Razwan Kader       Rating:  
Read Reviews | Write Review |   Your Rating: 

Frozen Header of ASP.NET GridView is a common requirement of all web developer now days. Because in the case of usability issue of any application or website, must demand frozen or fixed header of data viewing control like DataGrid, GridView, Raw HTML Table etc. You must have observed that in Excel you can freeze top cells of your spread sheet. When you scroll down the headers are always visible making your sheet more readable. The same effect is often needed in GridView control especially if y...

Popup Master-Detail using GridView, DetailsView and JQuery with jqModal        
Total Hits: 26  |  Today: 0 Author: Muhammad Mosa       Rating:  
Read Reviews | Write Review |   Your Rating: 

Last month Matt Berseth posted very good post about how to build Master-Detail with the GridView, DetailsView and ModalPopup Controls. Today I'm going to clone his post and build the same feature using jQuery with jQuery Plugins; one for popup windows jqModal& and the other is for Color Animation. You can view a demo of this sample here [View Demo]....

Display Data Using FormView Control in ASP.NET        
Total Hits: 21  |  Today: 0 Author: Hans Candra       Rating:  
Read Reviews | Write Review |   Your Rating: 

The FormView control gives you the ability to work with a single record from a data source, similar to the DetailsView control. The difference between the FormView and the DetailsView controls is that the DetailsView control uses a tabular layout where each field of the record is displayed as a row of its own. In contrast, the FormView control does not specify a pre-defined layout for displaying the record. Instead, you create a template containing controls to display individual fields from the ...

Sortable GridView using jQuery's TableSorter        
Total Hits: 49  |  Today: 0 Author: Ponnurangam Devarajan       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article explains how to use jQuery's plugin Tablesorter to implement client side sorting in ASP.Net Gridview. This comes in handy especially when object data source is used with grid view as gridview does not provide sorting out of the box. To implement TableSorter, the rendered table should have THEAD in the markup. Gridview does not provide this by default but we could achieve it either by setting appropriate properties or by using a CSS friendly control adapter. We will do it by using th...

Merge Header - Gridview/DataGrid        
Total Hits: 65  |  Today: 0 Author: Thiagarajan Rajendran       Rating:  
Read Reviews | Write Review |   Your Rating: 

During development with GridView, we might come across many situations in which we need to extend GridView for our requirements. For example, we need to have a separate header other than the header provided by GridView. In that case we need to add new GridView item of header type. In this article we will see how merge two or more columns. In this example we have simple GridView which is fetching data from xml file and displaying that in the table structure using GridView. In this GridView, we ne...

How to set an entire DataGrid column to edit mode        
Total Hits: 130  |  Today: 0 Author: Sigurd Johansen       Rating:  
Read Reviews | Write Review |   Your Rating: 

We all know the Insert, Edit, and Update columns available in a DataGrid. These commands are very useful if you don’t have too many rows and you want to edit an entire row.

But what if you want to just edit values in a column? A couple of days ago, that was my case. I wanted to edit an entire column, so I started looking for some code to solve the task. I could not find anything in the internet so I had to write some code myself....

Handling events of child controls inside a DataGrid        
Total Hits: 103  |  Today: 0 Author: mkruppa       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of the big DataGrid mysteries is (or was, at least for me) the handling of events triggered by controls from within a DataGrid cell and not dealt with by the DataGrid. An example is handling of the OnCheckedChanged event of a CheckBox Control with enabled AutoPostBack. On the other hand than these non preset postback controls are button controls with default postback and support of a command attribute for which the DataGrid provides sufficient assistance....

Refresh a GridView control on the parent page, from a pop up window        
Total Hits: 71  |  Today: 0 Author: azamsharp       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this article, I will show you how to can refresh a GridView control on the parent page, from a pop up window. I will discuss different scenarios which you will find very helpful when implementing your solution.
I will be using my own custom table for this article. The table name is Users, and it contain columns for UserID, UserName, FirstName, and LastName. UserID is an automatically generated primary key....

Dynamically load controls into a DataGrid        
Total Hits: 40  |  Today: 0 Author: Mark Killmer       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ASP.NET DataGrid is a powerful control with the capability of supporting embedded controls such as text boxes, buttons, dropdown lists etc… The power of this control comes at the cost of complexity. Recently, I needed to produce a screen containing data which would be populated at run time by application users. The display format of this data could change depending on user input. Saved data might be a selection from a list, a True/False condition, or a text string. Here is an example of how ...

Practical use of the DataGrid's ItemDataBound event.        
Total Hits: 114  |  Today: 0 Author: Luc Archambault       Rating:  
Read Reviews | Write Review |   Your Rating: 

Because of its simplicity, flexibility and many possible uses, the DataGrid class is one of the most well known and used classes of the .NET framework. The use of the DataGrid's ItemDataBound event introduces a whole new world of possibilities, letting you conditionally modify displayed data, format, as well as insert some client side code for any cell in your DataGrid. The use of this event can sometimes be a smart alternative to adding calculated columns to a dataset....

ASP.NET Data Shaping        
Total Hits: 22  |  Today: 0 Author: Dino Esposito       Rating:  
Read Reviews | Write Review |   Your Rating: 

Last month Johnny Papa and I each covered tools and tech-niques related to the presentation and manipulation of hierarchically shaped data. It was not a coincidence that we both discussed it from within the context of Windows® Forms applications. The Windows Forms DataGrid control, in particular, has several pretty cool features that make it suitable as the main component of the data entry module of your applications....

ADO to XML: Building a Data Access Tier with the DataManager Component        
Total Hits: 30  |  Today: 0 Author: Johnny Papa       Rating:  
Read Reviews | Write Review |   Your Rating: 

Your boss says, "We need our app to talk XML." Of course, XML is a solid data format, but what about the data formats that are already used by your company's applications? Your business applications may have a data access tier that reads and writes data to and from a database and sends the data back to the business services tier. What format does that data take? If you use an ActiveX® Data Objects (ADO) recordset, your business component is reliant upon the ADOR object library, which may or may ...

Persisting Selection in ASP.NET Grid Controls While Paging        
Total Hits: 57  |  Today: 0 Author: Mike Pope       Rating:  
Read Reviews | Write Review |   Your Rating: 

I only recently ran across this, and it surprised me: when you use a grid control (DataGrid, GridView, and now even ListView) that supports both selection and paging, selection is persisted incorrectly as you navigate between grid pages.

Let's say that you select the second row. Use the pager to go to page two. You'll see that the second row on that page is selected, too. Third page, same thing. Turns out that row selection in a grid control is relative to the page - the default selection...

GridView CheckBox PostBack And Paging        
Total Hits: 134  |  Today: 1 Author: AzamSharp       Rating:  
Read Reviews | Write Review |   Your Rating: 

Few days back one gentleman asked me that how can I select a row within a GridView control using CheckBox while the auto-postback property of the CheckBox is set to true. Another gentleman asked me that how can he export the complete GridView to Excel sheet which has paging enabled. In the article I will going to address those two questions....

Printing datagrid columns using C# and javascript        
Total Hits: 100  |  Today: 0 Author: Soshan Fernandes       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is an enhanced datagrid having a print ability of multiple columns on seperate pages....

Fully functional Nested DataGrid        
Total Hits: 177  |  Today: 0 Author: Dinesh Goziya       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article will explains all the functionality of a Nested Datagrid. There are following funtionalities in the applcation :

1) Add / Edit / Delete functions for parent and child datagrids.

2) Tree view for parent datagrid.

3) validation for adding data....

Paging with Datagrid in Asp.net 1.1 and XML        
Total Hits: 74  |  Today: 0 Author: hamidreza Talebi       Rating:  
Read Reviews | Write Review |   Your Rating: 

Xml is really good has alot of future when use as database.For Example you want to add your guestbook to Xml database and then use datagrid for showing the data.But you want to add pagging to your datagrid.Here I explain pagging in datagrid and Xml file....

AJAX DataGrid(with client-side paging ) at glance        
Total Hits: 87  |  Today: 0 Author: Taha Amin       Rating:  
Read Reviews | Write Review |   Your Rating: 

Hi there of course all of you hear about Ajax ;) and about its performance,but the main problem is you have to write Javascript function for each case also I didn't found any code to fill Datagrid(note: Datagrid is converted to Html Table at Client-side) with Ajax so I decided to write generic JavaScipt library for Ajax and also support Datagrid with paging....

Custom DataGrid for Alphabetic Paging        
Total Hits: 91  |  Today: 0 Author: Jitendra Bansiwal       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of my most used ASP.NET control is DataGrid. Presenting data from tables is very easy and nice with only one exception - the page navigator. Showing only page numbers or only two links (to previous and next page) is insufficient for me, and completely inexplicable for my clients. So I decided to create DataGrid Server Control, the main task of which is to providing paging alphabetically....

XYDataGrid        
Total Hits: 27  |  Today: 0 Author: Yildirim Kocdag       Rating:  
Read Reviews | Write Review |   Your Rating: 

XYDataGrid is a web datagrid control which helps to developers to put fix headers and fix columns.

One of the important business need is fixed headers and fixed columns for a datagrid component. However, it is not so easy for a web development team to add these functionalities to current datagrid control.

XYDatagrid offers you these methods to add and remove fixed columns and headers easily....


1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net
Position Login