• .NET

    JustCode and QUnit means easy JavaScript unit testing in Visual Studio

    As we showed in the Jasmine blog post JustCode provides seamless integration of JavaScript unit testing inside Visual Studio. JustCode supports two of the most widely used JavaScript unit testing frameworks – Jasmine and QUnit, allowing you to leverage the one that better fits your needs or both. Today’s post covers the support of QUnit JavaScript unit tests in JustCode. JQuery’s QUnit testing framework QUnit is a powerful, easy-to-use, JavaScript test suite. It's used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript code. In order to find out more about the framework and its capabilities please...
    February 29, 2012
  • .NET

    JustCode and Jasmine (BDD JavaScript testing framework) play together

    With every new release of JustCode we at Telerik are committed to providing you with the best tool for writing better, faster and error free code with ease. That of course includes testing it. With the latest and greatest version of JustCode we added support for two of the widely and most commonly used JavaScript testing frameworks out there - Jasmine and QUnit. In this post we will cover the support for Jasmine BDD JavaScript tests in JustCode. Industry first Jasmine support Jasmine is a behavior-driven development framework for testing your JavaScript code. For more information and details about the framework please visit Jasmine official site....
    February 24, 2012
  • .NET

    Navigate Quickly with JustCode and Ctrl+Click

    Ctrl + Click is a widely used shortcut for Go To Definition in many development environments but not in Visual Studio. We, the JustCode team, find it really useful so we added it to Visual Studio. But we didn't stop there - we improved it even further. Read on to find the details. With JustCode you get an enhanced Go To Definition. By default you can execute it in the Visual Studio editor using one of the following shortcuts: Middle Click, Ctrl+Left Click, F12, Ctrl+Enter, Ctrl+B. The first usage of this feature is not much different from the default Visual Studio...
  • .NET Mobile

    Common RadWindow issues and their solution

    The RadWindow control is part of the Telerik’s RadControls for ASP.NET AJAX suite and is intended to replace the standard browser’s popup (window.open()). Since the control is based on an IFRAME, it behaves just like one – basically, whatever can be done with an IFRAME, can be achieved with RadWindow as well. This fact is useful when you investigate a reason for some problem related to the RadWindow control. Just replace the RadWindow with a standard IFRAME or browser’s popup and see how your application will behave in this case. If the problem still exists, then it is not related to the...
  • .NET Mobile

    Executing JavaScript function from server-side code

    This is a pretty common scenario when working with WebForms. There are many ways to achieve the desired result, but they have one thing in common – you should make sure that the controls are fully loaded in the page before trying to get a reference to them and use them in your JavaScript code. In ASP.NET it is pretty straightforward to do that. For example you could use a label: ASPX <head runat="server">     <title>Untitled Page</title>     <script type="text/javascript">     function calledFn()     {         alert("code fired");      }     </script> </head> <body>     <form id="form1" runat="server">         <asp:Button ID="Button1" runat="server" Text="Run JavaScript Code" OnClick="Button1_Click" />         <asp:Label ID="Label1" runat="server"></asp:Label>    ...