Setting ListBox Selection mode - Code Behind

  • Thread starter Thread starter Stephen Adam
  • Start date Start date
S

Stephen Adam

Thgis one's got me stumped, have tried lots of methods to no avail.
Here's what i'm trying to do.

protected System.Web.UI.WebControls.ListBox lstFirstLevel;
lstFirstLevel.SelectionMode = ListSelectionMode.Single;

Does anyone know how to do this?

Thanks

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top