Telerik blogs

Latest

  • Web

    XML DataSource - General information

    The XmlDataSource control is a data source control that presents XML data to data-bound controls. The XmlDataSource control can be used by data-bound controls to display both hierarchical and tabular data. The XmlDataSource control is typically used to display hierarchical XML data in read-only scenarios. Because the XmlDataSource control extends the HierarchicalDataSourceControl class, it works with hierarchical data. The XmlDataSource control also implements the IDataSource interface and works with tabular, or list-style, data.  Page developers use the XmlDataSource control to display XML data using data-bound controls. The XmlDataSource typically loads XML data from an XML file, which is specified by the DataFile property. XML data can also be stored directly...
    March 26, 2009
  • Release

    Two New RadTips Episodes Featuring the RadGrid for ASP.NET AJAX

    I’m happy to announce two new 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 on Telerik TV. Each is only a few minutes long and covers a specific feature of the RadControls. Grouping with the RadGrid In this episode I show ASP.NET AJAX developers how to using the built-in grouping feature of the RadGrid. I start by demonstrating how you can enable dynamic grouping by setting just a couple of properties, allowing users to group data at runtime. Next I demonstrate how to...
    March 26, 2009
  • Desktop WinForms

    WinForms RadGridView's new clothes

      In our latest release – Q1 2009 – we were focused mostly on addressing known issues and minimizing the memory footprint of RadGridView for WinForms.  However, we managed also to steal some time and redesign all of RadGridView’s themes. Some optimizations in our TPF framework helped us with this task. One of the heaviest operations in GDI+ is clipping. We managed to remove the clipping where it wasn’t really needed. This way we achieved two goals with a single shot: first, we got a performance boost, and second, we achieved better graphics and smoothed edges when using shapes. Our new Desert...
    March 26, 2009
  • People

    Join me this weekend at Boise Code Camp & Tech Fest

    That’s right, yours truly will be at the 2009 Boise Code Camp & Tech Fest this Saturday and Sunday delivering a couple of general .NET development talks. If you’re in the area you definitely don’t want to miss out on this event, because it’s going to be huge. There are already 600+ signed up to attend! For my part in all this, I’ll be talking LINQ and ASP.NET. The sessions are tentatively scheduled for Saturday afternoon. Here are the sessions descriptions: LINQ to Everything! So you think you already know everything there is to know about LINQ? You've used it to query your SQL...
    March 25, 2009
  • Web

    JavaScript - Variables and Types Basics

    This article is taken from JavaScript @ Wikibooks. JavaScript is a loosely typed language, this means that you don’t have to worry about setting the type of variable and you can change at will in runtime. But when you code, you have to make sure that you are getting the right type at the right time. Variable declaration Variables are commonly explicitly declared the var statement, as shown below: var c; .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; } The above variable is created, but has the default value of undefined. To be of value, the variable needs to be initialized: var c = 0; Variables can also be created by assigning directly to them,...
    March 24, 2009
  • Web ASP.NET AJAX

    Create Your Own T4 Item Template with “RadControls for ASP.NET AJAX VS Extensions” - Part 1

    When you add a new page to your Web site, do you often find yourself cutting and pasting from another page to get started? If you're spending more time importing controls and setting up content regions for your master page than actually working on the new page, you might want to look into creating a "RadControls T4 Item Template" in Visual Studio with “RadControls for ASP.NET AJAX VS Extensions” Below is a basic way to get started with a “RadControls for ASP.NET AJAX” T4 Item Templates. To create your own RadControls T4 Item Template: Create a file – (MyTemplate.t4).       2.    Create a file...
    March 23, 2009
  • People

    Come see Telerik at DevConnections

    If you are in Orlando, Florida this week (March 22-25) for DevConnections, I hope you will take a few moments to stop by the Telerik booth (#101).  We will have several folks on hand who would love to meet you.  Additionally, I will be presenting a session on Monday evening called Building Business Applications with WPF, Silverlight and the Telerik RadControls.  If you are interested in learning more about what Telerik offers this will be a great session to attend.  Feel free to come by and introduce...
    March 22, 2009
  • Release

    Using pre-Q1 2009 skins with Q1 2009!

    As I wrote in the following much commented post when the Q1 2009 beta was released - RadControls for ASP.NET AJAX did receive a major face-lift!   Despite the major improvements in a number of important areas, this change has caused turmoil as well (somewhat regrettably for both sides - customers and Telerik developers - involved). After the release, two major requests came from customers: 1) to help them keep an "old-style" skin in their applications as they liked it more than the new version, as well as 2) help them update their existing custom skins. I spent the last couple of days implementing...
    March 20, 2009
  • Release

    MIX09: Silverlight 3 Beta for Developers is here!

    It is official - the next version of Silverlight has been previewed today at, the sponsored from Telerik conference, MIX09 and is available for download now.    Silverlight just got better - major updates to the runtimes are: offline support validation framework page navigation framework ( much like our own Telerik RadPageNavigation framework) .NET RIA services framework GPU hardware  3D, GPU acceleration, Animations SaveFileDialog Assembly caching Tools - Blend3 + VisualStudio Tools for Silverlight3 So far the best overview is provided by Tim Heuer - check his blog post about more details on what's new: If you are not lucky to be part of MIX09 you can watch the keynotes and the sessions live here: To get...
    March 19, 2009
  • Release

    WinForms Q1 2009 and some RadRibbonBar Sugar

    Now that the latest version of RadControls for WinForms was released, we decided that a blog post about the newly introduced features of the RadRibbonBar will come exactly on time. As many of you know, we worked hard on the implementation of our new and much improved layout system in the RadRibbonBar. Now we can proudly say that the migration has been successfully accomplished, and many issues related to the old layout of the Ribbon are now history. Let’s start with the resizing and positioning of the Chunks (now called Groups) within a Tab Page in the RadRibbonBar:     We have entirely redesigned...
    March 18, 2009