Telerik blogs

Latest

  • Desktop WinForms

    RadScheduler for WinForms data binding and occurrence exceptions

    The big [new] feature for Q3 2009 release in RadScheduler for WinForms has got to be the resource grouping functionality. There are, however, numerous other improvements that also deserve attention, such as data binding. Some of you may remember that in its first release the WinForms Scheduler had just basic support for binding to appointment data. Later we extended this functionality to support storing associations to resources in the data source. Well, the Q3 2009 release brings to RadScheduler support for binding to exceptions (through the SchedulerBindingDataSource) out-of-the-box. No, these are not exceptions as in “C# exceptions”...
    November 04, 2009
  • Web ASP.NET MVC

    Using T4MVC strongly-typed helpers with Telerik Extensions for ASP.NET MVC

        If you want fast and strongly-typed access to your controller actions, the T4 helpers by David Ebbo are a real treasure. Since we couldn’t provide an support for them out-of the box (after all, the helper classes are generated), here is a small extension method that allows their usage as shown in the screenshot above.   using System.Web.Mvc; using Telerik.Web.Mvc; using Telerik.Web.Mvc.Infrastructure; using Telerik.Web.Mvc.UI; public static class NavigationItemBuilderExtensions { public static NavigationItemBuilder<TItem, TBuilder> Action<TItem, TBuilder> (this NavigationItemBuilder<TItem, TBuilder> instance, ActionResult action) where TItem : NavigationItem<TItem> where TBuilder : NavigationItemBuilder<TItem , TBuilder>, IHideObjectMembers { ...
    November 03, 2009
  • Productivity

    Using WCF with SQL Azure and Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,d5967a42-df98-4c12-9604-d788928f4b41.aspx";digg_title = "Using WCF with SQL Azure and Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; Microsoft’s SQL Azure database offering has great 3rd party support. This week Telerik is releasing its Q3 version of its entire product line and the OpenAccess ORM will have more robust and native support for SQL Azure over what is currently available. I will expand on the example I did last week on connecting to SQL Azure by showing how to work with OpenAccess entities via WCF in a Silverlight application. The fist thing that you have to do is create a project for your data access layer and connect to SQL Azure. I started a new class library and used the Enable Project to use ORM wizard. This is where you...
    November 02, 2009
  • Productivity Testing

    Testing.StackExchange &ndash; The &ldquo;StackOverflow&rdquo; for Software Testers

    No doubt StackOverflow.com became a great resource for software developers. As a tester though, I’ve been looking for a good Q&A tester oriented alternative for a long time now. That’s why I really enjoyed the news about Testing.StackExchange site availability. It actually shares the same successful technology as Stack Overflow and has the potential to become as helpful as its brother is. Although it’s still new, I’ve already found some great experts in the software testing field not only signed-in but actively contributing. Credits go to Mr. Justin Hunter who announced the site several weeks ago. Thanks also to Alan ...
    November 02, 2009
  • Web ASP.NET AJAX

    New content providers for the RadEditor and RadFileExplorer controls

    The default content provider, that ships with the editor and file explorer controls will only work with files in the current web application. Naturally, there are scenarios where you wish to show files that are not physically in the application folder. The provider model allows you to do just that - you can either customize the existing provider (FileSystemContentProvider) or write a completely new one (FileBrowserContentProvider). We recently went through the forums and noted what custom providers are most frequently used with the RadEditor and RadFileExplorer controls. After that we created sample providers for those scenarios and posted them as support...
    October 30, 2009
  • Productivity

    Connecting to SQL Azure with Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,b4b60e8a-953b-4cc6-b517-2b30ca985a42.aspx";digg_title = "Connecting to SQL Azure with Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; With the official release of SQL Azure less than three weeks away, we are starting to see mainstream vendor support for SQL Azure. Telerik’s OpenAccess ORM is no exception. With the Q3 release of OpenAccess next week, OpenAccess will have full support for SQL Azure, going further than the basic support available today that I demonstrated on my blog last month. Full wizard support, forward and reverse mapping, and of course data services support via the Telerik Data Services Wizard. Let’s take a look at the basics here. Getting Started To get up and running and show the mapping and LINQ support, I will open Visual Studio 2008 (or 2010) and create a simple Console...
    October 30, 2009
  • Web

    Virtualized Telerik ComboBox for Silverlight

    In some scenarios it is required to load thousands of items in a ComboBox. Since by default the control creates RadComboBoxItem containers for each data item, it might take some time to open the drop-down. To resolve the problem you only need to change the RadComboBox ItemsPanel with VirtualizingStackPanel: <telerikInput:RadComboBox> <telerikInput:RadComboBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel /> </ItemsPanelTemplate> </telerikInput:RadComboBox.ItemsPanel> </telerikInput:RadComboBox> .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; }   thus making the drop-down to open instantly. Attached is a simple application that loads 1000 items in two RadComboBox controls, one virtualized, the other – not virtualized. The difference between the two controls is visible and becomes much larger if you create 100,000 items! VirtualizingComboBox I hope this helps....
    October 28, 2009
  • Web ASP.NET AJAX

    Choose your preferred data layout with RadListView for ASP.NET AJAX

    Did you hear the bells and whistles which accompanied the public Q3 2009 Beta release of RadControls for ASP.NET AJAX? If not, I think it is time to explore it and get acquainted with the new controls/features that we will be introducing for the official Q3 2009 release expected in the first week of November. One of the new controls that I encourage you to play with is RadListView for ASP.NET AJAX. If you allow me to quote one of our clients who already gave the Q3 2009 Beta a spin, it is "something like a rotator on steroids" which allows you...
    October 27, 2009
  • Desktop WPF

    How to: Validate data with SL/WPF RadGridView Part I – validating on property/cell level via Data Annotations

    With the next Q3 2009 official release we are introducing a significant improvement to the validation mechanism of the RadGridView control. If we compare the new validation to the previous versions we add another validation layer (Data Layer) and refactoring of the related events. In a series of blog posts I’ll try to clarify this mechanism with several small examples. I’ll start the series with validation for a single cell.   How to: Validate data on a cell (property) level with RadGridView for Silverlight and WPF   The cell validation occurs when a GridViewCell is edited and its new data is about to be committed. At...
    October 27, 2009
  • Release

    Telerik OpenAccess WCF Wizard October CTP

    digg_url = "http://www.stephenforte.net/PermaLink,guid,88d4e8cc-5c29-46de-9aa6-620462b5e20d.aspx";digg_title = "Telerik OpenAccess WCF Wizard October CTP";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; The Telerik WCF Wizard that I have shown on this blog several times has been updated and is available on Telerik Labs for download. Whenever Telerik puts something up on Telerik Labs we hope that some early adopters will try it out and give us feedback. We had an amazing demand for the Telerik OpenAccess WCF wizard and got tons of feedback. The most overwhelming piece of feedback is the name of the wizard: so as of this CTP, the wizard is now renamed the Telerik Data Services Wizard. We made some key enhancements in this build for usability. The big thing is that you no longer have to...
    October 27, 2009