Creating Custom Data Field Controls - Part 1
page 5 of 5
by Brian Mains
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 26131/ 35


Hopefully, you have understood that a data control field represents an interface for a field or fields in the underlying data source bound to a parent control (such as the GridView). This interface provides the plumbing to show an instance of the control in read, edit, or insert mode, creates the interface for the control based on the mode, and handles passing the edited/inserted value to the underlying data source.

The series of methods above reduce the amount of code required to create custom data fields.  However, there is still a lot of work to do. The next article shows you another level of abstraction that makes it even easier.

I am beginning to create custom data fields in my Nucleo framework and to develop a framework for this. I will be continually revising it to make the approach for creating custom data fields even easier. However, these are the basic functions that can be used in working with custom data fields.

View Entire Article

User Comments

Title: A test title   
Name: Hassan
Date: 2008-06-30 10:37:25 AM
very good article.
Title: Awesome!   
Name: AzamSharp
Date: 2008-06-26 12:17:36 AM

Very nice article! I think I am going to look into creating some custom data field controls myself.
Title: Nice article   
Name: Joydip Kanjilal
Date: 2008-01-04 12:16:56 PM
Nice article Brian.



Author: ASP.NET Data Presentation Controls Essentials (Packt Publishing)

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-04-18 2:49:39 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search