We are excited to announce the launch of Telerik Labs, your official gateway to the newest products and projects coming out of our product teams. There you will find valuable info on the latest innovations we are up to, read about new opportunities from emerging technologies, have access to interesting demos and samples as well as future additions to the company’s product portfolio. You will be able to download, explore and give feedback, helping us improve our products. The main idea of Telerik Labs is to add an additional layer of transparency and give you an inside look at our...
In the first part of this post we looked into providing data to the client using ADO.NET Data Services and Telerik OpenAccess. However it is very rare just to present data, as usually some processing is done by the application on the client side, data gets modified and it is pushed back to the server for persistence. With ADO.NET Data Services this is done by implementing the IUpdateable interface by the data context class used on the server. NOTE: We do not implement IExpandProvider at the moment. They say that a picture is worth a thousand words, so same is true for the...
Telerik Reporting Q2 2009 release (expected within a week) would come with new table/crosstab wizards. As the first one is pretty trivial i.e. you set datasource for the table and select which columns to show, we would skip detail introduction, but showing off with the crosstab wizard is something we would gladly do :) As you can see our designers have prepared some really nice images to spice it up. Now let's go to the Arrange Fields step, where we select the fields from our datasource and arrange them into Row/Column groups depending on what we're aiming for. If we skip adding fields to the...
When using an ORM one of the first questions users have is: But how is my data accessed? OpenAccess uses a technique called Enhancement to augment the compiler generated code. It works like as if the compiler had weaved in some additional code - much like the AOP people are doing it. The added code allows to provide the application with the needed management, lazy loading and change tracking capabilities. Because the code is compiled, there is no need to use reflection and therefore guarantees you a speedy access to your data. Your database data just comes into the objects as...
This is a refresh of an older blog that demonstrates Telerik OpenAccess ORM working together with Ado.net Data Services and SilverLight. This time we updated the client-side a bit, using our RadControls for SilverLight. Since some of the steps are basically the same as in the previous example don’t be surprised if you find something familiar. We are continuously investing into better LINQ support for our product, and this is just we need to plug into the Ado.net Data Services framework. Now let’s get to the application! Firstly we have to build our data model. To do so add a library project to the...
Hello, by means of introduction, my name is Alexander Filipov and I am working as a developer for the Telerik OpenAccess team. In my first post I would like to share some thoughts about using Telerik OpenAccess ORM in advanced n-tier web applications. Undoubtedly, the main goal in such architectures is to lose-couple the tiers from each other, so the code is modular and easier to maintain. Here comes the question how Telerik OpenAccess ORM fits into this scenario and which are the layers that it should be used in. The optimal approach is to have not...
RadFormDecorator might be one of the lesser-known controls in the RadControls for ASP.NET AJAX
suite, yet it is a control that can eliminate much of the hassle and
greatly reduce the time needed for completing the look and feel of a
Web solution. What the control does is decorate elements that are
usually rendered by the browser, such as buttons, checkboxes,
radiobuttons, fieldsets, etc. It just so happens that this product can be used for free - as it is one of the goodies that Telerik provides for the whole ASP.NET community out there! As
of Q2 2009, the RadFormDecorator will feature a new - faster and more
flexible- rendering, as...
Telerik OpenAccess ORM uses a set of templates to generate classes from a database schema. These templates are nothing special but class definitions with a lot of placeholders that are being replaced with real values to produce buildable source code. Using templates gives us the ability to fully customize our reverse mapped classes. I am going to demonstrate how we can edit the templates so the generated classes will implement the INotifyPropertyChanging and INotifyPropertyChanged interfaces. All class-generating templates take place in the “C:\Program Files\Telerik\OpenAccess ORM\sdk\IDEIntegrations\templates\PCClassGeneration” directory. Navigate to it and open the “default.vm” file under the “\cs\templates\classgen\class” subfolder. This...
Telerik OpenAccess ORM let you work your preferred way: either you start with your object model and Telerik OpenAccess ORM generates/maintains your database schema for you, or just start with your existing schema and let Telerik OpenAccess ORM reverse map it to a new object model. Telerik OpenAccess ORM provides support for both approaches for years and it will get even better by providing complex functionalities out of the box like Roundtrip Mapping (see below). Because we are getting requests for ‘Model First’ functionalities by our customers, and this is the way the upcoming version of Entity Framework names the Forward mapping...
RadMenu for Silverlight supports simple checkable items, but still does not support radio button items. This feature is scheduled for development and most probably will come with Q3 2009, but until then you have to code it by yourself. Fortunately, this is relatively easy with a proper ViewModel, that contains the radio-button logic: The CommandItem class contains the properties and the logic for a RadMenuItem. It implements INotifyPropertyChanged and its most important property is IsChecked: public bool IsChecked
{
get
{
return this.isChecked;
}
set
...