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

Is there an example of extending the Appointment class when using a webservice ?

6 Answers 123 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jesper Krejberg Petersen
Top achievements
Rank 2
Jesper Krejberg Petersen asked on 16 Jan 2011, 01:22 PM
I've been looking all over and can't seem to find "the way" to extend my appointments when using a webservice provider.

Thx
/Jesper 

6 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 17 Jan 2011, 10:39 AM
Hello Jesper,

Could you please be more specific on how do you want to "extend" the appointments? You can use custom attributes and resources to add additional information to the appointment.

Please take a look at this demo for an example of RadScheduler bound to Web Service.


Greetings,
Veronica Milcheva
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
Jesper Krejberg Petersen
Top achievements
Rank 2
answered on 17 Jan 2011, 02:22 PM
Hi.
To explain my situation: I'm converting a Silverlight solution to asp.net and from my experience with SL, I learned that I'd better do it right from the start :). This means that I whish to make a "best practices" solution.
My choice of interface is a Webservice (not WCF) with a Sql provider using stored procedures.
I'm not too happy about the string-only Attributes and Resources, so I've been digging :) 
I've come across the SchedulerInfo, AppointmentData and AppointFactory classes, that I find interesting, but can't fit in the big picture.
Also I had the idea that a custom Appointment class could help bringing type safety to my attributes. But when I try to cast the appointnments to my own class, I don't seem to get more than instances of the base Appointment class.
I wish I could give you a specific example of a specific problem, but my "investigations" are not more than shooting in all directions and running into new walls everywhere :)

The thing that got me started on this, is the blog about the improvements to the provider interface:
http://blogs.telerik.com/tsvetomirtsonev/posts/10-10-25/radscheduler_for_asp_net_ajax_-_improvements_to_provider_interface_in_q3_2010.aspx

It doesn't seem to be incoorporated in the demos yet.

0
Veronica
Telerik team
answered on 20 Jan 2011, 01:16 PM
Hi 6-shooter,

Could you please send me the link the demo you are trying to convert from Silverlight to ASP.NET and I'll do my best to create sample project.

Thank you!

Greetings,
Veronica Milcheva
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
Jesper Krejberg Petersen
Top achievements
Rank 2
answered on 20 Jan 2011, 02:02 PM
Hi Veronica.

Thanks for your answer.
Right now I'm on vacation and the connection is too slow to work with. 3 minutes to show anything.:)

The application I'm converting is not a sample but a running app. It will not be easy to extract a sample from it. It's hosted in a DNN app and taking advantage of some of DNN's functions and the membership provider.
As I'm starting from scratch in asp.net ajax, I try to select the optimal infrastructure from the start and I can't find any examples that cover all the newest improvements to the Scheduler interface.

As I said, I'm on vacation right now, and with this connection I can't hardly write mails, so can I get back to you after january 29 ?

Cheers /Jesper
0
Accepted
Veronica
Telerik team
answered on 26 Jan 2011, 09:37 AM
Hello 6-shooter,

Yes, I'll wait for you to get back after 29 january.

Kind regards,
Veronica Milcheva
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
Jesper Krejberg Petersen
Top achievements
Rank 2
answered on 14 Feb 2011, 10:53 AM
Hi Veronica.

I've found the standard way of defining and transporting resources to be sufficient :)

Thank you.
/Jesper
Tags
Scheduler
Asked by
Jesper Krejberg Petersen
Top achievements
Rank 2
Answers by
Veronica
Telerik team
Jesper Krejberg Petersen
Top achievements
Rank 2
Share this question
or