Editing Update- June 8, 2005
I've now successfully implemented Editing capabilities for the ADG using a separate Editing page. Basically in the settings page, you specify an editpage, i.e. EditBooks.ascx. Then, Grid displays an edit icon on each row, clicking on the icon takes you to a container page that then loads the Edit control... The beauty of this approach is its fully extensible, there's no limits to the complexity of the edited data. The downside is that you have to create the edit page on your own (I'll be providing a sample for use as a basis and perhaps templates for auto-code generation). I also plan on adding a DetailDisplay page to display complete details using the same system...
I've now successfully implemented Editing capabilities for the ADG using a separate Editing page. Basically in the settings page, you specify an editpage, i.e. EditBooks.ascx. Then, Grid displays an edit icon on each row, clicking on the icon takes you to a container page that then loads the Edit control... The beauty of this approach is its fully extensible, there's no limits to the complexity of the edited data. The downside is that you have to create the edit page on your own (I'll be providing a sample for use as a basis and perhaps templates for auto-code generation). I also plan on adding a DetailDisplay page to display complete details using the same system...
The next step would be to add code that would automatically/dynamically generate the edit page. I've done the initial design work on this and I think it could be quite powerful. There will be limitations such as it won't be able to handle many-to-many relationships and some other complex cases... So, I'll allow users to select an auto-generated edit/display page, or to use their own custom pages.
What do people think of this approach? And for those of you who have downloaded the inline editing stuff, what are your thoughts on that?
Written By: David O'Leary
Date Posted: 7/8/2005
Number of Views: 2502
Return