Posts
293
Comments
27
Trackbacks
206
GridView Inconsistency

I'd not thought about this before, but I'm just writing about how the GridView works and have come to the Columns property, which unsurprisingly defines the columns to be included. Why is it then, that within the <columns> element you have fields: CommandField, BoundField, etc. Does anyone else think that using column and field is confusing for beginners? Wouldn't a <fields> element have made more sense?

[Listening to: Low Red Moon - Belly - Star]
posted on Friday, August 05, 2005 11:53 AM Print
Comments
 re: GridView Inconsistency
Alex
9/18/2005 11:48 AM
In the first alpha release, I seem to remember is was called <ColumnFields> before it became <Columns>. In the DetailsView it is <Fields>. So, in theory, the columns classes should be called BoundColumnField, HyperlinkColumnField, etc. Or just BoundThingy, HyperlinkWhataver, CheckBoxWhotsit, etc.
Comments have been closed on this topic.