Telerik blogs

Latest

  • 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...
    May 27, 2021 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}" ...
    May 27, 2021 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) ...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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> <%#...
    May 27, 2021 1 min read
  • 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...
    May 27, 2021 1 min read
  • 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....
    May 27, 2021 4 min read
  • Productivity

    Working with OpenAccess in Visual Studio 2010 Beta 2

    If you’re like me, the end of the year represents a time when most other projects are starting to wind down and you finally have a chance to get back to testing some of those “fun” Microsoft betas. Visual Studio 2010 Beta 2 is probably at the top of the stack. Microsoft’s next major update to the flagship IDE is getting very close to RTM, so now is a great time to start checking-out the tool.   What you should be pleased to know is that almost all of Telerik’s developer tools already offer a lot of support for VS 2010- even...
    May 27, 2021 3 min read
  • Productivity Testing

    Telerik WebUI Test Studio:The new RadInput translator

    When creating UI automated tests our main goal is to always simulate environment as close to the real one as possible. As you may all know simulating typing in an input has always been a pain when working with Selenium. In fact ‘pain’ is an understatement. There are scenarios which cannot be simulated at all with Selenium due to the fact that some client events of the control are not executed when they should. This is an indication that something is very wrong with the whole simulation as we are not getting the results which are observed when a ...
    May 27, 2021 2 min read