This topic is locked

Advanced Search Lookup wizard

12/1/2005 4:56:45 AM
ASPRunnerPro General questions
chanis author

hi!

I have a dropdown list for categories, but the first line is blank. is it posible to ad som text to that line? ex.Show All.

Sergey Kornilov admin 12/1/2005

Search and edit/add pages use the same routine to display drop-down box. Your changes will be applied to all those pages.
Here is how you can do this. Open include/..._aspfunctions.asp file and find Function BuildSelectControl(strName, strValue).
Replace the following line:

Response.Write "<option value=""""></option>"


with this one:

Response.Write "<option value="""">Show all records</option>"