Telerik blogs

Latest

  • 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

    Optimization Tips: RadInput vs. RadInputManager

    In the Q3 2008 release, Telerik introduced a new control to the RadControls for ASP.NET AJAX suite called RadInputManager. Like RadInput, it is designed to enable you to provided textboxes to your users that give real-time validation and feedback based on the entered text. The big difference with RadInputManager, though, is that you don't have to add lots of Telerik Input controls on your page to get this real-time feedback. Instead, you can quickly convert "standard" ASP.NET TextBoxes to RadInput textboxes via the RadInputManager configuration- similar to how you can use RadAjaxManager to quickly ajaxify your page without littering it with...
    January 30, 2009
  • Web

    Optimization Tips: RadCompression Module

    Welcome back to the ongoing Optimization Tips series. It's been a while since the last installment, so it's high-time we took a look at more tips and tricks for optimizing your Telerik-powered web applications. In this the seventh article in this series, we'll take a look at Telerik's brand new RadCompression HttpModule and try to gain a deep understanding of how this tool can help improve application performance. Some of the concepts in this article build on things we've discussed in previous installments, so I encourage you to read the earlier articles before reading this if you have not already done so....
    January 29, 2009
  • Web

    HTTP Compression for your Silverlight ADO.NET DataServices

    I’m happy to announce that with Q1 2009 release of RadControls for ASP.NET AJAX (Telerik.Web.UI) you will be able to compress the response from ADO.NET DataServices (formerly "Project Astoria") in Silverlight web applications with simple web.config registration: web.config … <httpModules>   <addname="RadCompression" type="Telerik.Web.UI.RadCompression" /> </httpModules> … Here is the result for Northwind Customers with ATOM and JSON response type: ATOM : Bytes Received: 11,623 (uncompressed 92,848) JSON  : Bytes Received:   9,237 (uncompressed 39,460) I’ve made small Silverlight application to illustrate the new...
    January 27, 2009
  • Web ASP.NET AJAX

    Adding a RadToolTip to a Custom Toolbar Item in the RadEditor for ASP.NET AJAX

    Most of the time combining two RadControls together is wonderfully easy. We at Telerik know this; we work hard to have them work together in a way that is both simple and intuitive for developers. But every so often someone asks about hooking up two controls in such a manner that I have to sit back and scratch my head for a few minutes. Thankfully though, the RadControls are flexible enough that I usually can find an answer. Tonight that happened when a customer asked how to add a RadToolTip to a custom toolbar item in the RadEditor for ASP.NET AJAX....
    January 27, 2009