Telerik blogs

Latest

  • Desktop WPF

    RadChart for WPF - What's next?

    The feature list for the Q3 release of RadChart for WPF is already locked down, so we can start planning the releases after that. Customer feedback has always been paramount when making roadmap decisions in Telerik so here we are asking for your input. What would you like to see in the next versions of RadChart for WPF? Let me give you some hints if you are stuck: We could bring in more series types: -More rare financial charts like Kagi & Renko -Surface charts which represent real 3D data -Polar and Radar charts We could add more axis features: -Negative values -Strict mode (as in RadChart for...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    Don't store ASP.NET controls in Session, Application or Cache

    In some cases you may end up with the following exception when working with RadControls for ASP.NET Ajax: "Script controls may not be registered after PreRender." The explanation of this error is simple - some UI control implementing the IScriptControl interface (e.g. any control from the RadControls for ASP.NET Ajax suite) is stored in the Session, Application or Cache and then is added in some live controls collection. Here is an...
    May 27, 2021 2 min read
  • Web

    How To: Telerik RadGrid client-side caching with client-side binding to web services using LINQ to SQL

    My new example illustrates how to cache the grid data client-side based on the current grid state. To do this we need to build a state key using current page index, page size, sort expressions and filter expressions: function getCacheKey(tableView) {       return String.format("{0}{1}{2}{3}",            tableView.get_currentPageIndex(), tableView.get_pageSize(),                tableView.get_sortExpressions().toString(), tableView.get_filterExpressions().toDynamicLinq());    }    Every time when we get new data we can store the result in our client-side cache: function updateGrid(result) {        var stateKey = getCacheKey(tableView);        if (!cache[stateKey]) {            cache[stateKey] = result;        }          tableView.set_dataSource(result);        tableView.dataBind();    }   and when the next grid command occur we can call explicitly updateGrid() method if we have already saved result for the current grid...
    May 27, 2021 1 min read
  • Web

    Sitefinity ad

    Hello and thanks to everybody who gave their insightful comments in the first blog post by the Marketing Team.   We have decided that it will be a good idea to blog more often, to engage in a conversation, and generally to shed some light on our work. We are aware that what we do is not directly related to programming but we hope that you may be interested in what else is happening at Telerik, besides lines of code being entered in VisualStudio :-)   This post will continue where we left off last time. We would once more ask for your opinion on an ad we recently...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    RadTips, Episode 6: Using the LinqDataSource in your RadGrid for ASP.NET AJAX

    Welcome back to another episode of RadTips, a series of episodes 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 RadControl: 1 - Client-Side Data Binding in the RadGrid 2 - Client-Side Paging in the RadGrid 3 - Client-Side Sorting in the RadGrid 4 - Client-Side Filtering in the RadGrid 5 - Getting Started with the RadScheduler This Week In this episode, I'm going to show you how to use the LinqDataSource control to combine the power of .NET 3.5's Language Integrated Query (LINQ) with the...
    May 27, 2021 1 min read
  • People

    Join me this Weekend at the New England Code Camp

    That's right, I'm headed to Boston tomorrow for the 10th New England Code Camp. This will be a weekend of first for me. Not only is it my first time in Boston, but also my first talk as a Telerik evangelist. I'm pretty excited! So if you're in the area, drop on by and say hello. It's going to be a blast! There are plenty or great talks scheduled and still a few seats open for those of you who haven't signed up yet. Don't forget to check out my Silverlight talk on Sunday. I'm going to cover all the basics...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    Showing "tooltips" for the Nested RadGridView in RadMultiColumnComboBox

    I promised that I will continue the "tooltips" series by demonstrating a "HOWTO" approach with our RadMultiColumnComboBox component.   So what is the big difference with RadComboBox? What is really different is that RadGridView uses temporary elements to render grid cells, that are recycled every time you change something inside the screen estate of the RadGridView (say like scrolling). This means that setting the TooltipText properties of the cells in design time or through the API won't work. The solution That leaves us with the second approach only: to use the ToolTipTextNeeded event to get the job done.  Here is a small example...
    May 27, 2021 2 min read
  • Productivity

    Wrapping a .NET user control as an ActiveX

    Before even asking why one should do anything like this, let me clarify that this is a good technique to spice up a bit your VB6 application. Now I know this is not cutting edge but still it is important to a lot of people (as I found out already). So let’s start then... Create a new solution that includes a Windows Forms application (to test easily the functionality provided by the user control). Then add a library project that will wrap our user control. What is demonstrated by this example is a very simple example that includes a label, and a...
    May 27, 2021 4 min read
  • Release

    RadGauge for Silverlight - coming up with Q3

    There are lots of exciting things coming up with the official release of “RadControls for Silverlight”. One of them is the newly included RadGauge control in the suite. As it has already become a tradition – RadGauge for Silverlight will share the same code base as its WPF analogue. This will allow the users to use the same API with both the controls. With Telerik RadGauge for Silverlight you will be able to display and monitor live data using the rich set of  features the control provides. Furthermore, you will be able to completely customize the look of the control...
    May 27, 2021 1 min read
  • Productivity

    Visual Studio Tooltips unplugged: How to use multiple monitors with Visual Studio efficiently

    It is no urban legend that having more monitors results in greater productivity, and most of all tremendous increase in developer’s comfort. Even the Myth Busters (http://en.wikipedia.org/wiki/MythBusters) dudes know that. So imagine that your group’s budget allows installing a brand new (say 22 inches) TFT display as your second, or even better you already have the setup. What are your options with VS 2005/2008 for efficient management of the screen estate to bust productivity? Better code access You can vertically split the Visual Studio screen estate in two, and position the divider down the center of the two monitors. This can be done...
    May 27, 2021 1 min read