This is a migrated thread and some comments may be shown as answers.

Get value of description server-side

1 Answer 27 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 12 Jul 2013, 01:03 PM
Hi,

I have a scheduler bound to a sql server database. When double-clicking an appointment, and selecting edit only this occurrence, the description field is available and we enter text there. Server side we are trying both of these approaches but no values are present. Please let us know what we are doing wrong here.

 Protected Sub RadScheduler1_AppointmentUpdate(ByVal sender As Object, ByVal e As AppointmentUpdateEventArgs) Handles RadScheduler1.AppointmentUpdate

       
Dim ret As String = e.ModifiedAppointment.Description

    

            ret = e.Appointment.Attributes.Item("Description")

     

    End Sub

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 17 Jul 2013, 10:31 AM
Hi Karl,

I tested the issue that you describe with the XML Provider demo here but I could get the issue that you describe. By using the code below I can get the correct string for the description field in the insert/edit form:
protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
       {
           var description1 = e.ModifiedAppointment.Description;
//or
                var description = e.Appointment.Description;
       }

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or