Hi
I'm working with the scheduler and the advanced insert edit form.
I have the need to customize the Sql DataSource INSERT statement attached to my scheduler named RadScheduler1
First up I located the RadScheduler1_AppointmentInsert event.
In there I am able to set the data source InsertCommand like this.
etc..
And then execute
So far so good.
However, I found that I now need to manually read all of the Advanced Form input boxes to satisfy the insert statement. That is, they are not longer collected for me. A hassle but not a show stopper.
Problem is how to I read the inputs on the advanced form from the code behind?
For example. Using Firebug, I could see that the Start Date text box is named...
This object does not exist in the code behind. How do I read it?
I'm working with the scheduler and the advanced insert edit form.
I have the need to customize the Sql DataSource INSERT statement attached to my scheduler named RadScheduler1
First up I located the RadScheduler1_AppointmentInsert event.
In there I am able to set the data source InsertCommand like this.
SqlDataSource1.InsertCommand = @"INSERT INTO [Activity] (
etc..
And then execute
SqlDataSource1.Insert();
So far so good.
However, I found that I now need to manually read all of the Advanced Form input boxes to satisfy the insert statement. That is, they are not longer collected for me. A hassle but not a show stopper.
Problem is how to I read the inputs on the advanced form from the code behind?
For example. Using Firebug, I could see that the Start Date text box is named...
RadScheduler1_Form_StartDate_dateInput_text
This object does not exist in the code behind. How do I read it?