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
 
Back
Top