Telerik blogs
  • 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
  • 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