sending extra info to provider Using WCF in RadScheculer

2 posts, 0 answers
  1. Kuldeep
    Kuldeep avatar
    25 posts
    Member since:
    May 2013

    Posted 20 May 2013 Link to this post

    Hi,
    This is possible using web services:
    //RadScheduler Client side events
     function OnClientAppointmentsPopulating(sender, eventArgs) {
                debugger;
                eventArgs.get_schedulerInfo().physicianID = document.getElementById('PhysicianID1').value;
                eventArgs.get_schedulerInfo().visitStatus = status;
            }

    in AppointmentSchedulerInfo class

        public int PhysicianID { get; set; }
        public string VisitStatus { get; set; }
        public AppointmentSchedulerInfo(ISchedulerInfo baseInfo, int physicianID,string visitStatus)
            : base(baseInfo)
        {
            PhysicianID = physicianID;
            VisitStatus = visitStatus;
        }
        public AppointmentSchedulerInfo()
        {
        }

    how to achieve this functionality using WCF  ??

    Please update me.

    Regards,
    Kuldeep
  2. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 22 May 2013 Link to this post

    Hi,

     You can refer to this Code Library where are provided all the steps to sent more information to the service. The steps are exactly the same in scenario with WCF service.

    Hope this will be helpful.

    Regards,
    Plamen
    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 their blog feed now.
Back to Top