I have a custom InlineInsertTemplate and a custom InlineEditTemplate that I am trying to use custom attributes with.
I have 2 additional fields that I am trying to include in the Appointment declared in code behind as
RadScheduler1.CustomAttributeNames = new string[] {"factorName", "Notes"};
These are Binded in the custom templates using the following syntax
Now I am trying to save the appointment by handling the AppointmentCommand event use the following syntax.
I have 2 additional fields that I am trying to include in the Appointment declared in code behind as
RadScheduler1.CustomAttributeNames = new string[] {"factorName", "Notes"};
These are Binded in the custom templates using the following syntax
<
asp:TextBox ID="EditTxtNotes" runat="server" TextMode="MultiLine" Rows="5" Width="100%" Text='<%# Bind("Notes") %>'></asp:TextBox>
Now I am trying to save the appointment by handling the AppointmentCommand event use the following syntax.
newProjection.Notes = e.Container.Appointment.Attributes[
"Notes"];
The attribute always returns an empty string. In fact the Attributes.Count of the Appointment is 0.
What am I doing incorrectly?