Telerik blogs

Latest

  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • Release

    New RSS feeds available for Telerik Reporting

    Telerik is definitely unique in its transparency and openness when it comes to providing you with information on the work we do for you, our clients and users. So, here comes a new transparent channel to get the most recent news about Telerik Reporting directly in your RSS reader, without the need to visit our site. In addition to the already available Reporting Support Feed, which provides you with information on new Code Library projects and new Knowledge Base articles on RadControls for WinForms, we add the following feeds on new help articles, new demos, and new internal builds: Telerik Reporting Help RSS...
    December 17, 2009
  • Release

    Astoria V.Next Ships for .NET 3.5 SP1 -> Versioning Issue

    The Astoria (aka ADO.NET Data Services) team released an updated .NET 3.5 SP1 version of Astoria last night. This version of Astoria is an inplace update and will overwrite your current version of Astoria (System.Data.Services.*.dll). You can download it from the following locations. Windows 7 and Windows 2008 R2 http://www.microsoft.com/downloads/details.aspx?familyid=4B710B89-8576-46CF-A4BF-331A9306D555&displaylang=en All Previous version of Windows http://www.microsoft.com/downloads/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en The new version of Astoria has some very useful and powerful features. They include projections, data binding, row count, feed customization, server based paging and better BLOB support. There is one small issue, in order to support these new features you have to tell the framework you are using the new version of Astoria....
    December 17, 2009