Telerik blogs

Latest

  • Productivity

    Using LinqPad with Telerik OpenAccess ORM

    LinqPad is a nice and popular query analyzer made to test LINQ queries: whether it is Linq To Sql, Linq to Objects or some other flavor, you will be able to play in a nice way with it. Sadly it does not support Telerik OpenAccess ORM out of the box. However we never said it is impossible – you just have to put some more pressure to it. So, the first step is of course to deploy Telerik OpenAccess ORM and LinqPad on your machine. Then do the following: a) Open LinqPad and press F4 to bring up the Advanced Query...
    July 23, 2009 2 min read
  • Productivity

    LINQ Tip of the Week: Optimizing query execution by using parameterized queries

    This is the first post of the series that have the goal to help Telerik OpenAccess ORM users enhance their experience in Linq against OpenAccess persistent objects. The two areas where performance enhancement can be taken advantage of are reusing a Linq query from the query cache and altering the query in a way where bigger portions of it are executed on the server. Today we will share with you a tip about the first one. When a Linq query is requested for execution, the query goes through a step of compilation – where the Linq query expression tree...
    July 21, 2009 2 min read
  • Productivity Testing

    Using the latest Web Testing Tools along with the latest RadControls

    Closely monitoring the customer feedback on our web testing tools, I noticed that various issues have actually been caused by outdated versions of the RadControls used along with the most recent testing tools versions. Please note that we highly recommend using the versions of RadControls and the testing tools from the exact same release. Let me explain why. I completely understand why customers do not always upgrade their applications with the latest RadControls (at least not immediately). “If it works, do not touch it” is a common principle. Of course that’s a matter of choice. However, as a ...
    July 20, 2009 3 min read
  • Productivity

    Tracing the SQL Statements Generated by Telerik OpenAccess ORM

    One of the main jobs that the ORM software should handle is communicating with the database server and generating SQL statements for reading and writing data. Undoubtedly, the performance of each application developed by using an ORM tool depends on the generated SQL. It is a responsibility of the ORM software to optimize each statement and avoid unnecessary queries. So, when you are facing a difficult choice of an O/R Mapper, it is always meaningful to see and compare how your data is treated by different products. However, not all database engines are distributed with additional profiling software for observing...
    July 17, 2009 3 min read
  • Release

    New DEMO page for Telerik Reporting

        For a while now, we've been thinking about trying to distinguish between the concept of a QSF (Quick Start Framework) and a Demo. As you know, we call our Demos a QSF, because people can use it to get started with our controls by simply reviewing the code of the example. However, this does not hold true for Telerik Reporting, where the code is auto-generated by the report designer, and thus it does not really help in learning the product. So we decided - why not show how the reports are made instead and leave the designer to take care of the...
    July 17, 2009 2 min read
  • Web

    Read only classes and fields

    If a table or a view is mapped where the user does not have the rights to change data, it is not helpful that the exception is thrown during commit. Sometimes it is hard to find the place where the write access is done. Those exceptions can now be enforced to be thrown during the write operation itself. The attribute can be set at class level but the wizard does not contain it. In the Q2 release you have to do it by hand, the Q2 Sp1 will contain the UI. The settings on class level are: "readwrite": The default, everything is...
    July 15, 2009 2 min read
  • Productivity Reporting

    Telerik Reporting in a Silverlight3 application

    *UPDATE: This technique is outdated. You can now use the native Telerik Silverlight Report Viewer as of Q3 2009. Please see the updated approach.** With the natural evolution of the Silverlight framework, people are demanding more and more from component vendors. One such request is to service the need to use Telerik Reporting in a Silverlight application. In this post you will see a solution that is very easy to use.   You can display the reports done with the Telerik Reporting product in your Silverlight application with just a single line of code. You need to create a Silverlight application with an ASP.NET site and add a...
    July 15, 2009 1 min read
  • Release

    Reporting Q2 2009 release

        Our main efforts for the Q2 2009 release were focused on the table item and as you can see from the release notes, we've added quite a few airs and graces here and there. Most noticeable of all being the two helper items - Table Wizard and CrossTab Wizard, print on every page ability for the ColumnGroup/RowGroup headers, GroupKeepTogether and various design time improvements - merge/split, keyboard navigation/selection and edit. Two improvements to the Report API - Processing Error Handling and the ability to hide the print progress dialog when printing a report programmatically For all of you Excel lovers out there - we've added standard percent, custom numeric...
    July 15, 2009 2 min read
  • Productivity

    Why OpenAccess does require transactions?

    OpenAccess relies on lazy loading and change tracking to make is as easy as possible for the user to work with persistent data. But we need a point in time where we can collect all changes in memory and execute the insert, update and delete statements to persist the changes. Typically this is the job of a transaction. The easiest way is to never let OpenAccess run without a started transaction. In this case you only have to call commit or...
    July 15, 2009 2 min read
  • Web ASP.NET AJAX

    Visual Style Builder for ASP.NET AJAX: A Heavy Update

    Too much stuff! Must click little link: to the Style Builder! What's new? RadMenu, RadComboBox and RadInput get their share of styling goodness updated to the new-and-shiny 2009.Q2 release (featuring the real mode of RadColorPicker) the sought-after "base color" in Colorization is available I hope that you will like the UI. We revised it a few times before settling for this. The position of the "Apply" button was way off into nowhere (and, honestly speaking, it still is in the advanced edit). A note about colorization While the 'colorize' mode is indeed more useful (and probably sufficient in most scenarios), the old 'shift colors' algorithm has its...
    July 14, 2009 2 min read