The attachment contains two controls the
VendorssList control which renders all available vendors as hyperlinks to the product display page. The second control is
ProductsByVendors control responsible for listing products for a specific vendor. In order to install these controls extract the attachment and place these two files in your website's
ConLib folder. Now Place
VendorssList control on some of your store pages where you want your customer to select a vendor. Now place the
ProductsByVendor control on some store page where you want to list the products by vendor. The final job is to edit the
VendorsList file and adjust the hyperlink to meet your needs for example locate the following line of code
Code: Select all
<a href='ContactUs.aspx?VendorId=<%#Eval("VendorId") %>'>
and change
ContactUs.aspx part to the name of page on which you placed your
ProductsByVendor control. For example if the page name is
abc.aspx then the above code should be something like
Code: Select all
<a href='abc.aspx?VendorId=<%#Eval("VendorId") %>'>