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

Add Verification Field to Appointment

2 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
shahab
Top achievements
Rank 1
shahab asked on 09 Apr 2013, 05:43 AM
Dear dude
I want to add verification code to appointment when user want to insert new appointment get verification code and in edit for it should enter verification to allow editing. but when I add verification field to appointment table I got an error:
DataBinding: 'Telerik.Web.UI.Appointment' does not contain a property with the name 'Verification'.

2 Answers, 1 is accepted

Sort by
0
shahab
Top achievements
Rank 1
answered on 09 Apr 2013, 06:03 AM
I found an answer to add verificatio field:
            CustomAttributeNames="Verification"
            EnableCustomAttributeEditing="True"
But now I want to get Verification code from user before deleting appointment. I used RadWindows to get verification code. But I don not know how to compared entered verification code by user and stored verification code (in DataBase)
0
shahab
Top achievements
Rank 1
answered on 09 Apr 2013, 11:43 AM
function OpenWnd(sender, eventArgs) {
          var Appointment = eventArgs.get_appointment();
          var verification = Appointment._attributes.getAttribute("Verification");
          ???
          eventArgs.set_cancel(true);
      }

I found this solution but I do not know how get verification from user to compare it
<telerik:RadScheduler runat="server" ID="PatientScheduler" Width="100%" Height="100%"
           CustomAttributeNames="Verification"
           EnableCustomAttributeEditing="True"
           OnClientAppointmentDeleting="OpenWnd">
Tags
Scheduler
Asked by
shahab
Top achievements
Rank 1
Answers by
shahab
Top achievements
Rank 1
Share this question
or