Javascript http post data to new window or pop up

Javascript http post data to new window or pop upJavascript http post data to new window or pop up

So was going through some legacy code to fix some security issues. One of them was there were links that…

Stubbing out ServiceLocator for unit testing

Stubbing out ServiceLocator for unit testingStubbing out ServiceLocator for unit testing

There are certainly many ways to stub out dependency, using constructor injection, etc etc. Here is one way to quickly…

Json A circular reference was detected while serializing an object of type … in my asp mvc app

Json A circular reference was detected while serializing an object of type … in my asp mvc appJson A circular reference was detected while serializing an object of type … in my asp mvc app

I found this weird error when I was testing a no trivial test case in my app and was not…

JQuery print part of div only

JQuery print part of div onlyJQuery print part of div only

So here is an interesting jquery plugin called jqprint it allows one to specify any element and sent it to…

JQuery get ajax call not working in IE

JQuery get ajax call not working in IEJQuery get ajax call not working in IE

So for some reason IE just loves to cache things for you when you call an ajax method, thus my…

JQuery live ‘change’ doesn’t work in IE

JQuery live ‘change’ doesn’t work in IEJQuery live ‘change’ doesn’t work in IE

So was having issues as in why does my checkbox doesn't work in IE when I do [crayon-684a9ed65c659978207236/] And found…

ASP .NET MVC2 Changes: GetControllerInstance & DataAnnotationsModelBinder

ASP .NET MVC2 Changes: GetControllerInstance & DataAnnotationsModelBinderASP .NET MVC2 Changes: GetControllerInstance & DataAnnotationsModelBinder

Here are some changes that affected my asp mvc update process, specifically ASP .NET MVC2 Changes: GetControllerInstance & DataAnnotationsModelBinder. By…

Spark View Engine: Highlight Table Alt Row

Spark View Engine: Highlight Table Alt RowSpark View Engine: Highlight Table Alt Row

So you want to use Spark View Engine: Highlight Table Alt Row. Here is how one highlights an alt row…

Linq Sequence contains no matching element

Linq Sequence contains no matching elementLinq Sequence contains no matching element

So sometimes you will get these strange errors or exceptions when using Linq Sequence contains no matching element For example…

Asp .NET Redirect To SSL HttpModule

Asp .NET Redirect To SSL HttpModuleAsp .NET Redirect To SSL HttpModule

There are tones of blog post out there on how to redirect http to https. As in when a user…