multi-step appointment add

4 posts, 0 answers
  1. Calvin
    Calvin avatar
    26 posts
    Member since:
    Mar 2011

    Posted 07 Apr 2011 Link to this post

    user tries to add an appointment as follows:
    based on where the user clicked on the scheduler it should deduce a default beginDateTime & room resource.
    User inputs text in one or two text boxes, clicks a search button, then is shown a single-select list of procedures that meet the description in the text boxes.  User then inputs patient name/ssn to get a list of patients to select one.

    when he selects a procedure from one grid/list/display and a patient from another grid/list/display each return a procedure & patient id that will be used on insert...

    The endDateTime should also be deduced by the procedureTime

    Are there any examples out there that are similar to the functionality that I'm attempting to implement in general?  I'm not sure even what to ask.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Apr 2011 Link to this post

    Hi Calvin,

    The Advanced Templates provide you with virtually unlimited customization capabilities. You can also consider this kb article -
    http://www.telerik.com/support/kb/aspnet-ajax/scheduler/related-load-on-demand-radcomboboxes-in-the-advanced-form-of-radscheduler.aspx

    If you prefer not to use the advanced templates you can still do some customization using the approach from this kb article -
    http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-access-controls-in-the-advanced-form.aspx

    I hope these resources help you get started.


    Best wishes,
    Peter
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Carlos
    Carlos avatar
    1 posts
    Member since:
    Nov 2011

    Posted 12 Nov 2011 Link to this post

    Hi..
    I have a problem with the telerik:RadScheduler control, I can`t add several Appointments using javascript, the code is 
    function Cargar_Appointment(result) {
                var pDatos = Pasar_Str_Array(result);
                if (pDatos != null) {
                    var scheduler = $find('<%=RadScheduler1.ClientID %>');
                    for (var x = 0; x < pDatos.length; x++) {                    
                        var pDato = pDatos[x];
                        var pFecha= new Date()
                        var newAppointment = new Telerik.Web.UI.SchedulerAppointment();
                        var startTime = pDato.FEC_HORAINICIAL;
                        var endTime = pDato.FEC_HORAFINAL;
                        newAppointment.set_start(startTime);
                        newAppointment.set_end(endTime);
                        newAppointment.set_subject(pDato.NOM_PACIENTE);
                        scheduler.insertAppointment(newAppointment)
                    }                
                }
            }

    but it add only one Appointment, how can i add several Appointments?
  4. Plamen
    Admin
    Plamen avatar
    3049 posts

    Posted 16 Nov 2011 Link to this post

    Hello Carlos,

    You can refer to this help article where the insertAppointment method is explained with an example.

    Hope this will help.

    Greetings,
    Plamen Zdravkov
    the Telerik team
    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