This topic is locked

Advance Search Drop Down

9/12/2005 12:27:36 PM
ASPRunnerPro General questions
D
dpkona author

Sergey:

I have used advanced search to limit the users to picking their own departments. However, on the drop down menu there is a blank space before the first department is actually shown. I sure it is something easy, but I don't want that space to be the first thing a user sees. I would rather the first department for that person show up.
How can I edit the search.asp page to accomplish this?
David

D
dpkona author 9/14/2005

Can anyone help with this?

Sergey Kornilov admin 9/15/2005

David,
you can modify include/...aspfuctions.asp for this purpose.
Find function BuildSelectControl and remove the following line:

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

D
dpkona author 9/15/2005

Thanks - I just commented the line out - - it worked.