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

Add more buttons\controls onto radscheduler appointment

11 Answers 253 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Avesh
Top achievements
Rank 2
Avesh asked on 06 Jan 2011, 11:50 AM
Hi
i'm using the radscheduler in order to create a schedule for ssrs and telerik reports. this will work together with my alerting engine.

currently my page allows the user to select their report and set the report parameters. thereafter they click on the radschedule to select their recurrence and save. This is where i need to add more buttons\ drop downs etc as i require more info on the scheduled report other than just the recurrence. i need to add the extra controls onto the radscheduler appointment popup.

much appreciated
Avesh

11 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Jan 2011, 01:42 PM
Hi Avesh,

You can use templates for this purpose. For customizing the advanced form, please see this demo:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx.

Feel free to contact us if you have further questions.


Greetings,
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
Tharindu
Top achievements
Rank 1
answered on 24 May 2012, 07:02 AM
I have same problem as before. but I want to make schedule appointments undeletable and unmovable. can we do this in Radscheduler?
0
Peter
Telerik team
answered on 24 May 2012, 09:43 PM
Hello Tharindu,

To prevent deleting of appointments, simply set AllowDelete="false" for RadScheduler.

To prevent moving the appointments, cancel the OnClientAppointmentMoveStart event:
<script type="text/javascript">
       function OnClientAppointmentMoveStart(sender, args) {
           args.set_cancel(true);
       }
   </script>
   <telerik:RadScheduler ID="RadScheduler1" runat="server" OnClientAppointmentMoveStart="OnClientAppointmentMoveStart">
   </telerik:RadScheduler>


All the best,
Peter
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.
0
Tharindu
Top achievements
Rank 1
answered on 25 May 2012, 04:18 AM
Thank you for the answer. I have another problem. can we use Microsoft exchange server as our  rad scheduler data source. is there any examples to do that.
0
Peter
Telerik team
answered on 28 May 2012, 10:48 AM
Hi Tharindu,

Yes, you can use RadScheduler's Exchange provider. Attached is a demo for reference and here is a forum thread in case you need to display calendars for multiple users - http://www.telerik.com/community/forums/aspnet-ajax/scheduler/exchange-and-radscheduler.aspx

Kind regards,
Peter
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.
0
Tharindu
Top achievements
Rank 1
answered on 01 Jun 2012, 06:54 AM
thanks for the answer.
can we keep a list of appointments on the client side that can use as the data source of the scheduler. data is retrieved to the list when page loading happens. I know that we can do every server side operations on the client side. but if i create a list and bind it to the scheduler  it gives a javascript error. all the changes are saved back to the database once a button click happens. can we do this using Telerik. need some help with an example.

this is what i have done

var gridData;
            var schedulerData;
            var tableview;
            var schedulerview;
 
            function pageLoad(sender, args) {
                // Load data from web service
                tableview = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
                schedulerview = $find("<%=RadScheduler1.ClientID %>");
                gridData = PageMethods.GetGridData();
                schedulerData = PageMethods.GetSchedulerData();
                tableView.set_dataSource(gridData);
                tableview.dataBind();
                schedulerview.set_dataSource(schedulerData);
                schedulerData.dataBind();
                update();
 
            }
 
            function update() {
                tableview.set_dataSource(gridData);
                tableview.dataBind();
                schedulerview.set_dataSource(schedulerData);
                schedulerData.dataBind();
 
            }
0
Peter
Telerik team
answered on 04 Jun 2012, 01:36 PM
Hi Tharindu,

This way of populating RadScheduler is not supported. You can consider the following alternatives:
Here is a nice blog post that shows how to create a Web Service from a JSON result (see the section on
JSON in ASP.NET Today - Using a Web Service)


Greetings,
Peter
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.
0
Tharindu
Top achievements
Rank 1
answered on 05 Jun 2012, 03:11 AM
If that so is there a way to keep changes in a list without updating to the DB. But the applied appointments should appear on the scheduler. also removed ones should not visible on scheduler. Once a button click happens all the changes should upload to the database. can we do that.
0
Peter
Telerik team
answered on 05 Jun 2012, 12:31 PM
Hi Tharindu,

Could you please explain why need this behavior. With Web Service binding all interactions with  RadScheduler happen on the client, so I can't really comprehend what benefit you could gain if you update the data base at once.

Regards,
Peter
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.
0
Tharindu
Top achievements
Rank 1
answered on 05 Jun 2012, 02:47 PM
My goals are below.
1. There is a list of appointments in a grid.
2. Rad scheduler  is the place we show allocated appointments.
3. User can drag and drop appointments from the grid to the scheduler.
4. He could unschedule them as well.
5. All the changes are uploaded to the exchange server at once.

To do that I will load appointments of the exchange and store in a list. user only use that when editing. If he confirms his changes final changes will upload to the exchange server from the list.(so that usage of network will minimize)
0
Peter
Telerik team
answered on 08 Jun 2012, 11:00 AM
Hello Tharindu,

Perhaps you can use Session. The Binding to Generic List utilizes a session to temporarily save the appointments.

Regards,
Peter
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
Avesh
Top achievements
Rank 2
Answers by
Peter
Telerik team
Tharindu
Top achievements
Rank 1
Share this question
or