I’m trying to add MultiSelect control in the lightbox and managed to load the options from the DB but the label of the control is showing as “undefined”. How can i display the value from the DB as label?
Dim dc = New EventCategoryDataContext()
Dim dataset As IEnumerable(Of MMCA_Library)
dataset = From ev In dc.MMCA_Libraries
Where ev.Type = "SEC" And ev.SubType = "QUE" Select ev
Dim accLvl = New LightboxMultiselect("Code1", "Access Level")
accLvl.AddOptions(dataset)
Scheduler.Lightbox.Add(accLvl)