Last post Jan 08, 2010 10:35 AM by flostin
Jan 07, 2010 01:53 PM|flostin|LINK
I would like to modify the price selection in the Advanced Search.aspx page. I would like to add a text box for users to input 'Min Price' (as well as the default Max Price Text box) to create a price range between the min and max prices inserted, which
would then return the ads from the Db, within that range selected.
Has anyone attempted this and therefore able to offer help with the changes necessary in the affected code, functions etc?
Jan 07, 2010 10:16 PM|darkknight187|LINK
If I remember right you need to modify the storedprocedure GetAllAdsByQuery
And also App_Code/BLL/Ads.vb in the GetAllAdsByQuery, or something like that, Section.
And the of course, add the dropdown, or whatever to make the selection. ( "-1" is usually used for none selected.)
Jan 08, 2010 10:35 AM|flostin|LINK
Thanks for the info. I will have a go at it and let you know if I am successful.
Yes, your info put me on the right road. In addition I had to modify the following pages:-
Thanks again for your help and I will click on Mark As Answer.
I also owe you an apology for not getting back to you regarding another matter that you helped with a while ago. It was to do with incorrect date formatting for the entry date in the Admin/Ads.aspx page and your answer to the problem was correct.