Friday, August 22, 2014

IIS Rewrite causes 404 error

your rewrite rule seems to be working, but somehow you get 404 error. 

Just make sure you installed Application Request And Routing (using web platform installer), and make sure you enable proxy (IIS > YourServer > ARR >  Server Proxy Settings > Enable Proxy) . no need to set anything there

Wednesday, August 6, 2014

google chrome browser print preview blank page

if you get blank print preview when calling javascript function .print() in google chrome browser, it may caused by google previewing it before it has finished rendering. solution is to call the print() function using setTimeout

for example

Before : 


After :

myglobalvariable = myobject

Also try this : ( I haven't tested it)

myobject.onload = function(){