Telerik blogs

Latest

  • Release

    Using Shapefiles with RadMap

    Since the introduction of RadMap many customers have expressed a need to load shapefiles onto it.  We are adding native support for shapefiles in the Q3 Release, along with vastly improving the performance of information, and dynamic layers.  However, the beta is still a few weeks away, and I had a need for loading shapefiles this week, so I put this quick example together. How to do it Shapefile parsing in this demo is handled by the reader available in the ESRI Contrib project.  When we make the Q3 release you will be able to switch over to our reader by changing about...
    May 27, 2021 2 min read
  • Web ASP.NET MVC

    RadChart for Silverlight in ASP.NET MVC Application

    The purpose of this blog post is to show how to incorporate RadChart for Silverlight in an ASP.NET MVC application. Manol has already shown how to do this for ASP.NET and things are not much different for ASP.NET MVC. Let’s start with a simple Silverlight application with a single RadChart. For simplicity, I will populate it with a list of numbers, you can also use any of the techniques, supported by RadChart. The code is as simple as this XAML: <telerik:RadChart x:Name="RadChart1" /> And C#: RadChart1.ItemsSource = new double[] { 3d, 4d, 6d };   I will create two write-only properties of the Silverlight user control -- ShowItemLabels and SeriesType. They are marked with  ScriptableMemberAttribute so...
    May 27, 2021 2 min read
  • Release

    Telerik ASP.NET AJAX and MVC Q2 2010 service packs published

    We are happy to announce the availability of the second Q2 service pack of RadControls for ASP.NET AJAX and the first service pack of Telerik Extensions for ASP.NET MVC (Commercial version) for Q2 2010. These are expected maintenance releases for both product lines and, naturally, contain bug fixes and minor enhancements. The download packages are available from the Telerik client accounts here and here. For a complete list of what is included in the service packs please visit the release notes below: RadControls for ASP.NET AJAX release notes Telerik Extensions for ASP.NET MVC release notes The updated online examples and documentation can be found at: AJAX demos/documentation MVC demos/documentation For those...
    May 27, 2021 1 min read
  • Web ASP.NET MVC

    Using nested complex objects with ASP.NET MVC editor templates

    This may be common knowledge but I failed to quickly find the relevant info when it hit me. In short the default editor template generated by ASP.NET MVC 2 ignores any nested complex properties of your model. Here is a short example which demonstrates the case:   Model: public class Customer{ public int ID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Address Address { get; set; }} public class Address{ public string Street { get; set; } public string City { get; set; }} Controller: public class HomeController : Controller{ // // GET: /Home/ public ActionResult Index() { return View(new Customer { ...
    May 27, 2021 3 min read
  • Productivity Testing

    Silverlight Testing Best Practices

    Join our training and consulting partners Falafel Software for a FREE Webinar which will discuss and demonstrate best practices in testing Silverlight applications using Telerik's WebUI Test Studio QA Edition  Wednesday, September 29, 2010  9:00 AM - 10:30 AM PDT Register now Read more on Telerik Automated Testing Tools P.S. If you are in San Diego for the STARWEST Software Testing Conference don't forget to stop by our shiny booth! You can also join the virtual event today.
    May 27, 2021 1 min read
  • Productivity Debugging

    Isolating a Problem in a Sample Project

    If you have contacted Telerik support before, chances are that you have been asked to send us a sample project. The time invested in isolating a problem before opening a ticket is well paid off. Such tickets require less time for investigation and are usually closed with only one or two replies. In almost all cases the problem can be easily isolated by following a few simple guidelines. Here they are.
    December 16, 2021 3 min read
  • Productivity

    Building a Data Warehouse Part IV: Extraction, Transformation, and Load

    [repost from Stephen Forte's Blog] See also: Part I: When to build your data warehouse Part II: Building a new schema Part III: Location of your data warehouse In Part I we looked at the advantages of building a data warehouse independent of cubes/a BI system and in Part II we looked at how to architect a data warehouse’s table schema. In Part III, we looked at where to put the data warehouse tables. Today we are going to look at how to populate those tables and keep them in sync with your OLTP system. No matter where your data warehouse is located, the biggest challenge with a...
    May 27, 2021 5 min read
  • Web

    How to: Databind Telerik’s ToolBar

    In this post we will go through a scenario for databinding the RadToolBar control. Here is the end result: And the demo project with everything included: ToolBarMVVM.zip How to databind the ToolBar? The ToolBar is an ItemsControl and can be databound to any IEnumerable, but it is preferable to bind it to an observable collection since any changes in it will be reflected by the ToolBar. Since there is no ToolBarItem, because ToolBar may contain variety of other controls, we will use DataTemplateSelector class to help us determine the template for each item inside the ToolBar: public class ToolBarTemplateSelector : DataTemplateSelector     {         public override DataTemplate SelectTemplate(object item, DependencyObject container)         {             if (item...
    May 27, 2021 3 min read
  • Web

    How to: Telerik’s TabControl for Silverlight

    Let’s go through implementing several scenarios for the TabControl with quick, short explanations:    1. How to databind the TabControl?    2. How to enable drag-rearrange of items?    3. How to animate rearranging items?    4. How to add a Close Button to the TabItems using a Command?    5. How to animate content changes?    6. How to add a “New Tab” button when databound?    7. How to animate item add / removes? Here is the end result:    And the demo project with everything included:  tabcontrol-howto-demos.zip And of course the details, in short - How to databind the TabControl? The TabControl is a standard ItemsControl and can be databound to...
    May 27, 2021 9 min read
  • Web

    Some tricks with MEF up the sleeve of RadRichTextBox for Silverlight

    In Q2 we introduced the first official version of RadRichTextBox for Silverlight. In this blog post we want to share with you one of the main principles which we have followed while developing our brand new rich text editor for Silverlight - total extensibility. One of the key features which we have included is the ability to import/export from/to various document formats. For the first release we have already included some of the most widely used formats, such as .html/.docx/.xaml/.txt and in the next releases there are still more to come. As MEF is a wonderful technology, we have built...
    May 27, 2021 3 min read