Monday, August 31, 2015

Run IE as another user - hold down shift key the right mouse click then select run as another user

Angular JS testing

Unit testing - Karma
E2E testing - Protractor

Angular JS big picture


Friday, August 28, 2015

Angular js mistakes

https://www.airpair.com/angularjs/posts/top-10-mistakes-angularjs-developers-make

Microsoft report viewer

https://msayem.wordpress.com/2013/02/04/how-to-create-a-dynamic-report-in-asp-net-using-microsoft-report-viewer/

Thursday, August 27, 2015

registry change to open GAC

http://stackoverflow.com/questions/9498234/how-to-view-the-folder-and-files-in-gac
  1. Launch regedit.
  2. Navigate to HKLM\Software\Microsoft\Fusion
  3. Add a DWORD called DisableCacheViewer and set the value to 1.

Foundation javascript

Grid

Wednesday, August 26, 2015

asp.net and crystal reports

http://www.codeproject.com/Articles/9847/Displaying-Exporting-and-Printing-Crystal-Reports

Asp.net virtual path

http://www.codeproject.com/Articles/723668/ASP-Net-How-to-map-virtual-path-to-physical-path

Tuesday, August 25, 2015

upgrade to .net 4.5 Iframe issue

http://stackoverflow.com/questions/17809446/iframe-parser-error-after-upgrading-to-net-4-5

You need to add below tag.
<asp:HtmlIframe>
In the designer change the control type to
System.Web.UI.HtmlControls.HtmlIframe
Add the below line in ur Webconfig
<controls>
 <add tagPrefix="asp" namespace="System.Web.UI.HtmlControls" assembly="System.Web"/>
</controls>
This should fix..

Crystal report for Visual studio

Crystal report for Visual studio
http://scn.sap.com/docs/DOC-7824

Monday, August 24, 2015

cannot-assign value to member xxx it does not define a setter

http://stevemichelotti.com/cannot-assign-value-to-member-xxx-it-does-not-define-a-setter/

Friday, August 21, 2015

webpack vs browserify

http://mattdesl.svbtle.com/browserify-vs-webpack

Return of false for onkeypress event no longer blocks input

http://forums.asp.net/t/1118932.aspx?Return+of+false+for+onkeypress+event+no+longer+blocks+input


 Return of false for onkeypress event no longer blocks input

06-06-2007 01:30 PM|LINK
I did find out how to solve my problem.  By changing the onkeypress event from:
onkeypress="return validNumeric(event);"  to
onkeypress="event.returnValue=validNumeric(event);"
 I now get the form to limit input in the zipcode textbox to numbers only and also keep the DefaultButton property on the Panel it is contained 

Thursday, August 20, 2015

refresh css need to use crtl-f5

http://stackoverflow.com/questions/385367/what-requests-do-browsers-f5-and-ctrl-f5-refreshes-generate

Generally speaking:
F5 may give you the same page even if the content is changed, because it may load the page from cache. But Ctrl-F5 forces a cache refresh, and will guarantee that if the content is changed, you will get the new content.

sample text file web site

http://lipsum.com/

Wednesday, August 5, 2015

Code review hosting

https://www.gerritcodereview.com/

Branch

Checkout a branch
then click on branch on the tool bar under file menu bar to create a branch

modify then commit, (then if want to patch then click on "" to do patch)

after commit then do push

select the push from and the remote want to push to

Sourcetree Show all files