I am using a customized advanced insert/edit form in the Q3 2008 version of the Scheduler.
I am trying to set some of the default control properties for start date/time and end date/time by using the form created event and this vb code to set the value (in this example, of the EndDate):
I am trying to set some of the default control properties for start date/time and end date/time by using the form created event and this vb code to set the value (in this example, of the EndDate):
If e.Container.Mode = SchedulerFormMode.AdvancedInsert Then
Dim enddateinput As RadDatePicker = New RadDatePicker
enddateinput =
DirectCast(e.Container.FindControl("EndDate"), RadDatePicker)
enddateinput.SelectedDate =
"06/28/09"
end if
but I get a "object variable or with block variable not set"
What is the correct way to access the controls in the customized advanced input form?
steve m