|
|
|
|
|
Total Hits: 110 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

Displaying hierarchical data is a common feature practiced by many websites. Hierarchical data can be displayed in many different ways. In this article we will learn how to display nested data using nested GridView controls. The domain model is really simple and consists of two entities, Category and Products. A single category can have multiple products hence producing the one-to-many relationship. This article does not contain any persistent storage like database or xml files and the entities ...
|
|
|
|
Total Hits: 140 | Today: 0
|
Author: johnsaxton@yahoo.com
|
Rating:
|
|

I wanted to add buttons to my DataGrid, but I didn't want a button on each line that said 'Edit' or 'Update'. I wanted each button's text value to vary based on cell contents. It just seems more intuitive and less amateurish to use data to populate the buttons as opposed to creating dozens of buttons all of which carry the same text. Why have an 'Edit' button next to some cell value when the cell could contain the button?...
|
|
|
|
Total Hits: 223 | Today: 0
|
Author: Muhammad Abubakar Dar
|
Rating:
|
|

Purpose of this article is to demonstrate architecture of data grid TemplateColumn class using an example implementation of data grid custom selection column. So, one should be able to design more complex custom columns easily...
|
|
|
|
Total Hits: 298 | Today: 0
|
Author: mosessaur
|
Rating:
|
|

DataGrid Web Server Control is one of the rich server control in Asp.Net, it gives you a lot of functionality that make the world easy when trying to use it. One of these features is delete column that is used to delete items in the database table listed in the DataGrid. To be able to use delete command column in the DataGrid, you have to write and event handler for the DeleteCommand Event in you CodeBehind. That code is really simple, but.. When you attempt to delete, it will jus...
|
|
|
|
Total Hits: 149 | Today: 0
|
Author: Saifi Hasan
|
Rating:
|
|

The GridView is a very powerful control and has all the features including paging/sorting etc. But while using GridView in your project, you have to assign the PageSize property of the GridView programmatically, which users then cannot change. Sometimes, users require the feature to change the page size so that they could view more/less records per page. With one of my projects, I was asked to develop such a control with custom paging. I am sharing this with you so that you don't have to rework ...
|
|
|
|
Total Hits: 159 | Today: 0
|
Author: Ramana. G.V
|
Rating:
|
|

This article will explains about creating & displaying Column Header CheckBox in winforms DataGridView. Bydefault DataGridView doen't supports column header chekbox, for this we need to write a class which is inherited by DataGridViewColumnHeaderCell class. 1) Add a boolean propery named CheckAll in that class to maintain the seleced state of Header checkbox. 2) override default implemention of Paint method. In this method, drawing the CheckBox at column Header....
|
|
|
|
Total Hits: 299 | Today: 0
|
Author: farazsk11
|
Rating:
|
|

Check/uncheck CheckBox control inside a GridView using javascript without postback. This article will give an idea on how to achieve this task. Some sample code is provided under Using the code heading and complete code is available in the project download. (Forums are flooded with the questions about how to check/uncheck CheckBox control inside a GridView using javascript without postback....
|
|
|
|
Total Hits: 160 | Today: 0
|
Author: xicoloko
|
Rating:
|
|

Most of the examples that show a Master/Detail DataGrid do it using nested ListControls. This article shows how to accomplish the same using only a DataGrid-derived class. The DataGrid shows exactly the number of rows that its DataSource has. Suppose you have the following need: show orders grouped by customers, but before a order from a new customer you show the customer details....
|
|
|
|
Total Hits: 161 | Today: 0
|
Author: azamsharp
|
Rating:
|
|

The GridView control provides you with an easy way to display the number of items on a page without taking much space, with the help of paging. You can enable the paging feature in the GridView control in seconds. The built-in paging is pretty good if you are fetching less than 100 items. As soon as the number of items increases, the performance suffers. The main reason for the performance kill is that whenever you go to a new page of the GridView, it fetches all the items from the database. In ...
|
|
|
|
Total Hits: 210 | Today: 0
|
Author: Gigy
|
Rating:
|
|

This code snippet will help to create a Nested Grid. The sub grid depends on the each row element in the parent grid control. I had a requirement to load all acounts of an enrolled user in a grid control for a financial project. Some of the accounts have sub accounts which has to be loaded/ shown as a sub elements to that account. Even though several sites gives an idea to create the sub grids, but none of them was prefect match....
|
|
|
|
Total Hits: 206 | Today: 0
|
Author: jebarson
|
Rating:
|
|

This article provides the code to add a checkbox in a DataGrid, and thereby allows you to check or uncheck all the checkboxes in the DataGrid using JavaScript. I really had a very hard day Googling for code to check/uncheck all the checkboxes in a DataGrid using JavaScript. I had an option to do it on the server side, but to check all the records in a DataGrid on the server-side, I will have to reload the web page from the server; sounds crazy, doesn’t it? So finally, I sat down and wrote the...
|
|
|
|
Total Hits: 186 | Today: 0
|
Author: Rajib A.
|
Rating:
|
|

HGrid stands for Hierarchy Grid. This grid is meant to hold data using a datagrid/table, and present it to users in a fashionable manner....
|
|
|
|
Total Hits: 156 | Today: 0
|
Author: Yildirim Kocdag
|
Rating:
|
|

GenericDataGridView is a new control which is more flexible for coding than a simple datagrid. However, there are a lot of developers who are facing diffulties about DataGridView Calendar, Mask, ComboBox and also Validations. Actually, GenericDataGridView does not support such as important properties....
|
|
|
|
Total Hits: 486 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

Microsoft DLINQ is part of the .NET 3.5 framework. DLINQ allows the developer to iterate through data sources which includes SQL SERVER databases. In this article I will demonstrate how you can use DLINQ to perform editing, updating, paging, sorting and deleting operations on the GridView control....
|
|
|
|
Total Hits: 155 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

Sometime ago I wrote an article in which I discussed how to get the selected value of a radio button control which resides inside the GridView control. You can read the article here. In this article I will demonstrate how to maintain the state of the selected HTML radio button across postbacks....
|
|
|
|
Total Hits: 83 | Today: 0
|
Author: Peter Bromberg
|
Rating:
|
|

Repository Factory tutorial with WebService layer feeding an ObjectDataSource and GridView on a web page....
|
|
|
|
Total Hits: 298 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

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 each day and also the total hours worked. The task can be accomplished in number of ways which includes using the Crystal Reports or SQL SERVER Reporting Services but I thought I should use Nested GridView to achieve the desired result. In this article I will demonstrate how to use the Nested GridView ...
|
|
|
|
Total Hits: 268 | Today: 0
|
Author: saifi hasan
|
Rating:
|
|

In one of my web projects, the requirement was such that the pager should have numeric paging as well as links for previous, next, first, and last pages. The DataGrid did not directly support this type of layout; that's why I have developed my custom DataGrid that can be used throughout....
|
|
|
|
Total Hits: 492 | Today: 0
|
Author: netomatix
|
Rating:
|
|

In this article I will be discussing how you can highlight a row in datagrid or grid view when mouse moves over a row. The article uses technique of adding handlers for onmouseover and onmouseout javascript events for the row. In the event handlers the style sheet for the row is switched to highlight the row and when mouse moves out, the style sheet is switched back to normal....
|
|
|
|
Total Hits: 284 | Today: 0
|
Author: netomatix
|
Rating:
|
|

If you are seeing this section and do not see download links, this means that you are not logged into our site. If you already are a memeber, click on the login link and login into site and come back to this page for downloading the control files. If you are not a member, click on registration link to become a Winista member and download the control for free....
|
|
|
|
|
|