I am using the default advanced form template option in Visual Studio 2012. I see it save to XML, but I need it to save to SQL "appointment" table. As well as add a new textbox "CarrierText" and RadComboBox "ddlVendors" that lists values from SQL table. I got this to work "showing the new controls" except how do I access the values in my new textbox and RadComboxbox when the user hits "save" in the .aspx page RadScheduler1_AppointmentInsert. NOTE: the textbox is directly added to the form advancedform.ascx and the RadComboBox is added to the ResourceControl.ascx
tried getting the Carrier text below but no object found.
Private Sub RadScheduler1_FormCreated(sender As Object, e As SchedulerFormCreatedEventArgs) Handles RadScheduler1.FormCreated
If e.Container.Mode = SchedulerFormMode.AdvancedEdit OrElse e.Container.Mode = SchedulerFormMode.AdvancedInsert Then
_carrier = DirectCast(e.Container.FindControl("CarrierText"), RadTextBox)
End If
End Sub
tried getting the Carrier text below but no object found.
Private Sub RadScheduler1_FormCreated(sender As Object, e As SchedulerFormCreatedEventArgs) Handles RadScheduler1.FormCreated
If e.Container.Mode = SchedulerFormMode.AdvancedEdit OrElse e.Container.Mode = SchedulerFormMode.AdvancedInsert Then
_carrier = DirectCast(e.Container.FindControl("CarrierText"), RadTextBox)
End If
End Sub