Telerik blogs

Latest

  • Release

    New release of Telerik Extensions for ASP.NET MVC - now with CDN support

      With the release of RadControls for ASP.NET Ajax Q3 2009 SP1 we introduced built-in CDN support. It was very logical that Telerik Extensions for ASP.NET MVC receive some CDN love as well. Now this is a fact! Go download the current release from here (open source) or here (licensed).   Enabling global CDN support from web.config Add the following XML in your web.config: <configSections> <sectionGroup name="telerik"> <section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc"/> </sectionGroup></configSections><telerik> <webAssets useTelerikContentDeliveryNetwork="true" /></telerik>
    December 23, 2009 1 min read
  • Web

    Telerik Silverlight controls and SharePoint 2010

    We just uploaded a video produced by Sahil Malik, a Microsoft MVP and INETA speaker. This video shows how to use Telerik Silverlight controls in SharePoint 2010. The approach demonstrated in this video is Telerik Silverlight controls working with the client object model, in particular RadScheduler talking to the Calendar list.     For more details you can also check Sahil's blogpost at: Telerik Controls with SharePoint 2010 Client Object...
    December 22, 2009 1 min read
  • People

    2009 in review

    When you don't blog regularly, one of the biggest challenges is to find a good topic. With Twitter around, it becomes even more complicated for the people that are not regular bloggers. While I was waiting for something interesting to pop-up as a topic, 2009 almost passed and it gave me the needed opportunity. It feels as if I blinked and it's Christmas Season again.   Before I move on with my overview, on behalf of everyone at Telerik, I would like to wish you and your families a better 2010 – stay healthy, happy and lucky. Thank you for being a part of the...
    December 22, 2009 4 min read
  • Web

    How To: Custom scrolling with RadGridView for Silverlight and WCF RIA Services

    I’m pleased to announce that with our upcoming service pack (Q3 SP2 – middle of January 2010) you will be able to plug your own scrolling logic for RadGridView for Silverlight. I’ve made small demo on how to page DomainDataSource using the grid vertical scrollbar with minimal coding effort:   … <riaControls:DomainDataSource x:Name="DomainDataSource1" QueryName="GetOrder_Details"> <riaControls:DomainDataSource.DomainContext> <web:NorthwindDomainContext /> </riaControls:DomainDataSource.DomainContext></riaControls:DomainDataSource><telerikGridView:RadGridView telerik:Theming.Theme="Summer" scrolling:CustomScrolling.DomainDataSource="{Binding ElementName=DomainDataSource1}" ItemsSource="{Binding Data, ElementName=DomainDataSource1}" IsBusy="{Binding IsLoadingData, ElementName=DomainDataSource1}"...
    December 21, 2009 1 min read
  • Web

    Telerik RadMap for Silverlight – OpenStreetMap provider

    RadMap_OpenStreetMap.zip I am glad to announce that with the release of RadControls for Silverlight Q3 2009 Service Pack 1 RadMap has been updated to support OpenStreetMap provider. It is as easy as setting a single property: MyRadMap.Provider = new OpenStreetMapProvider();   Set the Center and Location properties and you are ready to go. Here is an example of RadMap with our Boston office address in the center: <map:RadMap x:Name="RadMap1" ZoomLevel="13">     <map:RadMap.Provider>         <mapNamespace:OpenStreetMapProvider />     </map:RadMap.Provider>     <map:RadMap.Center>             <mapNamespace:Location Latitude="42.397223" Longitude="-71.254685" />      </map:RadMap.Center> </map:RadMap>    And this is the result   You can find a link to a sample project in the beginning of this blog...
    December 19, 2009 1 min read
  • Web

    How To: Tooltip Row Details with RadGridView for Silverlight

    In my previous blog post I explained how to display RadGridView Row Details with a RadWindow. Several days after the post was published I received a suggestion to create another sample that will be showing Row Details in a mouse-over tooltip fashion. And guess what. Christmas came earlier this year. The full credit for coming up with this brilliant idea goes to my friend and colleague Kalin Milanov, our Front-end Developer. He decided to edit the GridViewRow ControlTemplate and removed the DetailsPresenter from the spot it usually occupies under the cells. He then placed it inside a ToolTip: 1: <ToolTipService.ToolTip> 2: <ToolTip Style="{StaticResource ToolTipStyle}" ...
    December 19, 2009 2 min read
  • Web ASP.NET MVC ASP.NET AJAX

    Using Telerik Extensions for ASP.NET MVC within an ASP.NET WebForms application

    If you really, really like the new and shiny extensions, you can use them in your WebForms application, too! Here are the needed steps: Add references to the following assemblies: System.Web.Abstractions System.Web.Routing System.Web.Mvc Telerik.Web.Mvc The first three are usually in the GAC. Copy the Content and Scripts folders from the extensions’ distribution into your project. The pages which will contain the MVC components will need to inherit System.Web.Mvc.ViewPage. Also, you should mock an MVC environment, like this: protected class ControllerMock : Controller { public ControllerMock(NameValueCollection queryString) { foreach (string param in queryString.Keys) ...
    December 18, 2009 1 min read
  • Web ASP.NET MVC

    Telerik Extensions for ASP.NET MVC now support ASP.NET MVC2 RC

    As many of you know yesterday ASP.NET MVC 2 RC was released. We did our best to make Telerik Extensions for ASP.NET MVC compatible with that release and I am glad to announce that you can now download the updated bits from here (open source) or here (licensed). Changes There are a few things that changed: We are now producing two dll files – one for ASP.NET MVC 1 and one for ASP.NET MVC 2. The files differ only in their version: For ASP.NET MVC 1 applications you should use Binaries\Mvc1\Telerik.Web.Mvc.dll. Its assembly version ends with 135 (which means MVC v1 .NET...
    December 18, 2009 1 min read
  • Release

    Astoria Data Services V2 Support in Telerik Data Services Wizard

    The Astoria (aka ADO.NET Data Services) team released an updated .NET 3.5 SP1 version of Astoria the other day. There are tons of great new features like projections and my favorite, an inline row count. As I said on my blog yesterday, you have to alert Astoria that you want to use the new V2 features, by default Astoria 2.0 runs in Astoria 1.0 mode. (For backwards compatibility.) Telerik has enhanced the Data Services Wizard to support Astoria 2.0 (officially the “Data Services update for .NET 3.5 SP1” but I digress….) Now if you have the updated Data Services DLLs on your machine, you will have the option to create a...
    December 18, 2009 1 min read
  • Web ASP.NET AJAX

    Integrated Description field in RadScheduler for ASP.NET AJAX

    .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; } One very common issue that we’ve addressed in the Q3 release is the lack of a description field for the appointments. Until now you had to customize the advanced template in order to get one, but not any more. How to enable the integrated description field: Data Source - set DataDescriptionField to the corresponding column in your database: <telerik:RadScheduler runat="server" ID="RadScheduler1" DataSourceID="AppointmentsDataSource" DataKeyField="ID" DataSubjectField="Subject" DataDescriptionField="Description" DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"> ... </telerik:RadScheduler> Provider – set EnableDescriptionField to “true” and persist the Appointment.Description value in your provider. <telerik:RadScheduler runat="server" ID="RadScheduler1" ProviderName="XmlSchedulerProvider" EnableDescriptionField="true" > ... </telerik:RadScheduler> This is all you need for editing and storing the description, but what about showing it? A simple appointment template will do: <AppointmentTemplate> <div> <%#...
    December 17, 2009 1 min read