• Using ADO.NET to Perform CRUD Operations with the WebDataGrid

    Many of the examples that demonstrate how to perform CRUD operations against the WebDataGrid either use the ObjectDataSource mapped to POCOs or implement persistence operations by interfacing with a POCO repository directly.

    Using ADO.NET Directly

  • WebDataGrid Validation

    Quick Summary:

    • Associate validators and editor providers to WebDataGrid cells using Cell Editing’s Column Settings
    • Customize the look and feel of validation messages by applying a CSS class to the validator
    • Wire up custom validators by finding…
  • WebDataGrid DataViewState vs ViewState

    Quick Summary

    • DataViewState stores only the row collection information (off by default)
    • ViewState stores “everything else”

    Introduction

    ASP.NET view state is a touchy subject. In recent years the entire concept of view state has…

  • WebDataGrid Client-Side CRUD

    Quick Summary:

    Insert

    Passing an array of values conforming to the schema of the data source to the add function adds data to the data source:

        $find(<GRID_CLIENT_ID>).get_rows().add(<NEW_VALUES_ARRAY>);

    Delete

    To remove a row, the…

  • WebDataGrid 101: Fill the Grid with Data and Change the Look and Feel

    This article aims to get you acquainted with the very basics when working with the WebDataGrid. The below examples demonstrate how to quickly bind the grid to some data, customize a few columns and change the look and feel of the grid.

    The Basics

    Begin…

  • Data Binding the WebDataGrid to Common Data Sources

    One of the first issues you encounter when working with a data bound control is the decision of how to provide data to the control. The WebDataGrid works with many data source options and this article will demonstrate how to use three of the most…

  • Accessing Extra Data in Data Bound Controls

    A common question I get when customers are working with data bound controls is:

    How do I easily access the primary key [or any other piece of extra data] on the client, and still hide it from the user?

    Concept

    The concept lies in placing the…

  • ASP.NET Performance - A Place To Start

    Introduction

    At least once per week I get the question - “How can I make this page run faster”.  We can break down ASP.NET performance into two main categories, size and speed.  Not surprisingly, size has a direct correlation with speed.  But…

  • Persisting Moved WebDataGrid Columns

    With the release of NetAdvantage 2009.1 the WebDataGrid now features the ability to move columns in the grid. This article demonstrates how to persist the grid layout so you may keep new column sequences for future use by your users.

    Note: Make sure…

  • Learn to Build a WebDataGrid Custom Pager

    Watch the video here

    This article demonstrates how to implement a WebDataGrid custom pager with the following features:

    • First, previous, next and last buttons
    • Direct access to individual pages
    • Display of current page number
    • Display of total record c…