Telerik blogs

Latest

  • 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
  • Web ASP.NET AJAX

    IE7 Scrolling Is Slower If Hover Pseudo CSS Classes Are Used on the Page

    This has been something like a tale of the unexpected for me. A client recently reported a problem with scrolling being slow in IE when the mouse wheel is used. It took about two afternoons of testing different scenarios and head scratching, and this is where we got: it seems that if a :hover pseudo CSS class is used on the web page, scrolling in IE7 becomes slower, even if the CSS selector, which contains the :hover pseudo class does not select anything, i.e. the CSS rule is not relevant to any of the web page elements. The longer the page, the...
    November 26, 2008
  • Release

    ASP.NET Ajax Controls and jQuery - What about IntelliSense?

      UPDATE: Please see this blog post for updated instructions on enabling IntelliSense in the Q1 '09 version. We have recently announced that we are shipping jQuery with RadControls for ASP.NET Ajax. You can use this completely unmodified version of jQuery in your projects, as long as you have the RadControls assembly in your bin folder. This way you do not have to include jQuery and this can translate into 50kB less traffic. You can enable IntelliSense, just like with the standalone jQuery, in VS2008 with a few simple steps. 1. Install the Visual Studio 2008 IntelliSense patch, if you have not already done so. 2. Download...
    November 26, 2008
  • People

    Pictures from the Road

    Conference season has been in full swing for the past couple of months, and I must say I'm glad things are settling down so I can get back into my normal routine. All this traveling has been fun - especially the opportunities to meet Telerik customers and many great members of the .NET community - but I'm ready to see the end of airports and conference halls for a few months. Those of you who travel to all the conferences and speak for a living, I have a newfound respect for you! One of the cool things that I've brought home...
    November 26, 2008
  • Web ASP.NET AJAX

    RadTips, Episode 9: Spell-Checking with the RadSpell

    Welcome back to another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. It's been a while since my last RadTip, so I hope you enjoy the new content. 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. 1 - Client-Side Data Binding in the RadGrid 2 - Client-Side Paging in the RadGrid 3 - Client-Side Sorting in the RadGrid 4 - Client-Side Filtering in the RadGrid 5 - Getting Started with the RadScheduler 6 - Using the LinqDataSource in your RadGrid  7...
    November 25, 2008
  • Release

    Silverlight Samples source code available

    During the last couple of months we created several integration examples using RadControls for Silverlight. You can check all the samples online here: Consuming web services with Astoria Theme selector Job board example Car configurator Telerik Media Page Navigation - CV Viewer   The main idea behind creating so many integration examples is to help you see our controls in a real - world scenarios and to help you learn how to use the controls better. Today we published the full source code of the samples. It is available for download from your client.net...
    November 22, 2008
  • Web

    Conditional Formatting rows in RadGridView

    It can be useful at times to draw the users attention to a certain row or rows in a grid.  You might want to point out an account that is about to expire or show that an entry requires approval.  Normally, you would evaluate the data in the grid yourself to change the BackColor of a row.  The RadGridView offers you the ability to create a condition that will apply certain formatting for you.  I have created a simple class that will allow us to display a few laptop orders.      public class Laptop     {         public string Manufacturer { get; set; }         public double Price {...
    November 22, 2008
  • Productivity Reporting

    Using Report parameters UI to sort by column

    Our 'series' of tips and tricks for Telerik Reporting continues with this neat approach to sort the report by column. We would create a sample report using the AdventureWorks database that comes with our examples and use a single table with few columns that are easy to remember namely FirstName, LastName, Title .. you know the drill :) In order to use the built-in parameters area of the report, we would need to create a report Parameter that lists the column names. We can do that by creating a Business object that holds this for us:   public class ColumnSelector : DataTable     {        ...
    November 21, 2008