Master/Detail Filtering with a DropdownList:Step 1- Displaying Categories in a DropdownList

This step of the VIDEO TUTORIAL will introduce the user on how to create a DropdownList to display list of categories on a newly created FilterByDropDownList.aspx page in the Filtering folder of our project. The list that will be displayed in the dropdown list will be treated as records in a Master table. We achieve this by adding a droptdown list to the page and configuring it appropriately to an ObjectDataSource’s Select method of CategoriesBLL business object. The user will also get to know on how and where to display the values and names in a dropdown list. Finally, we will conclude this step by examining the FilterByDropDownList.aspx page at run time.For detailed information and source code for this step, please refer to the original article.

 
  View Video...

Master/Detail Filtering with a DropdownList:Step 1- Displaying Categories in a DropdownList

This step of the VIDEO TUTORIAL will demonstrate on how to add the detail portion of our project. When an end user selects a particular category in the dropdown list, the page will post back and display the corresponding products listed in that category in a GridView below the dropdown list on the same page. In order to accomplish this, a GridView data web control will be added below the dropdown list in the design mode and will be configured to use a ObjectDataSource based on ProductsBLL object. In configuring this ProductsDataSource, the viewer will be introduced on how to pass the selected category from the Dropdown List to the ProductsDataSource for the data display in the GridView with corresponding products. In addition, a demonstration of how to add a new list item to the Dropdown List will also be made.For detailed information and source code for this step, please refer to the original article.

 
  View Video...


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