Monday, 8 July 2013

Fixing the IE 8 warning

Going to Tools->Internet Options->Security Select the Security tab Click on the Internet zone icon at the top of the tab page Click the Custom Level button In the Miscellaneous section change Display mixed content to Enable Repeat steps 1 – 5 for the Local intranet and Trusted sites zones http://blog.httpwatch.com/2009/04/23/fixing-the-ie-8-warning-do-you-want-to-view-only-the-webpage-content-that-was-delivered-securely/

Thursday, 11 April 2013

IE 8 & IE9 CORS Access Denied problem

https://github.com/jaubourg/ajaxHooks/blob/master/src/xdr.js http://stackoverflow.com/questions/5250256/inconsistent-ajax-xdr-response-from-ie https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest/blob/8754607e5f9ab73ccc37246f0c12fed14f85bd28/jQuery.XDomainRequest.js setTimeout(function () { xdr.send( ( s.hasContent && s.data ) || null ); }, 0);

Wednesday, 10 April 2013

Clear Chrome Manifest Cache

chrome://appcache-internals/

Enable Chrome manifest cache

Enable CORS in ASP.NET

In Global.asax protected void Application_BeginRequest(object sender, EventArgs e) { Response.AppendHeader("Access-Control-Allow-Origin", "*"); } http://stackoverflow.com/questions/6516591/how-to-implement-access-control-allow-origin-header-in-asp-net

Friday, 12 October 2012

Enter Key for Login Form

$('.login-box-form input').keypress(function (e) {
                   if (e.which == 13) {
                       __doPostBack('ctl00$ctl50$lnklogin', '');
                   }
               });

Monday, 1 October 2012

how to copy a dll file from gac?

    start Command Prompt

    write "cd :\Windows\assembly\GAC_MSIL\Microsoft.SharePoint.IdentityModel\14.0.0.0__71e9bce111e9429c\"

    write "copy Microsoft.SharePoint.IdentityModel.dll c:\"

    now you can access the dll freely (e.g. copy to TFS, open with reflector or any other action)