Telerik blogs
  • Release

    New support resources search facilities on telerik.com

    Greetings everyone, With the brand new look-and-feel of telerik.com we introduced for the landmark Q3 2008 release you probably noticed that the support resources searching capabilities have changed, too. Our aim was to expose intuitive and straight-forward means to browse the available resources based on their type and find the information/examples you need in a blink of an eye. In a nutshell, we would like each visitor to have the ability to search by product line and get a list of results with a leading indicator image designating the resource type (demo, help topic, knowledge base article, code library project, etc.). Since a...
    December 22, 2008
  • Web

    How do I pause execution in JavaScript?

    The current article is taken from javascript.faqts Contributors: ha mo, Daniel LaLiberte, Brent Boyer, Martin Honnen, mercury rising,   There is no true wait, sleep, or similar function in either the core JavaScript language or in client side JavaScript. Client side JavaScript however provides     setTimeout('js code here', delayInMilliseconds) which allows you to schedule execution of piece of script and setInterval('js code here', intervalInMilliseconds) which allows you to periodically execute a piece of script. So if you wanted (pseudo code) statement1;  wait (someDelay);  statement2;  you would stuff the code into functions: function statement1 () {      // your code here  }  function statement2 () {      // your code here  }    and call statement1();  setTimeout('statement2()', someDelay);      If you wanted (pseudo...
    December 19, 2008
  • Release

    A new series of blog posts coming up

    Hi all,   Telerik’s support is always focused at satisfying customer needs – if you have used our controls for some time now, I guess you have already found that out. If you have just started getting familiar with our products – give us a try ;)   Our support services however, being targeted on our products only, cannot provide you with custom solutions, although we try to help as much as possible. That is why we decided to start a new series of blog posts aimed at different aspects of ASP.NET development. The content is gathered from various newsgroups, blog posts, tutorials in...
    December 19, 2008
  • 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 13, 2008