Telerik blogs

Latest

  • Web ASP.NET AJAX

    Creating ASP.NET AJAX client-side classes

    Does that subject looks lame or what! I'm trying to stop using the “Atlas” name -- it's ASP.NET AJAX now, and getting used to the new name is a major pain in the backside. Even though the official name Jessie-James-Garett-certified name is Ajax (note the capitalization), Microsoft chose AJAX. Anyway, I hope I'll get used to it eventually. So, how do you create a class in a language that has a classless object model? Why would you want to do that in the first place? Prototype-based object oriented programming is way more powerful than your grandma's classes that you are used...
    October 14, 2006
  • Web

    How to close Netscape 8.1.2.0 with JavaScript

    Hi there. I am still kicking. It has been some time since my last post as most of my efforts were concentrated on the quarterly release (which is a lame excuse). Anyway here is an interesting thing that I tackled a minute ago:The following script closes immediately the latest installment of Netscape:<html><body>    <div id="div1">        <div id="div2">        </div>    </div>        <button onclick="return CloseNetscapeNow()">Close Netscape</button>    <script type="text/javascript">        function CloseNetscapeNow()        {            var div1 = document.getElementById("div1");            var div2 = document.getElementById("div2");            div1.appendChild(div2);        }       </script></body></html>Just click the button and enjoy. It turns out that the appendChild method does not work very well when you try to add...
    October 12, 2006
  • Web ASP.NET AJAX

    Third-party controls and support for Atlas

    So much to blog about and so little time... It has been almost a couple of months since my last blog post and there were quite a few things to comment - new initiatives, interesting updates, participation in events, etc. For some reason I felt guilty for having so much to say and not blogging about it and I was looking for "THE blog post" to get back into the game:)Luckily for me, and for all telerik customers, the dev team came up with some pretty exciting news - with a great sense of pride we are happy to announce the first major third-party component suite...
  • Web ASP.NET AJAX

    IE Memory Leak Best Practices with AJAX in Mind

    Am I getting obsessed with memory leaks?  Give me a non-leaking browser and I'll cut it out .Yesterday I was hunting for a hard-to-find memory leak with r.a.d.treeview.  Our component cleans up its DOM element references and DOM event handlers when it is being destroyed.  Control destruction and resource disposal occurs on two occasions:  when the page unloads and when the control is updated by an AJAX call (r.a.d.callback, Atlas, etc -- the mechanism is framework-agnostic).  Now the treeview, being a good citizen, follows the leak prevention pattern of keeping references to DOM elements to a minimum.  Most of the...
    April 28, 2006
  • Web

    Automating Complex JavaScript-rich Controls with Watir

    Watir is a web testing tool that allows you to automate Internet Explorer and script interactions with your web application.  It uses the COM automation interface to drive the browser.  The nicest thing about the tool is that it allows you to use Ruby to create the test scripts.  Ruby is an unobtrusive, easy to learn, fully object-oriented language whose power at abstraction building will allow you to bring your testing to a level you never previously imagined. Now, a lot of people love and use Watir, and we have been getting requests for help on scripting our web controls with Watir.  All of our controls are pretty complex beasts and require...
    April 25, 2006