Telerik blogs

Latest

  • Productivity

    Customizing the behavior of persistent collections

    As most of you may already know, Telerik OpenAccessORM uses the TrackedList<T> to manage the collection fields of its persistent classes. The objects that belong to such collection are in a 1-n relation with the parent object that ‘owns’ the collection. Before getting to the point of this post, let me put few words about the behavior of the TrackedList<T>. When a new object is added to a TrackedList<T>(ex: order.OrderDetails.Add(someDetail) ),Telerik OpenAccess ORM persists that object to the database. The new object has a reference to the owner of the collection to which it was added.  When one removes an object from...
    September 11, 2009 2 min read
  • Productivity

    The Telerik CAB Enabling Kit and SCSF &ndash; Tutorial 1: Creating the Initial Project

    The Microsoft Composite UI Application Block (CAB) is a framework used for creating Model-View-Presenter style windows forms applications. The Smart Client Software Factory (SCSF) streamlines the process of creating these applications by providing us with a powerful base project and a set of menu options for quickly generating modules, views, and events in Visual Studio. Unfortunately, CAB only provides direct support for the common windows components included with Visual Studio. It is possible to develop your own support for third party components, but this can be a confusing and time consuming process. Lucky for us, Telerik noticed that there was ...
    September 11, 2009 5 min read
  • Productivity

    Changing the position of the report progress indicator

    By design the progress indicator of the web report viewer is centered in the viewable area. However in some cases you might want to change its position (e.g. ReportViewer longer than a viewable page). To achieve that we would get the progress area through a few lines of javascript and change its position according to our needs: <script type="text/javascript">                  var viewer = <%=ReportViewer1.ClientID%>;                 var waitDiv = document.getElementById("ReportViewer1_ReportArea_WaitControl");                 var tcell = waitDiv.getElementsByTagName("TD")[0];                 tcell.style.verticalAlign = "top";                 tcell.style.textAlign = "left";     </script>     A sample project showing this functionality is available in this code library article. For those of you who would also like to change the viewer's skin and progress indicator itself, please review Applying custom skin to the web report viewer code library. Hope this helps! Steve...
    September 09, 2009 1 min read
  • Productivity

    Telerik OpenAccess WCF Wizard: How-to Video #4- ATOMPub

    digg_url = "http://www.stephenforte.net/PermaLink,guid,71bd135f-4d0d-4d3f-ae61-9535eacb5a3e.aspx";digg_title = "Telerik OpenAccess WCF Wizard: How-to Video #4- ATOMPub";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; The following video shows how to use the Telerik OpenAccess WCF Wizard with ATOMPub services via the WCF REST Starter Kit. The video is done by .NET Ninja in training Peter Bahaa  and uses the same ATOMPub project I showed yesterday on my blog. Enjoy! Telerik OpenAccess WCF Wizard: How-to Video #4- AtomPub from Stephen Forte on Vimeo.
    September 09, 2009 1 min read
  • Productivity

    Using The WCF REST Starter Kit and ATOMPub with Telerik OpenAccess and the WCF Wizard

    digg_url = "http://www.stephenforte.net/PermaLink,guid,ac7b074a-4d76-4775-9132-bc566f2ae8ed.aspx";digg_title = "Using The WCF REST Starter Kit and ATOMPub with Telerik OpenAccess and the WCF Wizard";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; Feeds are part of what power Web 2.0. You can use RSS or ATOM to syndicate your content and allow readers to subscribe to your content. It is what powers Twitter, Facebook, as well as CNN and the New York Times. ATOM is a popular alternative to RSS. Just about every blog and “RSS” reader will support ATOM. When you are talking about ATOM, you actually are talking about two things: Atom Syndication Format, an XML language for feed definitions, and the Atom Publishing Protocol, a very simple HTTP protocol for creating and updating feed based content. The WCF REST Starter Kit allows you to create services that will produce...
    September 08, 2009 6 min read