0

This is probably easy to solve, but the following cannot be done:

protected void gSelectApplied(object sender, EventArgs e)
{
    ComboBox box = (ComboBox)sender; 
}

Because the ComboBox object is not present in the imported libraries. I went ahead an looked at the Microsoft documentation and I do not have access to the System.Windows.* libraries.

1
  • 1
    ComboBox doesn't exist in ASP.NET, only in WinForms. Commented Jun 15, 2012 at 18:12

1 Answer 1

4

You want the ASP.NET DropDownList.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.