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