Telerik blogs

Latest

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

    Enabling Asp.net development on Vista 64

    Well as I figured it out it was not a complicated thing, but there are some specifics of course: Installing IIS By default IIS7 is included in the distribution (I use the Enterprise edition of Windows Vista), but is not installed by default. To do so open ControlPanel > Programs and Features. On the right side of the window click the "Turn Windows features on or off" link and a dialog will open: Installing required features You can select and check the Internet Information Services feature. By default not everything required gets selected. You have to check also the Internet Information Services>World Wide Web Services>Security>...
    December 12, 2008
  • Web ASP.NET AJAX

    Optimize your ASP.NET data entry validation

    With RadControls for ASP.NET AJAX Q3 2008 we introduced our brand new component called RadInputManager. You can find more info about this unique control on following articles: Introducing the RadInputManager control for ASP.NET AJAX Using Regular Expression TextBox Using RadInputManager RadInputManager First Look I've made small demo to check how the input manager will perform compared to standard validation approach in ASP.NET and here is the result: - RadInputManager: 200 standard TextBox controls with skins (hover, focus, empty, negative, enabled/disabled, read-only & invalid styles), in-place validation and formatting and many more.   - Standard Validation controls: Huge render size & JavaScript, no in-place validation (only on...
    December 10, 2008