How to integrate JQuery UI Datepicker in MVC

Posted by Anuraj on Monday, May 5, 2014

.Net .Net 4.0 ASP.Net ASP.Net MVC HTML5 Javascript

This post is about integrating JQuery UI DatePicker in MVC 4. First you need to modify the _layout.cshtml. Because by defualt, it won’t include required references for JQuery UI. You need to include both CSS and JS for JQuery UI references. So the modified _layout.cshtml will look like this.

Loading partial view on Ajax.Actionlink click

Posted by Anuraj on Sunday, May 4, 2014

.Net ASP.Net MVC HTML5 Javascript

While working on an MVC project, I had to create few partial views and load them dynamically using Ajax. Here is the code snippet for the same.

How to get code coverage in javascript

Posted by Anuraj on Monday, April 7, 2014

Code coverage CodeProject HTML5 Javascript

Long back I did some posts on getting code coverage in C#. And one of my previous posts was about implementing TDD in JavaScript. This post is about getting JavaScript code coverage. In computer science, code coverage is a measure used to describe the degree to which the source code of a program is tested by a particular test suite. A program with high code coverage has been more thoroughly tested and has a lower chance of containing software bugs than a program with low code coverage. - Wikipedia.

How to write an Extension for Google Chrome

Posted by Anuraj on Thursday, March 20, 2014

CodeProject HTML5 Javascript

This post is about creating simple google chrome extension, which will help you to find Malayalam meanings of selected word. The very first thing we’ll need to create is a manifest file named manifest.json. The manifest is nothing more than a JSON-formatted table of contents, containing properties like your extension’s name and description, its version number, and so on. At a high level, we’ll use it to declare to Chrome what the extension is going to do, and what permissions it requires in order to do those things.

Test-driven development in Javascript

Posted by Anuraj on Wednesday, March 19, 2014

ASP.Net CodeProject Javascript Unit Testing Visual Studio

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards. Here is fundamental mantra of TDD:

How to handle windows authentication in Android

Posted by Anuraj on Monday, March 10, 2014

Android Miscellaneous

If you are developing enterprise applications you may need to handle windows authentication from mobile devices. Windows authentication (formerly named NTLM, and also referred to as Windows NT Challenge/Response authentication) is a secure form of authentication because the user name and password are hashed before being sent across the network. Here is the snippet which helps to handle windows authentication in Android.

Handling Android back button in HTML5 application

Posted by Anuraj on Friday, February 28, 2014

HTML5 Javascript Miscellaneous

Today I faced an issue with my HTML5 application. In this application we are showing a JQuery popup window. Client has reported a high priority(?) issue like, when he press the Android phone back button, instead of closing the popup window, application is getting closed.
Subscribe


Copyright © 2017 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub