Telerik blogs
  • Web

    Simplifying OpenAccess Scope in ASP.NET with HttpModule

    Whenever you start working with a modern ORM tool, one of the biggest challenges is figuring out how to manage the "scope" (or sometimes called "context" or "data context"). It is this transactional space where the ORM tool keeps track of changes being made to "persistent objects" in your application so that they can be saved to your "persistence layer" (usually a database) when you're ready to commit them. But figuring out when to create a scope, when to close it, and all the annoying problems that result from closing a scope too early can be very frustrating, and they...
    January 21, 2009
  • Web ASP.NET AJAX

    RadTips, Episode 11: Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. 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. Here is a list of the last few episodes... Using the LinqDataSource in your RadGrid for ASP.NET AJAX  Customizing Appointments with Resources in the RadScheduler for ASP.NET AJAX  Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX If you’re...
    January 21, 2009
  • Desktop WPF

    Displaying data quickly in the RadGridView for WPF

    The RadGridView for WPF uses the ItemsSource property for binding data.  ItemsSource is actually of type System.Object which not only allows you to bind to any data source that implements IEnumerable, but also the ADO.NET DataTable and DataSet.  In this post, I am going to demonstrate how you can quickly bind data to the RadGridView for WPF.  The task will be to build a car repair shop application which will display all the cars currently in the shop.  To get started we need to have some data, so we will use a simple class to store Car information.       public class Car       {           public string Make { get; set; }...
    January 20, 2009
  • Web

    BDD. Optimizing the stories.

    As I said in my previous post I preferred using tools (StoryQ and NetSpec) to using descriptive method names (those with long names containing lots of underscores). Well, I lied. At first I was convinced that the tools would be good enough for me but as it usually occurs the truth lies somewhere in between. Here's what I have in mind. Let's take as an example the famous sample showing how you could apply BDD when you want to develop the logic for transferring money from a savings account to a cash account. If you use StoryQ you could end up having something like this: [TestMethod]      public void TransferToCashAccount()      {   ...
    January 20, 2009
  • Release

    RadControls for ASP.NET AJAX are now compatible with DotNetNuke 5.0.0

    At the very end of 2008, the DotNetNuke Corporation released a new major version of their web application framework - DNN 5.0.0. Our modules and skinobject PAs were not compatible with the new release because of a change in DotNetNuke's handling of files and subfolders in the PA archive. With the new RadControls for ASP.NET AJAX service pack release (2008.3.1314), we updated our DNN resources to be compatible with the 5.0.0 installer. The new build of the RadControls modules and skinobjects for DotNetNuke can be used in version 5 and 4 as well. If you find an issue with the...
    January 20, 2009
  • Web

    Simplifying OpenAccess Scope in ASP.NET with HttpModule

    Whenever you start working with a modern ORM tool, one of the biggest challenges is figuring out how to manage the "scope" (or sometimes called "context" or "data context"). It is this transactional space where the ORM tool keeps track of changes being made to "persistent objects" in your application so that they can be saved to your "persistence layer" (usually a database) when you're ready to commit them. But figuring out when to create a scope, when to close it, and all the annoying problems that result from closing a scope too early can be very frustrating, and they...
    January 21, 2009
  • Web ASP.NET AJAX

    RadTips, Episode 11: Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. 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. Here is a list of the last few episodes... Using the LinqDataSource in your RadGrid for ASP.NET AJAX  Customizing Appointments with Resources in the RadScheduler for ASP.NET AJAX  Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX If you’re...
    January 21, 2009
  • Desktop WPF

    Displaying data quickly in the RadGridView for WPF

    The RadGridView for WPF uses the ItemsSource property for binding data.  ItemsSource is actually of type System.Object which not only allows you to bind to any data source that implements IEnumerable, but also the ADO.NET DataTable and DataSet.  In this post, I am going to demonstrate how you can quickly bind data to the RadGridView for WPF.  The task will be to build a car repair shop application which will display all the cars currently in the shop.  To get started we need to have some data, so we will use a simple class to store Car information.       public class Car       {           public string Make { get; set; }...
    January 20, 2009
  • Web

    BDD. Optimizing the stories.

    As I said in my previous post I preferred using tools (StoryQ and NetSpec) to using descriptive method names (those with long names containing lots of underscores). Well, I lied. At first I was convinced that the tools would be good enough for me but as it usually occurs the truth lies somewhere in between. Here's what I have in mind. Let's take as an example the famous sample showing how you could apply BDD when you want to develop the logic for transferring money from a savings account to a cash account. If you use StoryQ you could end up having something like this: [TestMethod]      public void TransferToCashAccount()      {   ...
    January 20, 2009
  • Release

    RadControls for ASP.NET AJAX are now compatible with DotNetNuke 5.0.0

    At the very end of 2008, the DotNetNuke Corporation released a new major version of their web application framework - DNN 5.0.0. Our modules and skinobject PAs were not compatible with the new release because of a change in DotNetNuke's handling of files and subfolders in the PA archive. With the new RadControls for ASP.NET AJAX service pack release (2008.3.1314), we updated our DNN resources to be compatible with the 5.0.0 installer. The new build of the RadControls modules and skinobjects for DotNetNuke can be used in version 5 and 4 as well. If you find an issue with the...
    January 20, 2009