Category: programming

angularjs 0

Angularjs Dropdown Autocomplete not render

For AngularJS, we are using md autocomplete  to generate and render our dropdown. The height of dropdown determine automatically during our first load. But if the data is change when we re-select other option(like...

Microsoft Active Directory Logo 1

C# Login Form with Active Directory AD

This tutorial will cover how to make login form with Microsoft Active Directory (AD) in simple step with CSharp (C#). As this is common and usual practice for most system nowadays, maybe its will...

security key 0

Security Programming in .Net

These are few tips how to add security programming in  .net app on code level. Asp.net Version Disclosure <system.web> <httpRuntime  enableVersionHeader=”false” /> </system.web> Set Cookie to HttpOnly <system.web> <httpCookies httpOnlyCookies=”true”/> </system.web> Set Custom Error...

Jquery Validation File Upload 0

Jquery Validation File Upload

Code snippet below are for jquery validation file upload which file is not required, but when file is chosen, we need to check extension and size jQuery.validator.addMethod(“accept”, function (value, element, param) { return value.match(new RegExp(“.”...

Moving Pacman in Pure CSS3 0

Moving Pacman in Pure CSS3

Below example are moving pacman created with fully pure in css3 and HTML5.  So far this pacman write with two vendor prefix Mozilla and webkit. So please open with these two browser only....

How to change placeholder color with css 0

How to change placeholder color with css

By default, if you put placeholder, the color is grey, but can we change it to our desire color? yes we can. Since this is HTML5 attribute , so vendor prefix still required at...