Man, I see a whole lot of rather complex server-side solutions for this, but
I don't see a necessity for a server-side solution based upon your
requirements at all. What you need is to create a drop-down list box that is
populated on the server side, but on the client side, each option simply has
a value of what page you want to redirect to, and a text of whatever you
want. Add a JavaScript "onchange" client-side event handler that reads
something like the following:
<select name="whatever" size="1"
onchange="document.href=this.options[this.selectedIndex].value">
...
Remember that anything you can do on the client side is going to save you a
heck of a lot of load on the server side.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Big things are made up of
lots of little things.
Steve said:
I'm looking for the command to direct a user to a new URL.
For example, in ASP, when you created a dropdown box, the
item selected could open a file - using the form
action="MyFile.asp"
How do you do a similar thing in ASP.NET??