Telerik blogs
  • 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
  • Desktop WPF

    RadScheduler for WPF - Out of the box

    If you have a need for calendaring capabilities in your WPF application, look no further.  The RadScheduler brings you a number of capabilities with minimal effort.  I am going to discuss some of the core features that you get with the RadScheduler for WPF without implementing any code.  I thought a quick preview of what the control offers out of the box, might give you some ideas of how you leverage it in your applications.  To get started create a new WPF application and drop a RadScheduler onto the Window. <Window x:Class="WPFRadSchedule.Window1"      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"      Title="Window1" Height="600" Width="800           " xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">       <Grid>          <telerik:RadScheduler Margin="12" Name="radScheduler1" />      </Grid>  </Window>   The XAML above is a preview of what I...
    February 05, 2009