
Adding and Responding to Buttons to a GridView:
Step 1-Adding the Button Tutorial Web Pages
This step of the VIDEO TUTORIAL will demonstrate on how to add command buttons to data web controls such as FormView and GridView controls to web page CustomButtons.aspx in the newly created CustomButtons folder of Data Tutorial project. The command button in the FormView control will invoke a custom method that will discontinue products from a particular supplier. And the command buttons that are added to individual rows in the GridView control which displays the products belonging to a particular supplier would invoke a custom code that either increase or decrease a particular product’s UnitPrice by 10%. In order to accomplish this functionality in the upcoming steps of this tutorial a new folder titled CustomButtons is added to our project. Two new pages Default.aspx and CustomButtons.aspx are also added to this newly created folder. Finally, the web.sitemap file is updated t include this newly created folder and its new pages on site.master page’s left side navigation menu.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