How to get the differences between two arrays, based on a “key” value in JavaScript.

This page shows how you van use the “getDifferences” function in JavaScript to get the differences between 2 arrays, based on the value of a “key” property. <!doctype html> <html> <head> <meta charset="utf-8"> <title>General research page containing only vanilla.js.</title> <style type="text/css"> /* Resets */ *, *:after, *:before { margin: 0; …

MVVM – Kendo UI ListView – Get selected items on selection.

This page shows how you can get the selected items when using Kendo UI MVVM:   <!DOCTYPE html> <html> <head> <title>Kendo element binding research page.</title> <style> * { margin: 0; padding: 0; } body { padding: 20px; } </style> <link href="//cdn.kendostatic.com/2014.1.528/styles/kendo.common.min.css" rel="stylesheet" type="text/css" /> <link href="//cdn.kendostatic.com/2014.1.528/styles/kendo.silver.min.css" rel="stylesheet" type="text/css" /> <script …

Fix: JSCS: The requireLeftStickedOperators rule is no longer supported.

After an update of web essentials I was getting the error: 23-6-2014 08:02:04: JSCS: vctmp6788_81613.js compilation failed: JSCS: The requireLeftStickedOperators rule is no longer supported. Please use the following rules instead: disallowSpaceBeforeBinaryOperators disallowSpaceBeforePostfixUnaryOperators disallowSpacesInConditionalExpression     To fix this just edit the global JSCS settings file in Visual Studio 2013: …

Solving: Unable to perform operation on … The item … is locked in workspace … in Visual Studio 2012

  I wanted to check-in a file, that was check-out by myself on an other pc.   You can revert those changes by using the tf.exe. Open a command prompt AS ADMINISTRATOR cd "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE" tf undo /workspace:"MYPC;MYDOMAIN\rlisdonk" /collection:http://1.1.1.1:8080/tfs/MyCollection $/MyProduct/Main/Source/MyProject/Staging.cs

Create kendo ui tooltip with template and correct position on element click.

Just a code snippet, that shows a tooltip, when the user clicks on a button:     <!DOCTYPE html> <html> <head> <title>RLI research page.</title> <link rel="stylesheet" type="text/css" href="../../../Libraries/Kendo/styles/kendo.common.min.css" /> <link rel="stylesheet" type="text/css" href="../../../Libraries/Kendo/styles/kendo.rtl.min.css" /> <link rel="stylesheet" type="text/css" href="../../../Libraries/Kendo/styles/kendo.metro.min.css" /> <link rel="stylesheet" type="text/css" href="../../../Libraries/FontAwesome/css/font-awesome.min.css" /> <style type="text/css"> #toonTooltip_tt_active { background-color: #FFFFFF; …

Note: Spaces in Visual Studio project folder names will be converted to underscores ("_") in embeded resouce name, but spaces in filenames not.

  If you have an embedded resource file, like:     The embedded resource filename will be:   Research.UnitTests.Folder_path_with_spaces.Text file with spaces.txt   The spaces in the foldername will be replaced by underscores (“_”), see Folder_path_with_spaces . But the filename will contain spaces, see Text file with spaces.txt