Friday, September 11, 2015

Font awesome image in a button

                 Font awesome image in a button


we can have font awesome icon in button as shown below

Reference








Note : we need to specify hexadecimal value


output

Button Loading animation

                       Button loading animation

we can use javacript to animate laoding text change for a button



















Html




output

Thursday, September 10, 2015

Kendo Grid Check All

                  Kendo grid check all functionality

if we need a check box to check and uncheck all rows . This is the code snippet
































Output

Kendo bind local data

                                  Kendo bind local data

Binding data using local data or through http get
























Sunday, September 6, 2015

Validate Http:Post

Validate $HTTP Post using Fiddler

Today I would be talking about validating a Restfull http Post using fiddler.we can validate if the post was successful. 
Steps invloved
  • Open fiddler and specify the Post Url in the composer
  • Specify the action method as Post
  • Create a request body (Data which would be sent)
  • Validate the response message as shown in the snapshot




























Output

Thursday, September 3, 2015

Angular http

                     Using angular for http 

  Using angular it is simple to get JSON data and display it in a view.

Edit in plunker

HTML

Wednesday, September 2, 2015

Angular two way data binding

                       Two way binding in Angular

Today i would show you a simple example of two way binding in Angular.
Note:  
  • Like Knockout we do not need any observable. 
  • Less amount of code
  • When view changes model changes. When model changes view changes. This is known as two way binding