Telerik blogs

Latest

  • Productivity Testing

    Execute your Test List with Windows Task Scheduler

    Automated testing can be broken into two parts from a process perspective.  First, there is the creation of the test in which you record all of your actions and verifications for a particular scenario.  Second, you execute your test on a frequent basis in order to find regressions in your application.  In this blog I will demonstrate a simple option for scheduling your tests for execution using a built in feature of Windows. For WebUI Test Studio users that do not want to use Team Foundation Server to schedule test list executions there is a great alternative already built into ...
    May 27, 2021 5 min read
  • Web

    Debugging Silverlight with Firefox 3.6.4

    Today Mozilla released FireFox 3.6.4, and in the new version plugins are isolated in their own process.  As such,  the VS debugger attaches to “firefox.exe” instead of the new process FireFox creates named “plugin-container.exe” when you start debugging a silverlight application.  There are 2 fairly easy fixes.   Fix 1 Manually attach the visual studio debugger to “plugin-container.exe”   Fix 2  This involves changing Firefox’s config, and really should only be done to ease silverlight debugging until a proper fix is released. Type "about:config" into FF's address bar Accept the warning (if applicable) Search for the entry "dom.ipc.plugins.enabled.npctrl.dll" Change its value from "true" to "false" (double-click)...
    May 27, 2021 1 min read
  • Productivity Testing

    Silverlight Test Automation: Changing the Element Find Strategy to Avoid TimeoutException

    The default behavior of the WebAii Testing Framework (and WebUI Test Studio respectively) searching for the application visual elements is to timeout after a certain period of time if the element is not found. [TestMethod()] public void TelerikComSLTest1() { // Enable Silverlight testing Manager.Settings.EnableSilverlight = true; // Launch an instance of the browser Manager.LaunchNewBrowser(); // Navigate to : 'http://www.telerik.com/' ActiveBrowser.NavigateTo("http://www.telerik.com/"); SilverlightApp app = this.ActiveBrowser.SilverlightApps()[0]; Image titleImage = app.Find.ByName<Image>("Title"); // will timeout if the image name is changed // Wait for visible 'TitleImage' titleImage.Wait.ForVisible(); // do whatever else is needed ...
    May 27, 2021 4 min read
  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part IV: Making an OData feed from your Domain Service

    Read the other posts in this series: Part I Part II Part III In the previous blog posts listed above, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. I showed how to build your own Domain Service, build custom query methods, and make a metadata class. In this post I will show how to expose your Domain Service as an OData feed. The Open Data Protocol (OData) is a Web protocol for querying and updating data in a RESTful fashion. You create OData feeds when you want to set up feeds for 3rd parties to consume, typically without your knowledge. For example...
    May 27, 2021 3 min read
  • Web ASP.NET AJAX

    RadGrid for ASP.NET AJAX SEO Paging with Routing in ASP.NET 4.0

    URL Routing with ASP.NET 4.0 has never been easier. While it was first a luxury of ASP.NET MVC, WebForms applications got routing support with .NET 3.5 SP1. With version 4.0 of the framework, setting up URL routing is now a piece of cake. For those of you who have never heard of it: URL Routing enables your application to use URLs that do not directly map to physical files, but can instead represent a user-friendlier, more descriptive, logical structure. It is not URL rewriting and not URL mapping, where these effectively restore the original physical URL of the page down the request pipe. With version 2010.Q2 of Telerik RadControls for ASP.NET AJAX,...
    May 27, 2021 2 min read
  • People

    Answer one-question survey on VS extensions and you could win an iPad

    Hey Telerik developers. We are running a super-short survey on how you add RadControls to your Visual Studio projects. It’s only one question (well, two questions – but the email question is just going to be used to 1 – verify you are a customer or a trial user and 2 – to notify the winner.) One lucky winner I will select at random will win a 32G iPad worth $599.   Please head over to this survey ; your response will really help us out.   The survey closes July 15, 2010. I will notify the winner on  July...
    May 27, 2021 1 min read
  • Release

    Meet the Telerik ASP.NET AJAX Q2 2010 BETA release

    The time has come to have a peek on the new controls and features we are shaping for you that will be published with the Q2 2010 RadControls for ASP.NET AJAX release. Alongside with the regular updates and bug fixes for the components in the suite, you will get the following: - One brand new control: RadTagCloud - Div content area mode and light table dialog for RadEditor - Load-on-demand mode for GridDropDownColumn combobox editor, column group/reorder animations and localization through resources for RadGrid - ASP.NET 4 Routing support for RadDataPager and RadGrid’s pager - RadFilter integration with ASP.NET 3.5 data source...
    May 27, 2021 3 min read
  • Web ASP.NET MVC

    Hands on mocking of ASPNETMVC controller action

    In this post, I will start with an MVC sample created from the default template project that is bundled with ASPNET MVC2 installation. This template provides not just a dummy project with folder organized but rather a full running app.
    May 27, 2021 3 min read
  • People

    Telerik at CodeStock 2010

    This Friday, June 25th, marks the start of CodeStock 2010: The Year We Connect. According to the CodeStock website, the theme for this year is about establishing connections. I am happy to announce that Telerik is a proud sponsor of CodeStock, and a few of us will be in attendance at the event. If you would like to establish a connection with us, please feel free to stop by our booth or attend one of our sessions. I will be presenting two sessions at CodeStock, the first of which is called "Creating an Extensible Photo Application with MEF." In ...
    May 27, 2021 2 min read
  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part III: Adding a Metadata Class

    Read the other posts in this series: Part I Part II In the previous blog posts listed above, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. I showed how to build your own Domain Service as well as build custom query methods. In this post I will show how to build a metadata class. (Note: future versions of the OpenAccess LINQ Implementation will produce the metadata class for you automatically.) The WCF RIA Services metadata class is a separate class from the DomainService that contains information about the entities. In this class you can write custom validation logic, set attributes of the...
    May 27, 2021 4 min read