
Limiting Data Modification Functionality Based on the User:
Step 3- Displaying Only the Selected Supplier's Information
This step of the VIDEO TUTORIAL (included in Step 2) will extend the previous step 2 to display a single supplier’s information in the DetailsView control based on a particular supplier’s selection by the end user in the dropdown list. In order to display the supplier information, a new ObjectDataSource titled ‘SingleSupplierDataSource’ that is configured using ‘GetSupplierBySupplierId( )’ method of SuppliersBLL business object. Similarly, the UpdateSupplierAddress method is mapped to the Update tab of the ObjectDataSource configuration wizard. In addition, an event handler for the ‘Suppliers’ dropdown list titled ‘Suppliers_SelectedIndexChanged’ is customized to dynamically assign ObjectDataSources to bind with the DetailsView control based on the selection made by the end user in the dropdown list. Finally, this newly created functionality of the UserLevelAccess.aspx web page examined at runtime. 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