or
Try
Zlocaledit.SelectedValue = Zlocal.Text
Catch ex As Exception
Zlocaledit.SelectedIndex = Nothing
End Try
Try
ZServiceEdit.SelectedValue = Zservice.Text
Catch ex As Exception
ZServiceEdit.SelectedIndex = Nothing
End Try
Try
ZSocedit.SelectedValue = ZSoc.Text
Catch ex As Exception
ZSocedit.SelectedIndex = Nothing
End Try
Etc etc etc
Is there another way to do this ? (Without a Try-Catch)
Thanks all


| public class MyData |
| { |
| public Meeting Information { get; set; } |
| public Resource Resource { get; set; } |
| } |
I'm trying to bind a list of MyData in my RadScheduler and setting:
| agenda.DataKeyField = "Information.Id"; |
| agenda.DataStartField = "Information.StartDate"; |
Is it possible? I'm getting this error:
DataBinding: 'MyData' does not contain a property with the name 'Id'.
It seens that it is looking for the property Id in MyData Object, not in SubObject MyData.Information.
Tku
| protected void RadScheduler1_DataBound(object sender, EventArgs e) |
| { |
| RadScheduler1.MonthView.VisibleAppointmentsPerDay = 5; |
| } |