J
Jason Dean
Hello,
I'm using an ASP.NET dropdown list on my company's "Contact Us" page to
direct certain subjects of emails to different email addresses. The user
selects the subject from a dropdown list, then their email is routed to the
proper person. My code is like this:
<option value="">Select a Topic</option>
<option [email protected]>UserID/Password</option>
<option value="(e-mail address removed)">Technical Support</option>
<option value="(e-mail address removed)">Personal Training </option>
<option value="(e-mail address removed)">Become a Club</option>
<option value="(e-mail address removed)">Question for the
Faculty</option>
<option [email protected]>Systems</option>
As you can see the value on some of the options is the same. This is
because some subjects go to the same email addresses. My problem is that
when I try to retrieve the "SelectedItem.Text" in my code-behind, it grabs
the text of the first option in the list this that value. So if i selected
"Personal Training" in the example above, the SelectedItem.Text would be
"Technical Support". Is there anyway around this problem.
Thanks a bunch
-Jason
I'm using an ASP.NET dropdown list on my company's "Contact Us" page to
direct certain subjects of emails to different email addresses. The user
selects the subject from a dropdown list, then their email is routed to the
proper person. My code is like this:
<option value="">Select a Topic</option>
<option [email protected]>UserID/Password</option>
<option value="(e-mail address removed)">Technical Support</option>
<option value="(e-mail address removed)">Personal Training </option>
<option value="(e-mail address removed)">Become a Club</option>
<option value="(e-mail address removed)">Question for the
Faculty</option>
<option [email protected]>Systems</option>
As you can see the value on some of the options is the same. This is
because some subjects go to the same email addresses. My problem is that
when I try to retrieve the "SelectedItem.Text" in my code-behind, it grabs
the text of the first option in the list this that value. So if i selected
"Personal Training" in the example above, the SelectedItem.Text would be
"Technical Support". Is there anyway around this problem.
Thanks a bunch
-Jason