Telerik blogs

Latest

  • Web

    Working with Zip Files: Part II, Zipping Files

    In part one, we looked at how you can use RadUpload and the open source SharpZipLib to easily upload and expand zip archives. Today, we'll look at the other end of the process: creating new zip files on the server and then making them available for users to download. To do this, we'll extend the sample we created in part one. As you recall, our sample already enables users to upload a zip file that contains image files and then the server automatically extracts all images to a target directory. We'll extend this demo by creating a text file and then zipping...
    July 13, 2007
  • Web

    Working with Zip files: Part I, Uploading and Expanding

    Have you ever wondered how hard it would be to automatically zip and unzip archives with ASP.NET? It may be easier than you think thanks to the powerful SharpZipLib open source library. This library provides you with a number of easy to use tools for working with Zip (and GZip, Tar, and BZip2, for that matter) archives in .NET code that make the task of creating and expanding compressed archives relatively easy. Today we're going to look at how you can use RadUpload and SharpZipLib to upload a Zip archive and then expand it on the server. For our scenario, let's pretend...
    July 10, 2007
  • Productivity Testing

    Selenium Scripts for RadControls; Firebug and XPath Support

    How do you, guys, use Selenium to test your RadControls? That question is really my favorite! It has been asked by our customers and I would like to answer it with this post. Actually I've been closely watching Selenium forums for the past several months. People often think using Selenium is difficult but I would disagree. This reference explains the basics of writing Selenium tests. It seems people identify easily which command to use. However, most people experience difficulties getting a proper locator. Should the respective element contain an ID its locating is trivial, but what should we ...
    July 10, 2007
  • Web ASP.NET AJAX

    Hierarchical data sources and RadControls

    In his recent post Bertrand Le Roy announced that he migrated his ObjectHierarchicalDataSource and CompositeHierarchicalDataSource controls from GotDotNet to CodePlex. I just downloaded the sample projects and tried binding RadMenu and RadTreeView to those data source controls. Everything went according to plan: I’ve made two demo web sites – ObjectHierarchicalDataSource.zip and CompositeHierarchicalDataSource.zip. Feel free to check them...
  • Web

    ScriptResource.axd and and assemblies built in the future

    Here is something I didn't know until recently:If you have a ScriptControl whose JavaScript files are web resources (served through ScriptResource.axd instead of WebResource.axd) and the date of the assembly is in the future, that very JavaScript file will fail to load. I have attached a test solution to illustrate the case - AssemblyInTheFuture.zip. Build it and run the Default.aspx page - everything is fine and a nasty alert saying "initialize" pops out. Now change the date of your PC - set it to yesterday. Stop ASP.NET Development server to reset the script resource cache dependency. Open Default.aspx again (but...
  • Web ASP.NET AJAX

    Say hello to RadControls Prometheus Futures

    I am glad to announce that we have just released a "Futures" version of RadControls Prometheus. Why "Futures"? I will tell you in detail below, but those of you who are anxious to get their hands on the latest release, can download it from here: http://www.telerik.com/community/forums/thread/b311D-mhkha.aspxWhat's new in the "Futures" release? The highly anticipated RadScheduler. Those of you who had the chance to visit our TechEd booth may have already seen it. For those who haven't - here is a link to the online examples: http://www.telerik.com/demos/aspnet/prometheus-futures/Scheduler/Examples/Default/DefaultCS.aspxKey features: Day, Week and Month View Inline and Advanced editing of appointments Custom resources Recurring appointments Rich client-side behavior The RadScheduler...
  • Web

    Unwanted GET requests with latest IE and FireFox in case of empty img.src, script.src and link.href

    If you create or declare img and script element with empty src attribute or link element with empty href attribute you will receive unwanted GET request with latest FireFox. The problem with img elements exist even in IE 6/ IE 7 however the request will be to the application root. You can check all these using this simple example:<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server">    protected void Page_Load(object sender, EventArgs e)    {    }</script><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server">    <title>Untitled Page</title>    <script src=""></script>    <link href="" /></head><body>    <form id="form1" runat="server">        <img src="" />        <div>        </div>    </form></body></html>You should be extra careful...
  • Productivity

    Visual Studio island in Second Life

    It looks like Microsoft is investing in Second Life and soon several events will take place on the Visual Studio island they're building.This news isn't sensational but I like the idea.A...
    June 29, 2007
  • Release

    RadMediaPlayer for Silverlight CTP is now live!

    We are very happy to announce the official CTP of “RadControls for Silverlight” suite. Telerik is the first control vendor to give you a real Silverlight 1.0 controls which you can play with and use in your web pages. Those of you who signed up through the CTP registration form have already received the bits. For those of you who missed the registration – it is still open. The controls in the suite target Silverlight version 1.0 Beta. The official version of Silverlight 1.0 is expected this summer. So what do you need in order to use the controls? Nothing special really -...
  • Web

    An HTML drawing master :-)

    I just came across something amazing... and this is not fake, this is real - you can check the actual...