Join our weekly Live Demo of Telerik WebUI Test Studio on Thursday, Feb. 4th at 11AM EST! This is a short (~30min) webinar that provides an overview of the product and helps you get quickly started with Automated UI Testing for AJAX and Silverlight. Jump-start your evaluation and save time by having all your questions answered by the experts.
Register now!
One more RadGridView behavior frequently requested by our clients is to display a message when there are no records to display. A typical real life scenario would be a RadGridView displaying a list of search results. When there are no results found we would like to have a message like “No results found!” displayed in RadGridView. UPDATED VERSION FOR SL4 If you download the project above , you will see that if you get the EmptyDataTemplateBehavior.cs into your project, setting the empty data template will be as easy as writing a few lines of XAML : <telerik:RadGridView x:Name="RadGridView1" > <i:Interaction.Behaviors> <local:EmptyDataTemplateBehavior> <local:EmptyDataTemplateBehavior.EmptyDataTemplate> <DataTemplate> <TextBlock Text="No results...
Inspired by the automation of functional tests with WebAii, I decided to bring our JsUnit tests on the same level as the NUnit ones – in the continuous integration build. As it turns out, automation with the WebAii framework was really easy – just a few lines were sufficient to integrate the test runner. Requirements The build agent should have the following: Cassini.dll in the GAC installed WebAii framework (adds browser plug-ins to IE and Firefox which make their automation possible) the build service should run on an interactive port, under the user that performs the build ...
Here's a short list of what we've managed to achieve during the last 2+ months since we released JustCode in November: We’ve fixed a lot of C# / VB.NET and JavaScript "Good Code Red" issues. "Good Code Red" issues occur when errors are reported by JustCode for code that actually compiles fine. We treat these types of issues with a very high priority as it's very annoying when errors and warnings are reported throughout the solution for code that works perfectly fine. If you still experience such problems, please report them to us and we'll fix them for the RC. You...
Have you ever thought of embedding a YouTube video in the context of a data-bound control? Recently, a client of ours asked for such a demo and this inspired me to create a code-library project that features this scenario and uses RadListView for ASP.NET AJAX as ‘videos host’. Depending on your goal, you can control the player via JavaScript code or you can just embed a static object. In the latter case you will need something like this: 1: <object width="425" height="344"> 2: <param name="movie" value="http://www.youtube.com/v/QT0e5XqNZdo&hl=en_US&fs=1&rel=0&color1=0x5d1719&color2=0xcd311b"></param> ...
If you are interested in learning to use the Composite Application Guidance (better known as Prism), here are a few resources to get you started. Also, in case you missed it, you can watch the webinar associated with this blog entry here. Webinar Resources Download: Project & Powerpoint Slides This download contains the project I started with in the webinar along with the completed version. Also included are the powerpoint slides. Click Here to Download Update (2/1/2010): In the video, I placed the command implementation directly in the view. The correct place to set this up is actually directly ...
Great news, everyone! The latest update of WebUI Test Studio came out last night. And just like all Telerik products, our web testing solution now supports Visual Studio 2010 Beta 2! As always, Telerik is leveraging the latest Microsoft technologies to ensure we deliver leading-edge updates to you. Now you can enjoy all your Test Studio favorite features in VS 2010 as well – Automation Overlay Surface, Test, DOM, and Elements Explorer, and more. We recommend the new official release as it is “the latest and greatest” of WebUI Test Studio! Besides support for Visual Studio 2010, the service ...
The Visual Style Builder for ASP.NET is now compatible with the shiny MVC extensions. The generated CSS code got a bit smaller, too. In order to celebrate this, I give you the lovely PinkPanther skin, for your visual pleasure.
When the data layer does not allow to perform calculations we often need to harness the UI. Here is a a simple case - in our business object we have the Price and the Count properties. We will have RadGridView to calculate the Total for us in a calculated column. Please download this sample project If you peek into the sample project you will notice we are using a pretty standard Silverlight approach : We bind the value of the calculated column with a Binding Converter : <telerik:GridViewDataColumn Header="Total" Background="Bisque" DataMemberBinding="{Binding Converter={StaticResource CalculatingConverter}}" TextAlignment="Right" /> The calculation “logic” is in the Convert method of CalculatingConverter.cs public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
...
A common scenario when entering data is a cascade of comboboxes, where the list in the next combo is populated after selecting a value in the previous. A typical example is selecting a country from a combo then selecting from a filtered list of cities in a second combo. We have had tons of questions on how this can be done within a row in RadGridVIew so I decided to make a small demo. I have used a nice List of countries by continent. There are lots of ways to achieve this with RadGridView. Bellow I have tried to demonstrate...