Home  About Us   Contact  Search   Tell A Friend   Resources  dotnetVideos Store Register  Login    
  August 21, 2008  
Syncfusion_twr-1
MasterDetailAcrossTwoPages    

Master/Detail across Two Pages: Step 1- Adding SupplierListMaster.aspx and ProductsForSupplierDetails.aspx Pages to the Filtering Folder

This step of the VIDEO TUTORIAL will demonstrate on how to implement Master/Detail scenario across two pages instead of on the same page similar to the previous tutorial. Therefore, in this step of the video, two new pages SupplierListMaster.aspx and ProductsForSupplierDetails.aspx will be added to Filtering folder of our project and also corresponding entries will be made to the web.sitemap file to reflect these two new pages on the left side navigation bar at the run time.For detailed information and source code for this step, please refer to the original article.

 
  View Video...

Master/Detail across Two Pages: Step 2- Displaying the Supplier List in SupplierListMaster.aspx

This step of the VIDEO TUTORIAL (included in Step 1) will familiarize the viewer on how to create and display a Master page scenario with the help of a GridView data web control. A GridView control will display list of suppliers by utilizing an ObjectDataSource control. The ObjectDataSource control in turn will invoke the GetSuppliers() method to retrieve the list of suppliers from our database. In addition, the GridView control display will also be customized to include a hyperlink titled ‘View Products’. When the user clicks on the preceding hyperlink, a ‘SupplierID’ value will be passed to a separate detail page as a query string parameter for displaying the products related to that particular supplier.During this process, an explanation of DataNavigateUrlField and DataNavigateUrlFormat string will also be made to understand on how to pass parameters that is displayed within a GridView control as one of the columns.For detailed information and source code for this step, please refer to the original article.

 
  View Video...

Master/Detail across Two Pages: Step 2- Displaying the Supplier List in SupplierListMaster.aspx

This step of the VIDEO TUTORIAL will familiarize on how to retrieve a query string parameter value from SupplierListMaster.aspx and use it to display the corresponding products for a particular supplier in this page i.e., ProductsForSupplierDetails.aspx. This is accomplished by adding a new GridView and its corresponding ObjectDataSource controls to this web page. The ObjectDataSource control will be configured to retrieve the products related to a particular supplier by invoking the GetProductsbySupplierID method and passing the SupplierID parameter from the query string value. The ObjectDataSource in this detail page will be configured to seek the SupplierID value as query string parameter during ObjectDataSource configuration. Finally, a demonstration of Master/Detail scenario across two pages will be made at run time. In addition, a navigation link ‘Return to Suppliers’ will also be added to the detail page to return back to the master page when clicked.
For detailed information and source code for this step, please refer to the original article.

 
  View Video...

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