Telerik blogs
  • Web ASP.NET AJAX

    Performance Tip: Use Web Service Load On Demand with RadTreeView

    A common scenario for a treeview control is to populate it with lots of nodes. Adding a few thousand nodes initially is not a good idea though. Think of all the rendered HTML. Even rendering a few thousand strings (without any extra markup) will result in a few megabytes of HTML. That's where load on demand comes into play. RadTreeView supports three different types of load on demand: web service, server side callback and server side postback. From those the server-side postback mode is least efficient in terms of performance because it postbacks and updates the whole page. Here is how...
    August 06, 2008
  • Web

    How To: Color Picker done with few slider controls

    This tutorial demonstrates how to create a color picker using nothing more than few elements and Telerik's slider control for Silverlight. To start off, create a new Silverlight project. It is up to you to decide whether you want a web page in the project or not. This particular example does not to include a web page, but a simple html page that is generated dynamically. Once you have the project created go ahead and add a reference to the Telerik.Windows.Controls.dll. At the top of your main UserControl, add a namespace in order to use the dll. Check if everything...
    August 06, 2008
  • Web ASP.NET AJAX

    RadTips, Episode 2: Client-Side Paging in the RadGrid

    Here for your viewing pleasure is the second episode in my new series, RadTips. In this episode I show you how to implement paging in the RadGrid when binding data to the grid on the client. This is an important feature to know because it must be implemented on the client if that is where databinding occurs. As always, your comments are welcome. Please bear with me as I get the hang of screencasting, but don't hesitate to offer your feedback if you'd like to suggest how I can improve the shows. Also, if the size of the embedded video is...
    August 06, 2008
  • Desktop WPF

    How to Databind RadTreeView in WPF

    Download the source code of the samples here. This is the first part of a series of posts demonstrating common scenarios of RadTreeView control. I’ll be covering both WPF and Silverlight. One of the most common scenarios for our customers is populating the RadTreeView with data. In WPF data binding is one of the most powerful concepts. Data binding the Treeview can be done in several ways. In this post I’ll explain the most common scenarios – binding to an XML file, binding to a Collection, and a more advanced sample – data binding using grouping and CollectionViewSource. XML Define the XML source Define...
    August 05, 2008
  • Desktop WPF

    New gaud for the 3-Dimensional WPF RadChart

    Last time I wrote about Labels in 3D, but it turned out to be more of a Step-By-Step How-To. This time the blog will be short and up to the point - our RadChart for WPF has a new shiny primitive, which is ... ta-daaaaa ... a 3-Dimensional Rounded Bar/Box.   Well, we are not the first to introduce such a primitive. It is, of course, easy to create rounded box model in 3D Studio Max, Maya or any other 3D-modeling tool (as other component vendors did for you), but that approach does not allow easy customization - each time you...
    August 05, 2008
  • Web ASP.NET AJAX

    Performance Tip: Use Web Service Load On Demand with RadTreeView

    A common scenario for a treeview control is to populate it with lots of nodes. Adding a few thousand nodes initially is not a good idea though. Think of all the rendered HTML. Even rendering a few thousand strings (without any extra markup) will result in a few megabytes of HTML. That's where load on demand comes into play. RadTreeView supports three different types of load on demand: web service, server side callback and server side postback. From those the server-side postback mode is least efficient in terms of performance because it postbacks and updates the whole page. Here is how...
    August 06, 2008
  • Web

    How To: Color Picker done with few slider controls

    This tutorial demonstrates how to create a color picker using nothing more than few elements and Telerik's slider control for Silverlight. To start off, create a new Silverlight project. It is up to you to decide whether you want a web page in the project or not. This particular example does not to include a web page, but a simple html page that is generated dynamically. Once you have the project created go ahead and add a reference to the Telerik.Windows.Controls.dll. At the top of your main UserControl, add a namespace in order to use the dll. Check if everything...
    August 06, 2008
  • Web ASP.NET AJAX

    RadTips, Episode 2: Client-Side Paging in the RadGrid

    Here for your viewing pleasure is the second episode in my new series, RadTips. In this episode I show you how to implement paging in the RadGrid when binding data to the grid on the client. This is an important feature to know because it must be implemented on the client if that is where databinding occurs. As always, your comments are welcome. Please bear with me as I get the hang of screencasting, but don't hesitate to offer your feedback if you'd like to suggest how I can improve the shows. Also, if the size of the embedded video is...
    August 06, 2008
  • Desktop WPF

    How to Databind RadTreeView in WPF

    Download the source code of the samples here. This is the first part of a series of posts demonstrating common scenarios of RadTreeView control. I’ll be covering both WPF and Silverlight. One of the most common scenarios for our customers is populating the RadTreeView with data. In WPF data binding is one of the most powerful concepts. Data binding the Treeview can be done in several ways. In this post I’ll explain the most common scenarios – binding to an XML file, binding to a Collection, and a more advanced sample – data binding using grouping and CollectionViewSource. XML Define the XML source Define...
    August 05, 2008
  • Desktop WPF

    New gaud for the 3-Dimensional WPF RadChart

    Last time I wrote about Labels in 3D, but it turned out to be more of a Step-By-Step How-To. This time the blog will be short and up to the point - our RadChart for WPF has a new shiny primitive, which is ... ta-daaaaa ... a 3-Dimensional Rounded Bar/Box.   Well, we are not the first to introduce such a primitive. It is, of course, easy to create rounded box model in 3D Studio Max, Maya or any other 3D-modeling tool (as other component vendors did for you), but that approach does not allow easy customization - each time you...
    August 05, 2008