Telerik blogs

Latest

  • Desktop WPF

    Custom format strings and DateTime support in RadChart for WPF

    One of the most common requests we got after the Q3 2008 release was to improve our label customization. Well I believe many of you will be pleasantly surprised to learn that we will most certainly deliver on those expectations for the Q3 SP1 release and then some! This news is really twofold. The first part is the support for custom format strings in our axis and series items labels. What this means is that with the SP1 release of RadChart for WPF you will be able to apply all .NET supported standard numeric format strings. The easiest way to enable...
    December 04, 2008
  • Web

    Auto-complete ComboBox with WCF Service and RadControls for Silverlight

    Sometimes we need to load very large amount of items in a ComboBox and let the user select one of them. Usually in those cases the ComboBox allows typing in order to auto-select the items, that contain the text in the control. Such scenarios are possible with RadComboBox for Silverlight and now I will show you a simple application, that demonstrates what I think is a better practice for the implementation. We want to put all words from the English dictionary of RadSpell for ASP.NET in a RadComboBox for Silverlight and allow the user to select one of them, that will...
    December 04, 2008
  • Release

    New feature: ASP.NET AJAX grid filter template

    With the next Telerik.Web.UI service pack you will be able to specify your own template for filtering in grid template columns: and using the grid powerful client-side API you can tell the grid to filter specified data source according to selected conditions: The result: Easy and powerful filtering customization in less than a minute! I've used EntityDataSource for my demo connected to Northwind Customers table (and distinct Country from Customers for the combo) and all operations are applied directly to the data-base server without need to write any code: [Live | Download]...
    December 03, 2008
  • Web ASP.NET AJAX

    RadTips, Episode 10: Add an 'ExportToPdf' Button to the RadEditor for ASP.NET AJAX

    Welcome back to another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls for ASP.NET AJAX. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Getting Started with the RadScheduler for ASP.NET AJAX Using the LinqDataSource in your RadGrid for ASP.NET AJAX  Customizing Appointments with Resources in the RadScheduler for ASP.NET AJAX  Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX This Tip In this episode...
    December 03, 2008
  • Web

    Easily implement AutoComplete in your application

    It is considered a good interface design practice to make it easy for the user to provide input.  One of the ways to do this is to anticipate what the user is trying to enter and provide them with options or complete the entry for them.  For example, if I type in a popular browser a web address containing the letters "tel" I will see several options made available to me, as shown below. The key is to have the ability to make a reasonable guess at what the user is trying to input.  This is particularly helpful for values that...
    December 02, 2008
  • Desktop WPF

    WPF RadChart 3D Labels and Formatting

    Today I decided to break the lengthy silence on my blog by writing about two of the features that will be included in the Q3 SP1 (mid-December), namely labels in 3D and labels formatting. Here are a couple of screenshots:   As the screenshots clearly show, the labels are simple 2D controls instead of 3D objects. As I wrote in an earlier blog post, that guarantees the labels will be readable at all times, and not hidden by other 3D objects (always on top of the Viewport). If you are interested in the implementation details, you can refer to the aforementioned blog...
    December 02, 2008
  • Web ASP.NET AJAX

    Tip of the day - Modal Dialogs

    When we have a running application and we want to show a modal dialog window what we generally do is more or less the following: var window = new MyDialogWindow(); window.ShowDialog();   Doing that works great - the dialog window shows and is modal. It has just one tiny defect - if you switch from the running application to another one (i. e. using Alt + Tab) and then come back to the running app the modal dialog window is not showing and the app is inactive. The solution - just assign the parent window to the Owner property of your modal dialog window :  var window = new MyDialogWindow(); window.Owner = this;  window.ShowDialog(); ...
    December 02, 2008
  • Web

    Codeless client-side data-binding to ADO.NET DataService

    I'm happy to announce that with our next service pack you will be able to bind the grid completely codeless to ADO.NET DataService. With this great new feature you will get full REST support for paging, sorting and filtering without writing any code: pure JSON response: and all operations are applied directly to the data-base server: [Live | Download]...
    November 28, 2008
  • Productivity Reporting

    Hide duplicates in a column

    In some cases you might want to hide duplicates in a single "column" - for example if you group by a field, it would be nice to present the data in a more clean way.
    November 27, 2008
  • Web

    Can your grid control do this? Part II

    .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; } In my previous post I told you about the new interesting feature in RadGridView for WinForms - Row Layout customization. I also promised to provide some additional details about this feature, so here they are. The view definition in RadGridView not only changes the row layout, it specifies the behavior and the appearance of the grid. All view definitions implement the IViewDefinition interface and you could create your own definitions, if you wish. To change the default view definition in RadGridView you need just to set the ViewDefinition property: this.radGridView1.ViewDefinition = myViewDefinition; We have included three different view definitions in our Q3 release. They are: TableViewDefinition,...
    November 27, 2008