Telerik blogs
  • Web

    Drag and drop items onto RadScheduler for Silverlight

    We all are aware that users tend to look for the easiest and most rational way to do something. That is why developers always strive to create their products' interface as intuitive as possible. Speaking in this context, dragging and dropping helps us improve user experience significantly and make end users happier. In this blog post I will explain how we can use RadDragAndDrop to enable users drag items from a certain control and drop them over RadScheduler, while notifying about that. Of course, the described scenario could be extended to act in many different scenarios. Let us say we will drag items from a listbox to...
  • Web jQuery

    Using jQuery to customize RadScheduler

    Telerik RadControls' for ASP.NET AJAX rendering is quite jQuery friendly. This is because almost all important html elements are tagged by a css class and therefore can be easily accessed using jQuery. In this blog post I have collected various cases from our forums and ticketing system on using jQuery to customize RadScheduler.  Special thanks to all customers or visitors who raised those questions. Q:  “I have a scheduler in timeline view showing six weeks of information.  Is it possible to change the header row background for the first two weeks?” A: The first step in finding a solution is to examine...
    July 14, 2009
  • Desktop WPF

    How to apply different templates to different appointments of Telerik Scheduler for WPF/Silverlight.

    In the upcoming Q2 release RadScheduler  will include a new property called AppointmentTemplateSelector. This property will be included in both  Silverlight and WPF versions of the control. Using it,  you will be able to easily apply different DataTemplate  to the appointments by any custom condition. All you need to do is to create a custom class inheriting from the  DataTemplateSelector class and override the SelectTemplate method.   For...
  • Web

    RadScheduler for Silverlight

    At the beginning of Q2 we started several major initiatives and the results of them will start to appear soon (with the forthcoming SP2 release and Q2 2009). One of these major tasks we are currently working on is the RadScheduler for Silverlight. We are already done with porting the major features from its WPF counterpart and soon we will launch an official Beta release for you to evaluate. The Beta release is scheduled for the end of this month.  The RadScheduler for Silverlight Beta will be shipped with the Office Black theme that is the default theme for the official...
  • Web ASP.NET AJAX

    Easy appointment styling with RadScheduler for ASP.NET AJAX

    Say you've assigned a resource to an appointment and you want to make it visually distinctive from the rest.  The resource can be anything - room, status, priority and so on. Until the Q1'09 release this required writing some code, but not any more. You can now define a set of resource filters that will apply a CSS class when a match is found. For example: <telerik:RadScheduler runat="server" ID="RadScheduler1" ...> <ResourceStyles> <telerik:ResourceStyleMapping Type="Calendar" Text="Development" ApplyCssClass="rsCategoryGreen" /> <telerik:ResourceStyleMapping Type="Calendar" Text="Marketing" ApplyCssClass="rsCategoryRed" /> <telerik:ResourceStyleMapping Type="Calendar" Text="Work" ApplyCssClass="rsCategoryOrange" /> </ResourceStyles></telerik:RadScheduler> .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; } You can match resource's type, key and/or text. All matching rules will be applied. For your convenience, we've included a number of predefined styles: rsCategoryBlue...
    April 08, 2009