Hi,
When adding a DetailsView and configuring the datasource Visual Studio automatically generates fields for each column in the datasource which is great.
Here's the but...
We would like to alter this so Visual Studio uses a DynamicField instead without having to alter the ASP mark up.
E.g. used by default
<asp:BoundField DataField="CompanyNumber" HeaderText="CompanyNumber"
SortExpression="CompanyNumber" />
E.g. what we'd like to use by default without changing the ASP markup
<aspynamicField DataField="CompanyNumber" HeaderText="CompanyNumber" SortExpression="CompanyNumber" />
The reason we want to enforce developers to use DynamicFields is because our system will automatically add multilanguage support and apply all the validation required for this field.
Any suggestions would be greatly appreciated.
229257
When adding a DetailsView and configuring the datasource Visual Studio automatically generates fields for each column in the datasource which is great.
Here's the but...
We would like to alter this so Visual Studio uses a DynamicField instead without having to alter the ASP mark up.
E.g. used by default
<asp:BoundField DataField="CompanyNumber" HeaderText="CompanyNumber"
SortExpression="CompanyNumber" />
E.g. what we'd like to use by default without changing the ASP markup
<aspynamicField DataField="CompanyNumber" HeaderText="CompanyNumber" SortExpression="CompanyNumber" />
The reason we want to enforce developers to use DynamicFields is because our system will automatically add multilanguage support and apply all the validation required for this field.
Any suggestions would be greatly appreciated.
229257