Telerik blogs

Latest

  • 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