Add Verification Field to Appointment

3 posts, 0 answers
  1. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 09 Apr 2013 Link to this post

    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. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 09 Apr 2013 Link to this post

    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)
  3. shahab
    shahab avatar
    58 posts
    Member since:
    Mar 2009

    Posted 09 Apr 2013 Link to this post

    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">
Back to Top