Knockout (or any javascript) Intellisense not working if move script file locations

I found while playing around with Knockout.js, that my Visual Studio Intellisense wasn’t working. This turned out to be because I had formatted my Scripts folder, and moved standard Javascript libraries into another folder. This meant that Visual Studio couldn’t find my _references.js file. At first I added the following to the @Scripts Section in [...]

By |2017-07-24T08:33:17+01:00June 26th, 2013|HTML, Javascript, Knockout, Tips, Visual Studio|0 Comments

Binding the WPF WebBrowser Source Property

In an MVVM application I am currently creating, I had the need to embed the WPF WebBrowser control and quickly discovered that the Source Property is not a dependancy object, and so cannot be bound. I quickly search around on and found a neat solution in c#; The VB Version of which is; [...]

SSRS 2008 R2 Reports are blank in Chrome

I stumbled across this apparently well documented problem today, where my SSRS 2008R2 Report was showing up fine in IE, but blank in Chrome; It seems as though the main Div Tag uses IE compatible only Overflow styles, which Chrome doesn’t interpret well. I found a nice blog post here which explained how to [...]

By |2017-07-24T08:33:18+01:00May 1st, 2013|Bugs, HTML, Javascript, SQL Server, SSRS, Tips, Web|0 Comments

Forcing html Input element to Numeric Only Input

While developing a shopping cart function for a client, I needed to restrict the user to entering numbers only in an Input fieldI came across this handy post;, we need to add the following function to the JavaScript section; function isNumericKey(evt){ var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode [...]

By |2017-07-24T08:33:18+01:00January 21st, 2013|HTML, Javascript, Validation, Web|0 Comments