Telerik blogs

Latest

  • Web

    Lightweight DataTable for your Silverlight applications

      UPDATE: Please visit this post for more info about dynamic objects binding!   Since there is no DataTable in Silverlight I’ve created small class that can be used to generate columns and rows in runtime in similar to the real DataTable way: DataTable table = new DataTable();table.Columns.Add(new DataColumn() { ColumnName = "ID", DataType = typeof(int) });table.Columns.Add(new DataColumn() { ColumnName = "Name", DataType = typeof(string) });table.Columns.Add(new DataColumn() { ColumnName = "UnitPrice", DataType = typeof(decimal) });table.Columns.Add(new DataColumn() { ColumnName = "Date", DataType = typeof(DateTime) });table.Columns.Add(new DataColumn() { ColumnName = "Discontinued", DataType = typeof(bool) });for(var i = 0; i < 1000; i++){ DataRow row = new DataRow(); row["ID"]...
  • Web

    Web 2.0 font sizes with RadInput

    If you’ve spent much time visiting “web 2.0” sites, you know that large font sizes are totally “in vogue” for data entry forms. Not only are they easy for all audiences to read, but they also imply a certain level of simplicity on a website. In fact, there are even some UX experts suggesting larger font sizes are better now that high-resolution monitors are the norm and not the exception. If you’ve got a “beautifully designed” web 2.0-style site, though, and you’re working with RadInput, you know that the default skins “force” their own font size. What do you do if you...
    April 23, 2009
  • Web

    RadDocking Save/Load layout

    Quite often the users might want to save and then restore the layout they have previously left when closing an application that uses any kind of docking layout management. The powerful Save/Load layout mechanism of Telerik RadDocking enables such users to accomplish this task in an absolutely straight-forward manner. The developers building the application can use the advanced API of the control and implement the needed logic with just a few lines of code. The example below demonstrates how to persist the panes’ position in a Weather Forecast Browser built specifically for this blog post. This is the first of series of blog...
    April 22, 2009
  • Web ASP.NET AJAX

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

    In this post we will look into the properties determining the structure of the template from our last blog post. If you haven’t read that post you can check it out “Create Your Own T4 Item Template with “RadControls for ASP.NET AJAX VS Extensions” - Part 1”! The most important file to examine is “TemplateInfo.xml”.     This is the actual template and contains the declaration of the template. The “TemplateInfo.xml” file can be divided in two major parts, the “Wizard” and the “UnfoldFiles”.  The “Wizard” - node contains a number of general properties for the wizard, such as its Pages, Input...
    April 22, 2009
  • Web ASP.NET AJAX

    Deploying RadControls to Azure

    In the first part of this short series covering the RadControls for ASP.NET AJAX in the cloud, I showed you how you could quickly (and easily) start a new Azure Cloud Service project, add the RadControls, and then debug the project locally. The next step, of course, is taking that locally built and debugged project and deploying it to the “real” cloud fabric, hosted by Microsoft in their data center (not yet data centers…). That is where the rubber meets the proverbial road and we find out if the Telerik RadControls are really “cloud ready.” HOW DO YOU DEPLOY TO AZURE? Assuming you’ve built a...
    April 18, 2009