Formatting the DataList and Repeater Based upon Data: Step 3-Highlighting the Product’s Name and Price

Formatting the DataList and Repeater Based upon Data:
Step 3-Highlighting the Product’s Name and Price
This VIDEO TUTORIAL will elaborate on how to apply style classes in the DataList’s ItemDataBound event handler when the UnitPrice value is NOT null and is less than $20.00. The highlighting of ProductName and UnitPrice labels in yellow color is achieved by applying ‘AffordableEmphasis’ style class of the Style.css file of the Data Tutorial project. In addition, an alternative of creating and applying formatting function and calling it from DataList ItemTemplate is also demonstrated. Finally, a demonstration of highlighting the Product’s name and Price at runtime is examined. 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


Copyright 2007-2011 by dotnetvideos.net   |  Privacy Statement  |  Terms of Use