views:

133

answers:

1

If I have a dropdownlist I know I can..

SelectedValue='<%#Bind("AgencyID")%>'

I want to do the same with a listbox but select multiple values. I was trying to use gridview.FindControl("listbox") but it always is null. Can someone guide me in the right direction? Thanks!

A: 

Problem solved... I just set the selected values when the listbox is being databound.

Mike