Telerik blogs

Latest

  • Release

    Telerik’s new LINQ implementation and MySQL Part II: OData Service and Silverlight App in 30 seconds

    About a month or so ago I showed on this blog how to connect to MySQL using Telerik's new LINQ implementation.  Today I will show you how to take it one step further and build an OData service automatically using the Telerik Data Services Wizard. Just for fun, we will also automatically add a full CRUD Silverlight application that consumes the OData service. We’ll do this all in 30 seconds! To get started, you have to download MySQL 5.x and the MySQL Workbench and also, as my colleague Alexander Filipov at Telerik reminded me, make sure you install the MySQL .NET Connector, which is available here.  I like to use...
    May 04, 2010
  • People

    ALT.NET Houston Open Spaces 2010

      So, over the weekend I attended ALT.NET Houston Open Spaces 2010. I wasn't too sure what to expect since I had never been to this type of event before, but I must say, I was pleasantly surprised. Starting on Friday, I attended a free half-day workshop about "Advanced WPF" hosted by Jonathan Birkholz. This five hour workshop went over everything from the basics of WPF, to dependency properties, to making "designable" applications. This workshop successfully cleared up many questions I had about building WPF applications. After the workshop, I unfortunately had to leave a little bit early, but ...
    May 04, 2010
  • Web ASP.NET AJAX

    Internet Explorer CSS limits

    We all know that Internet Explorer has some bugs. Some of them can even bring down the entire rendering of your page. Like for instance the forced Standards mode crash bug in IE8, which can make your page to disappear completely if you have a floated container with max-height and overflow: scroll. Two such bizarre bugs are these less known limitations in Internet Explorer - the 31 stylesheets per file and the 4095 selectors in a file. Let’s first discuss the more widely known of the two - 31 stylesheets per file If you are an ASP.NET developer and you develop...
  • Desktop WPF

    Using RadRibbonWindow with RadRibbonBar for WPF

    As you can expect, we have received a lot of great feedback from the community regarding RadRibbonBar.  One thing that people always asked about, however, was how to better integrate the RadRibbonBar into the actual window itself.  This way, rather than having the Window title and RadRibbonBar title both displaying, it would provide for a more seamless user experience.  Well, we listened. :) With our latest release, we have included the RadRibbonWindow to the RadControls for WPF library, allowing you to take the old window + RadRibbon combination and create something a little more visually compelling. First we want to add the...
  • Desktop WinForms

    Flexible data conversion with RadGridView for WinForms vNEXT

    One of the new features that will come with the next version of RadGridView is the new data conversion layer. In our daily work we have often got into troubles in visualizing and formatting concrete types as other types. Sometimes the data source is not compatible with the bind target. Hence, you need to create a facade that converts the data to desired type. Let’s say that you bind the grid to a source that is incompatible with the columns that you want to show, for example a GridViewCheckBoxColumn for char field instead of GridViewTextBoxColumn. How can you accomplish that? The new version of RadGridView will...
  • Web ASP.NET AJAX

    Localizing the RadEditor

    In my last post I went over how to create your own custom dictionary for RadSpell and since this control is fully integrated into our RadEditor control I wanted to discuss how to use your custom dictionary with the RadEditor, as well as how to localize the RadEditor itself. To start off we want to make sure that we can take use of our custom dictionary in the RadEditor. To do this we need to make sure that the “RadSpell” folder is located in the “App_Data” folder of our project. In the RadSpell folder we have to add all of our custom...
    April 30, 2010
  • Productivity

    Dynamic Sorting of Reporting Crosstabs Using a Custom Aggregate Function

    Customers often ask questions about how to sort the rows of a table or a crosstab by a specific column, when the column is chosen dynamically according to a certain criteria or specified directly by the end user. This can be trivially accomplished for a table, because the exact number and names of the individual columns is previously known and fixed. In most cases it is simply a matter of specifying an appropriate sorting expression to the table. On the other hand, sorting a crosstab by a specific column is not so simple to accomplish. The crosstab generates its rows and...
    April 29, 2010
  • Web

    Events in Task-It - Part 2

    Task-It Series This post is part of a series of blog posts and videos about the Task-It (task management) application that I have been building with Silverlight 4 and Telerik's RadControls for Silverlight 4. For a full index of these resources, please go here. One of the posts listed in the index provides a full source download for the application, and I will be referring to that source code in this post. Providing feedback to the user In my last post I talked about using events to pass information from the RadTreeView to the RadGridView in the Tasks page in Task-It. In this post I'll talk about events that are...
    April 29, 2010
  • Web ASP.NET AJAX

    Creating a Custom RadSpell Dictionary

    The RadSpell control for ASP.NET Ajax allows you to provide your users with spellchecking in your ASP.NET Ajax applications. The control can be used to spellcheck any server or client editable element which means that any textbox, div, or iframe can be spell checked. Out of the box only three languages are supported by RadSpell; English, French and German. However, we have an offering of several languages that can be downloaded, found in this forum thread, which can be used with RadSpell. These files may be incomplete since they are not officially supported by Telerik, but overall they do provide...
    April 29, 2010
  • Productivity

    Playing with aspx page cycle using JustMock

    In this post , I will cover a test code that will mock the various elements needed to complete a HTTP page request and  assert the expected page cycle steps. To begin, i have a simple enumeration that has my predefined page steps: public enum PageStep {     PreInit,     Load,     PreRender,     UnLoad } Once doing so, i  first created the page object [not mocking]. Page page = new Page(); Here, our target is to fire up the page process through ProcessRequest call, now if we take a look inside the method with reflector.net,  the call trace will go like : ProcessRequest –> ProcessRequestWithNoAssert –>...
    April 29, 2010