mitesh114
asked on
Dropdownlist selecting an item in the list
Hi, I have a dropdown list. I am bounding this to a sharepoint list. All I want to do is be able to select one of the items in the dropdown and it to take me to the respective page. How do I achieve this?
Thanks
Thanks
ASKER
Yes, it's a list of web page names and I pass their URL's as well. so I want to pick up the URL and get it to send to the page the user selects in the dropdownlist.
private void comboBox1_SelectedIndexCha nged(objec t sender, EventArgs e)
{
Response.Redirect (comboBox1.SelectedText);
}
{
Response.Redirect (comboBox1.SelectedText);
}
ASKER
Thanks. What I need is to pass through a description to display in the dropdown like this:
dlQuickLinks.Items.Add(Des cription)
I want to pass through the URL from the list as the value or the unique identifier and then onchange do the redirect as you have showed above. how would I do this?
dlQuickLinks.Items.Add(Des
I want to pass through the URL from the list as the value or the unique identifier and then onchange do the redirect as you have showed above. how would I do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for your help guys
Look at the following event
private void comboBox1_SelectedIndexCha
{
System.Windows.Forms.Messa
}