Telerik blogs
  • Web ASP.NET AJAX

    RadTips, Episode 14: Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 2

    I’m happy to announce another 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. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 1 If you’re interested...
    February 11, 2009
  • Web ASP.NET AJAX

    RadTips, Episode 13: Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 1

    I’m happy to announce another 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. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX If you’re interested in these and...
    February 10, 2009
  • Web

    JavaScript Timing Events

    This article is taken from W3Schools.   With JavaScript, it is possible to execute some code NOT immediately after a function is called, but after a specified time interval. This is called timing events. It's very easy to time events in JavaScript. The two key methods that are used are: setTimeout() - executes a code some time in the future clearTimeout() - cancels the setTimeout() setTimeout() Syntax var t=setTimeout("javascript statement",milliseconds);  The setTimeout() method returns a value - In the statement above, the value is stored in a variable called t. If you want to cancel this setTimeout(), you can refer to it using the variable name. The first parameter of setTimeout() is a...
    January 30, 2009
  • Web ASP.NET AJAX

    Don't Use BODY ONLOAD in ASP.NET AJAX Websites

    In the past developers used <body onload="..."> to execute some script as soon as the page is loaded. Nowadays this is rather old-fashioned, no matter how you look at it. What's more, it doesn't work as expected in ASP.NET AJAX websites. Consider the following example:   <body onload="MyFunction()">    <script type="text/javascript">       function MyFunction()     {        var myAjaxControl = $find("myAjaxControlClientID");        myAjaxControl.doSomething();     }    </script>    </body>    The client-side page load event is fired by the browser as soon as all HTML and scripts have been loaded. However, this happens before the controls' client-side instances have been created. As a result, myAjaxControl will be null and the doSomething() method will trigger a Javascript error. So, a lot better approach...
    December 13, 2008
  • Web

    Showing RadToolTip on RadInput input error

    One of the tools in the RadControls for ASP.NET AJAX suite that is getting a lot of attention these days is the RadInput control. More specifically, the RadInputManager. With this "Manager" control, you can easily add validation to any textbox on your page without littering your markup with ASP.NET validator controls. Plus, you'll get a much more dynamic validation experience when you use RadInput instead of the OTB (Out of The Box) ASP.NET validation controls and better page performance (since the manager enables you to save a lot of HTML and JavaScript). One of the other features of the RadInput textboxes, including textboxes...
    December 12, 2008