Page 1 of 1

Advance Search Customization Help

Posted: Fri Jun 04, 2010 4:56 pm
by mayaco
Hello everyone,

Can anyone direct me to resources that can help me implement additional search criteria on the Advance Search page. The goal is to allow a visitor to search by weight range (low/high textboxes) and dimensions (length x width x height, with each dimension as a textbox).

Thanks,
Albert

Re: Advance Search Customization Help

Posted: Mon Jun 07, 2010 8:42 am
by s_ismail
Yes you can do it by writing a custom query like this one
e-g

Code: Select all

ProductCollection products=ProductDataSoruce.LoadForCriteria(String.Format("weight={0}",WeightTextBox.Text)
ProductList.DataSoruce=products;
ProductList.DataBind();