M
Martin Bischoff
[this is question about the ASP.NET 2.0 details view control]
When I add a row which is bound to a string field, the details view displays
a single-line text box control in edit mode. Often, I would like to have a
text area instead. I know that I can achieve this by converting the row to a
template row and add a textbox with TextMode="MultiLine". But it seems to me
that this is a very common need, and I don't like to edit every page/row
where I need the same functionlity.
Is it possible to derive my own controls (e.g. containing a text area) from
BoundField and use them in a details view? Are there any samples
demonstrating this?
Thanks for any help,
Martin
When I add a row which is bound to a string field, the details view displays
a single-line text box control in edit mode. Often, I would like to have a
text area instead. I know that I can achieve this by converting the row to a
template row and add a textbox with TextMode="MultiLine". But it seems to me
that this is a very common need, and I don't like to edit every page/row
where I need the same functionlity.
Is it possible to derive my own controls (e.g. containing a text area) from
BoundField and use them in a details view? Are there any samples
demonstrating this?
Thanks for any help,
Martin