S
Sky
Hello:
Another question about trying to wring functionality from a DataGrid...
Have a DB table of "Contacts" -- 14 or more fields per record
Show in datagrid -- but only 5 columns (First,Last, Fax, Phone, Category).
Put an Edit column at the end...
Now what?!
If you go into Edit mode -- you can only edit 5 cells -- not all the rest of
the Record's fields...not enough!
What options are there?
How to -- elegantly -- replace the Edit line with a nice mini custom form
(vertical layout, not horizontal as in the DataGrid)... Can this be done
with a DataGrid (override a single row's Render() with another scenario --
yet somehow figure out the values on return? I've seen that you can make
your own BoundColumn:Edit template -- but since it's for one column, you
can't very well use it to Colspan the whole grid, and use it....
Question: Is there a DataGrid:Edit template that could be used for this?
Question: Is this where I should be looking at another control to do the
job? DataList? DataRepeater?
Question: Is there where most people popup a modal form? If so, how are they
catching the close of it to refresh the grid?
Another question about trying to wring functionality from a DataGrid...
Have a DB table of "Contacts" -- 14 or more fields per record
Show in datagrid -- but only 5 columns (First,Last, Fax, Phone, Category).
Put an Edit column at the end...
Now what?!
If you go into Edit mode -- you can only edit 5 cells -- not all the rest of
the Record's fields...not enough!
What options are there?
How to -- elegantly -- replace the Edit line with a nice mini custom form
(vertical layout, not horizontal as in the DataGrid)... Can this be done
with a DataGrid (override a single row's Render() with another scenario --
yet somehow figure out the values on return? I've seen that you can make
your own BoundColumn:Edit template -- but since it's for one column, you
can't very well use it to Colspan the whole grid, and use it....
Question: Is there a DataGrid:Edit template that could be used for this?
Question: Is this where I should be looking at another control to do the
job? DataList? DataRepeater?
Question: Is there where most people popup a modal form? If so, how are they
catching the close of it to refresh the grid?