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
  • 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
  • Web ASP.NET AJAX

    Replay: Client-side Tips & Tricks of the RadControls for ASP.NET AJAX

    Last week I hosted a live webinar featuring the RadControls for ASP.NET AJAX. If you missed it, I discussed some of the client-side features of the RadControls. Specifically, I demonstrated how to take control of the functionality of your controls on the client to build better, more performant web applications. In addition, I discussed client-side data binding with web services as well as how you can get started using jQuery with the RadControls. If you’d weren’t able to make it on Thursday, or if you would like to review the content a second time, you can check it out now on...
    March 09, 2009
  • Web ASP.NET AJAX

    The Right Tool for the Right Job: RadTextBox for ASP.NET AJAX

    There are many ways to collect user input in ASP.NET web forms. There is the traditional ASP.NET TextBox control, or the handful of extenders available in the ASP.NET AJAX Control Toolkit. Or, you could stick to straight HTML with the <input> and <textarea> elements. For developers using Telerik’s web controls, there are more (and better) options. The RadControls for ASP.NET AJAX contain a set of input controls collectively named RadInput controls. Included in this set are the RadTextBox, RadNumericTextBox, RadMaskedTextBox, RadDateInput, and RadInputManager. In this blog post I will discuss the features of the RadTextBox for ASP.NET AJAX, including those which make it...
    March 01, 2009
  • Web ASP.NET AJAX

    RadRotator and RadMenu for ASP.NET AJAX: Building an Interactive Menu Together

    It’s always cool to see how the RadControls for ASP.NET AJAX work together. Today I saw a question from a customer asking if the RadRotator can be used to create a menu similar to that on the Experts Exchange web site. If you’re unfamiliar with their menu, it’s got a lot of options in it. Because there are so many menu choices they decided to make the menu interactive, adding a button to the right-hand side of the menu which, when clicked, replaces the existing menu options with another set. Using this approach means you no longer have to be concerned about having...
    February 28, 2009