Telerik blogs

Latest

  • Web

    RadControls for Silverlight Futures

    RadDocking With the SP2 release of RadControls for Silverlight Q3 2008 we are introducing a community preview edition of the RadDocking control for Silverlight. You can find the build under your account at telerik.com. The download files containing the build are called Futures (RadControls_for_Silverlight_2008_3_1217_TRIAL/DEV_Futures.zip and RadControls_for_Silverlight_2008_3_1217_TRIAL/DEV_Futures.msi).     You can check the online demos at: RadDocking First Look RadGridView First Look The features that are currently supported by this CTP edition of the RadDocking tool are listed below: Dockable Layouts Percentage or Absolute Height of the containers MinWidth/Width/MaxWidth constraints MinHeight/Height/MaxHeight constraints Resizable Bars AutoHideAreas DocumentHost DockingPanel SplitContainers Nested split containers Horizontal/Vertical Orientation Initial Position PaneGroups AutoHide per group Close per group Title Panes Pinnable Closable     RadGridView Beta The previously released community...
    December 19, 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
  • Web ASP.NET AJAX

    HTTP Compression for your ASP.NET AJAX applications

    With our next service pack you will be able to compress your entire AJAX traffic completely codeless with a single web.config setting: ... <httpModules>    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />  </httpModules>  ...   <!--         The system.webServer section is required for running ASP.NET AJAX under Internet         Information Services 7.0.  It is not necessary for previous version of IIS.     -->    <system.webServer>      <modules>         <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />      </modules>  ... Features: Support for all traditional ajax requests including RadAjaxManager,...
    December 16, 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