Hi,
I am trying to populate a LightboxSelect from a model but am running into difficulties. What I currently have is
var test = new LightboxSelect("TrainId", "Trains");
test.AddOptions(db.Train);
sched.Lightbox.Items.Insert(1, test);
However the is populated by the correct number of entities in the db but they are all displayed as undefined
http://prntscr.com/61v6yj
Not sure how i get around this?
Thanks