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

Page 2 of 3First   Previous   1  [2]  3  Next   Last   

Adding and Responding to Buttons to a GridView: Step 4: Creating DAL and BLL Methods to Discontinue All Products for a Supplier

This step of the VIDEO TUTORIAL will demonstrate on how to create a custom method titled ‘DiscontinueAllProductsForSuppliler’ to the Products Table Adapter (DAL) of the Northwind.xsd typed dataset as well as ProducstBLL business logic layer. This newly created custom method is invoked from a custom button that is added to the FormView control listing a supplier on the CustomButtons.aspx web page. For detailed information and source code for this step, please refer to the original article.

  View Video...

Adding and Responding to Buttons to a GridView: Step 5: Adding a “Discontinue All Products” Button to the FormView

This step of the VIDEO TUTORIAL (included in Step 4) will show case the addition of a command button titled ‘Discontinue All Products’ is added to the ItemTemplate of the FormView control with its ‘OnClick’ event assigned to an alert message. And a custom event handler of the FormView’s ItemCommand handler will trigger the command button’s click event to invoke the ‘DiscontinueAllProductsForSupplier’ method from the ProductsBLL after alerting the end user with a confirming message. A run time demonstration of the newly created functionality of discontinuing the products belong to particular supplier is shown when the end user clicks on the command button in the FormView control on the CustomButtons.aspx web page. For detailed information and source code for this step, please refer to the original article.

  View Video...

Adding and Responding to Buttons to a GridView: Step 6: Creating an UpdateProduct Overload in the Business Logic Layer for Adjusting a Product’s Price

This step of the VIDEO TUTORIAL will focus on how to create a new over load of the ‘UpdateProduct’ method to change the UnitPrice of a product in the GridView control on the CustomButtons.aspx web page. This new overload of the ‘UpdateProduct’ method takes two parameters, one a decimal (unitPriceAdjustmentPercentage) and the other the integer (ProductID). For detailed information and source code for this step, please refer to the original article.

  View Video...

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