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)