• 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 bugfixes 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...

  • 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
    {
    ...
  • “Please send us a sample project”
    If you have contacted Telerik’s support before, chances are that you have been asked to send us a sample project. In our daily routine, we try to avoid requesting such as much as possible, but there are cases in which we simply cannot move forward without a project that would allow us to reproduce a specific problem locally. We usually ask for isolated sample only after:
    • we have failed to reproduce the reported problem by following your instructions
    • we have failed to reproduce the reported problem by running the code provided
    • we have failed to reproduce the reported...
  • [repost from Stephen Forte's Blog]

    See also:

    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...

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

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

    imageOne 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...

  • Q2 2010 SP2 release focuses on "memory leaks" fixes. We are proud to announce that we managed to address most of the known issues, including the ones in our online demos

    For full details please check the Release Notes (Silverlight | WPF).

    To download the latest files log into your account and go to the Downloads section:

    RadControls for Silverlight

    RadControls for WPF 

    The updated online demos are available at:

    Silverlight | WPF demos.

    Some more details about the solution we implemented to address the known memory leak problems can be found in Vassil Terziev's blog post about  Silverlight 4 memory leaks, Telerik controls and a solution.

    We will greatly appreciate your feedback...

  • Similar to this post, I’ve made small example on how to load on demand RadGridView for Silverlight three level hierarchy using MVVM and OData service:
     image

    XAML

    <telerik:RadGridView ItemsSource="{Binding CustomersCollection}" AutoGenerateColumns="False">
        <telerik:RadGridView.Columns>
            …
    </telerik:RadGridView.Columns> <telerik:RadGridView.ChildTableDefinitions> <telerik:GridViewTableDefinition /> </telerik:RadGridView.ChildTableDefinitions> <telerik:RadGridView.HierarchyChildTemplate> <DataTemplate> <telerik:RadGridView ItemsSource="{Binding OrdersCollection}" AutoGenerateColumns="False"> ...
  • As most of the people doing XAML development already know Silverlight 4 shipped at Mix 10 this year. This official release contained a lot of issues (memory leaks included) and it was a reasonable decision for Microsoft to postpone their GDR (general distribution release – the one that comes with Windows Update) version. A few weeks ago, Microsoft finally shipped the GDR. One of the things all developers hoped for was a resolution to the known memory leaks. The GDR did fix a lot of memory leaks, however, it did not address all of them and there are still some...