
Using TemplateFields in the DetailsView Control:
Step 2-Combining the Price, UnitsInStock, and Units On Order Into One Row
This VIDEO TUTORIAL will demonstrate in customizing the user interface display of the DetailsView control on the web page by clicking the ‘Edit Fields’ link on the smart tag menu. A new template field as ‘Price Inventory’ is added through this interface to the DetailsView control. This will add the ItemTemplate and EditTemplate tags in the declarative markup of the DetailsViewTemplateFields.aspx. Labels for UnitPrice, UnitsInStock and UnitsOnOrder are added to the ItemTemplate portion of the markup and the data bindings are configured to display the relevant fields. In addition, the UnitPrice is formatted to display currency at runtime.For detailed information and source code for this step, please refer to the original article.
This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content. Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.
---Administrator