Recently, I have been working the lot with Node.js and TypeScript. And I absolutely love TypeScript due to its features. I was actually looking for a boilerplate code to start which should be very easy to understand. But there was no code there. So I decided to create a minimum web application structure. I have used it in some project and I was quite happy with it.
So I thought why should I make...
Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts
Saturday, May 5, 2018
Sunday, July 9, 2017
Video: How to debug Node.js Application with Visual Studio Code
Visual Studio code is a Great Editor and I like it very much. It support’s a lot of cool features our of box. Node.js Application debugging is one of them. It provides great debugging with node.js just like Visual Studio. I have created a small video demonstrating the same. Please have a look.
...
Saturday, October 3, 2015
Routing with UI-Router and Angular.js
In Today's world, Angular.js is one of best JavaScript framework available to create Single page applications. It's provides some great features and with the help of this features we can built great interactive apps. In any single page application routing is very important as in most of the time single...
Friday, September 18, 2015
Why it's the right time to learn TypeScript.
In Today's world, If you are an web developer and you don't know JavaScript then you will feel left behind. It's never been a good time to be a JavaScript developer than now. With the rise of Node.js JavaScript is everywhere now. But as you know when Size and Complexity of your JavaScript is Increased it's very difficult to maintain and mange. That's where TypeScript comes into picture. It...
Thursday, April 10, 2014
How to convert C# object into JSON string with JSON.NET
Before some time I have written a blog post – Converting a C# object into JSON string in that post one of reader Thomas Levesque commented that mostly people are using JSON.NET a popular high performance JSON for creating for .NET Created by James Newton- King. I agree with him if we are using .NET Framework 4.0 or higher version for earlier version still JavaScriptSerializer is good. So in this...
Saturday, April 5, 2014
Converting a C# Object into JSON string
Some people might think why I am writing so much about basics but the things but in reality I got lot of questions through email and other communities about very basic things. So I thought instead of replying them into single thread. It is a good idea to write blog post about it and as a result...
ASP.NET Checkbox button Attributes in JavaScript.
This is a follow up post I have just written before some time- Getting tooltip of ASP.NET Radio button in java script. In that post I have explained that to render all properties properly in ASP.NET renders checkbox and radio button surrounded by Span tag. So one of the friend message me on facebook...
Getting tooltip of ASP.NET Radio button in java script.
This post in regards to a question that I have answered on stack overflow. Getting Tool tip of the Radio button in JavaScript. Where user asks why he is not able to get tooltip with document.GetElementById and Client Id of ASP.NET Radio button control like following.
document.getElementById('<%=...
Sunday, August 11, 2013
Knockout.js Introduction
We all know about jQuery It makes Java Script developers life very easy. But in Some scenarios jQuery does not help. For example there is no way where UI and data communicates with each other without writing complex code. Here JavaScript library knockout comes very handy. Knockout.js implement...
Sunday, July 14, 2013
How to to select all p in div with jQuery
Recently I was discussing something with friend about jQuery and question comes from friend that how we can select the all p in Div with jQuery. With jQuery selector its very easy to select all p in div tag. But from this conversation I came to know that lots of people does not know about it. So I thought it will be great idea to write a blog post about it.
As you know with jQuery selectors we can...
Wednesday, June 26, 2013
Extending jQuery with jQuery.Extend
We all know that jQuery is a great JavaScript framework. It’s provide lots of functionalities and most used framework in programming world. But sometimes we need a functionality that does not provided by jQuery by default. At that time we need to extend jQuery. We can extend jQuery with jQuery.Extend Method. You can get complete information from the following link.
http://api.jquery.com/jQuery.extend/
It...
Saturday, February 2, 2013
How to hide title bar in jQuery UI modal dialog?
jQuery UI is a great open source set of user controls and it’s very easy to use. Recently one of my friend asked question that how we can hide title bar in jQuery UI Dialog? so this post is a reply to him. Let’s create a simple html and use jQuery Ui modal dialog. Following is a code for that.
Here in the above code you can see I have create a hello world pop up with asp.net jQuery CDN.
<html>
<head>
...
Friday, December 23, 2011
Async file upload with jquery and ASP.NET
Recently before some I was in search of good asynchronous file upload control which can upload file without post back and I have don’t have to write much custom logic about this. So after searching it on internet I have found lots of options but some of the options were not working with ASP.NET and...
Thursday, September 8, 2011
Jquery and ASP.NET- Set and Get Value of Server control
Yesterday one of my reader asked me one question that How can I set or get values from Jquery of server side element for example. So I decided to write blog post for this. This blog post is for all this people who are learning Jquery and don’t know how to set or get value for a server like ASP.NET...
Saturday, January 22, 2011
JQuery UI 1.8.9 new version launch today
JQuery UI contains great controls and it’s very useful when developing sites. Today a new version of Jquery UI is launched.You can find more details about that from following link.http://blog.jqueryui.com/2011/01/jquery-ui-1-8-9/It’s contains Bug fixes for Datepicker, Tabs and other things and also...
Sunday, January 9, 2011
Converting a generic list into JSON string and then handling it in java script
We all know that JSON (JavaScript Object Notation) is very useful in case of manipulating string on client side with java script and its performance is very good over browsers so let’s create a simple example where convert a Generic List then we will convert this list into JSON string and then we will...
Sunday, April 4, 2010
How to call a web service from JavaScript with asp.net Ajax
Calling a web service from JavaScript was easy task earlier you need to create a proxy class for JavaScript and then you need to write lots of java script but with Microsoft ASP.NET Ajax you can call web services from JavaScript very easily with some line of JavaScript and even better you can also handle...
Thursday, July 23, 2009
Javascript is not working with update panel- Microsoft Ajax
As an asp.net developer we all must have to use update panel for the ajaxifying our application in today’s ajax world. No one likes postaback now. But when we add the some content with the java script under update panel then some times it’s stop working because of the update panel server side behavior. So what we should do? … Here is the trick. Normally we code java script in the asp.net page like...
Thursday, May 28, 2009
JavaScript Events
Following are some of the events that are provided by JavaScript OnChange: Occurs when user changes values in an input control. In text controls this event fire after user changes focus to other controls OnClick: This event occurs when a user clicks on the button control.This event is also occurs when a form is submitted to server. OnMouseOver: This events occur when user moves the mouse pointer...