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

multi-step appointment add

3 Answers 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Calvin
Top achievements
Rank 1
Calvin asked on 07 Apr 2011, 05:12 PM
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.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Apr 2011, 11:41 AM
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.

0
Carlos
Top achievements
Rank 1
answered on 12 Nov 2011, 11:15 PM
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?
0
Plamen
Telerik team
answered on 16 Nov 2011, 02:29 PM
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
Tags
Scheduler
Asked by
Calvin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Carlos
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or