Telerik blogs
  • Web

    Silverlight 4 memory leaks, Telerik controls and a solution

    As most of the people doing XAML development already know Silverlight 4 shipped at Mix 10 this year. This official release contained a lot of issues (memory leaks included) and it was a reasonable decision for Microsoft to postpone their GDR (general distribution release – the one that comes with Windows Update) version. A few weeks ago, Microsoft finally shipped the GDR. One of the things all developers hoped for was a resolution to the known memory leaks. The GDR did fix a lot of memory leaks, however, it did not address all of them and there are still some...
    September 27, 2010
  • Productivity

    Mocking SPContext.Current with JustMock

    Today, I happen to find an interesting post on mocking SharePoint context using TypeMock. Being a JustMocker, i thought rather to follow the footsteps and see if can do the same with JustMock. I am no SharePoint expert. Occasionally, I use a Windows 2003 VM with SharePoint server installed which gives me the required flavor of SharePoint for testing  SP capabilities of JM. Anyway, here is the original post that i am going to recycle using JustMock. http://meronymy.blogspot.com/2010/09/mocking-spcontextcurrent-with-typemock.html   The scenario here is pretty simple. There is a method that returns an URL from the current SPContext which i am going to mock in order...
    September 27, 2010
  • Productivity

    Building a Data Warehouse Part III: Location of your data warehouse

    [repost from Stephen Forte's Blog]   See also: Part I: When to build your data warehouse Part II: Building a new schema In Part I we looked at the advantages of building a data warehouse independent of cubes/a BI system and in Part II we looked at how to architect a data warehouse’s table schema. Today we are going to look at where to put your data warehouse tables. Let’s look at the location of your data warehouse. Usually as your system matures, it follows this pattern: Segmenting your data warehouse tables into their own isolated schema inside of the OLTP database Moving the data warehouse...
    September 27, 2010
  • Productivity

    Changing the Ports TeamPulse Uses

    By default TeamPulse makes use of ports 9897, 9898, and 9899 for access to the User Management, TeamPulse, and Integration sites and services. In some cases those ports may be in use by another application, or otherwise restricted within your environment, making it necessary for a change to these defaults. With TeamPulse SP1 it's a fairly simple task to change the ports via modifications to a couple of configuration files, which we will show below. We do recommend, however, that anyone uncomfortable with editing config files have their system administrator help to make these changes.   Part 1: IIS Configuration...
    September 25, 2010
  • Desktop WinForms

    RadGridView for WinForms – Getting Started with Virtual Mode

    Every once in a while, someone asks me "What’s the best way to bind 1,000,000+ records to RadGridView?” The first thought that pops into my head is, “Why in the world would you want to do that?” But – as there is always a reason for everything, good or bad, I typically go ahead and answer this question by suggesting the use of Virtual Mode. Virtual Mode allows you to implement your own data management operations for RadGridView. This means, instead of setting radGridView1.DataSource = bagillions of objects, you can intelligently manage how objects are loaded and cached ...
    September 24, 2010
  • Web

    Silverlight 4 memory leaks, Telerik controls and a solution

    As most of the people doing XAML development already know Silverlight 4 shipped at Mix 10 this year. This official release contained a lot of issues (memory leaks included) and it was a reasonable decision for Microsoft to postpone their GDR (general distribution release – the one that comes with Windows Update) version. A few weeks ago, Microsoft finally shipped the GDR. One of the things all developers hoped for was a resolution to the known memory leaks. The GDR did fix a lot of memory leaks, however, it did not address all of them and there are still some...
    September 27, 2010
  • Productivity

    Mocking SPContext.Current with JustMock

    Today, I happen to find an interesting post on mocking SharePoint context using TypeMock. Being a JustMocker, i thought rather to follow the footsteps and see if can do the same with JustMock. I am no SharePoint expert. Occasionally, I use a Windows 2003 VM with SharePoint server installed which gives me the required flavor of SharePoint for testing  SP capabilities of JM. Anyway, here is the original post that i am going to recycle using JustMock. http://meronymy.blogspot.com/2010/09/mocking-spcontextcurrent-with-typemock.html   The scenario here is pretty simple. There is a method that returns an URL from the current SPContext which i am going to mock in order...
    September 27, 2010
  • Productivity

    Building a Data Warehouse Part III: Location of your data warehouse

    [repost from Stephen Forte's Blog]   See also: Part I: When to build your data warehouse Part II: Building a new schema In Part I we looked at the advantages of building a data warehouse independent of cubes/a BI system and in Part II we looked at how to architect a data warehouse’s table schema. Today we are going to look at where to put your data warehouse tables. Let’s look at the location of your data warehouse. Usually as your system matures, it follows this pattern: Segmenting your data warehouse tables into their own isolated schema inside of the OLTP database Moving the data warehouse...
    September 27, 2010
  • Productivity

    Changing the Ports TeamPulse Uses

    By default TeamPulse makes use of ports 9897, 9898, and 9899 for access to the User Management, TeamPulse, and Integration sites and services. In some cases those ports may be in use by another application, or otherwise restricted within your environment, making it necessary for a change to these defaults. With TeamPulse SP1 it's a fairly simple task to change the ports via modifications to a couple of configuration files, which we will show below. We do recommend, however, that anyone uncomfortable with editing config files have their system administrator help to make these changes.   Part 1: IIS Configuration...
    September 25, 2010
  • Desktop WinForms

    RadGridView for WinForms – Getting Started with Virtual Mode

    Every once in a while, someone asks me "What’s the best way to bind 1,000,000+ records to RadGridView?” The first thought that pops into my head is, “Why in the world would you want to do that?” But – as there is always a reason for everything, good or bad, I typically go ahead and answer this question by suggesting the use of Virtual Mode. Virtual Mode allows you to implement your own data management operations for RadGridView. This means, instead of setting radGridView1.DataSource = bagillions of objects, you can intelligently manage how objects are loaded and cached ...
    September 24, 2010