Home  About Us   Contact  Search   Tell A Friend   Resources  dotnetVideos Store Register  Login  
  January 6, 2009  
telerik_dec08_sk2
FormatDLRptrBasedUponData2    

Formatting the DataList and Repeater Based Upon Data: Step 2-Programmatically Determining the Value of the Data in the ItemDataBound Event Handler

Formatting the DataList and Repeater Based Upon Data:
Step 2-Programmatically Determining the Value of the Data in the ItemDataBound Event Handler
This VIDEO TUTORIAL will demonstrate on how to format data using an event handler of the DataList. For example, in this tutorial, our objective is to format the Product information displayed in the DataList, especially ProductName and UnitPrice are highlighted in yellow color for UnitPrice values less than $20.00. In order to accomplish this, an event handler for the DataList’s ItemDataBound is created and some custom code is written in this event handler to verify the values of UnitPrice column that satisfy our business rule from the ProductsRow instance. Once the UnitPrice column is found that satisfies the business rule of being not null and values less than $20.00, additional style classes will be applied to it and are explained in detail in the upcoming video. 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

telerik_dec08_target_sky2
  Copyright 2008 by dotnetvideos.net   Terms Of Use | Privacy Statement