I think the subject says it all...
I need to access the EditFormInsertItem from within the ObjectDataSource_Inserting command:
I'm sure it's easy, i just can't guess or find the syntax. Finding the editforminsertitem was no problem on the ObjectDataSource_Updating command.
Thanks!
I need to access the EditFormInsertItem from within the ObjectDataSource_Inserting command:
Private Sub ObjectDataSourceRenewal_Inserting(ByVal sender As Object, ByVal e As ObjectDataSourceMethodEventArgs) Handles ObjectDataSourceRenewal.Inserting Dim lEditFormInsertItem As GridEditFormInsertItem = ??? Dim lRadTextBoxGroupNumber As RadTextBox = lEditFormInsertItem.FindControl("RadTextBoxGroupNumber") Dim lRadDatePickerRenewalBegin As RadDatePicker = lEditFormInsertItem.FindControl("RadDatePickerRenewalBegin") Dim lRadDatePickerRenewalEnd As RadDatePicker = lEditFormInsertItem.FindControl("RadDatePickerRenewalEnd") Dim lRadComboBoxRenewalAccountManager As RadComboBox = lEditFormInsertItem.FindControl("RadComboBoxRenewalAccountManager") Dim lCheckBoxSuppressInGrid As CheckBox = lEditFormInsertItem.FindControl("CheckBoxSuppressInGrid") e.InputParameters("CaseNumber") = lRadTextBoxGroupNumber.Text.Trim e.InputParameters("RenewalBegin") = lRadDatePickerRenewalBegin.SelectedDate e.InputParameters("RenewalEnd") = lRadDatePickerRenewalEnd.SelectedDate e.InputParameters("RenewalAM") = lRadComboBoxRenewalAccountManager.SelectedValue e.InputParameters("SuppressAMInRenewal") = lCheckBoxSuppressInGrid.Checked End SubI'm sure it's easy, i just can't guess or find the syntax. Finding the editforminsertitem was no problem on the ObjectDataSource_Updating command.
Thanks!