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