Telerik blogs

Latest

  • 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
  • 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...