Using LinkedIn JavaScript API for User Authentication and Profile Retrieval
Integrating third-party sign-in with a website is quite common these days. Just like Facebook and Twitter, LinkedIn too allows you to ingrate LinkedIn authentication with your own website. One simple way to achieve such an integration is to use LinkedIn JavaScript API. Using this API you can authenticate a user with their LinkedIn credentials and also retrieve their profile and connection information. Once retrieved you can use that information to integrate LinkedIn authentication with your website's security and membership framework.
Posted On : 11 Mar 2014
One Time Event Handlers using jQuery and ASP.NET
Most of the times the JavaScript event handlers attached with an element fire every time the event under consideration is raised. For example, if you wire a click event handler to the click event of a button then clicking that button will invoke the event handler function every time. At times, however, this behavior is undesirable. You can unsubscribe the click event handler when it gets executed the first time. That means you need to create event handlers that fire only one time. Luckily, jQuery provides an inbuilt way to accomplish this task - one() method.
Posted On : 06 Mar 2014
Displaying File Upload Progress using jQuery UI Progressbar Widget
While uploading large files you may need to display the progress of the file upload operation to the end user. This can be done using HTML5 and jQuery UI's Progressbar widget. While HTML5 also has progress element that can be used to render a progress bar, jQuery UI's Progressbar widget offers more configuration and theming options. In this post you will use XMLHttpRequest (Level 2) object to upload files to the server. The XMLHttpRequest object now supports file upload related events such as progress that can be used to track file upload progress.
Posted On : 28 Sep 2013
Displaying a Progress Indicator During jQuery Ajax Calls
Unlike traditional full page postback, where a user can easily understand that the page is being processed, Ajax based communication doesn't give any clue to the user about the processing being done in the background. This is especially important when the Ajax calls involve lengthy server side processing. It would be nice if you show some progress indicator or wait message to the end user while making Ajax calls. To that end this article shows one simple way of displaying such a progress indicator.
Posted On : 20 Sep 2013
Three ways of attaching success, failure and completion callbacks to jQuery $.ajax()
While using jQuery $.ajax you often need to perform some custom operations upon successful completion of the Ajax request. You may also need to handle errors (if any) that are thrown while issuing the request. To that end jQuery allows you to wire three callback functions. Moreover these callbacks can be wired using three distinct techniques as illustrated in this article.
Posted On : 31 Aug 2013
Implementing MVVM Pattern in Web Applications Using Knockout
Data driven web sites rely heavily on JavaScript and JavaScript based libraries such as jQuery. The client side programming tends to become complex as the user interface becomes more and more rich. In such situations features such as data binding and dependency tracking are highly desirable. With open source libraries such as Knockout it is quite easy to fulfill these requirements in ASP.NET web sites. This article is intended to give you a quick understanding of what Knockout is and how to get up and running with it in your ASP.NET applications.
Posted On : 09 Jul 2012
Tapping the Juice UI with ASP.NET
jQuery and jQuery UI are quite popular JavaScript libraries amongst ASP.NET developers. jQuery UI provides several widgets and plugins that help you develop professional looking websites quickly and easily. Though ASP.NET developers have been using jQuery UI in their websites, one downside of the jQuery UI from an ASP.NET perspective is that it is purely a client side library. ASP.NET web forms often rely on server side processing, and configuring the jQuery UI widgets can become tedious in such cases. Juice UI attempts to provide a solution in such cases. Juice UI essentially acts as a wrapper over jQuery UI widgets so that they can be accessed in your server side script just like any other server control. This article gives you a quick overview of Juice UI components and shows how they can be used in ASP.NET Web Forms applications.
Posted On : 12 Apr 2012
Applying AJAX to your ASP.NET Web Sites Using jQuery
With more and more web applications making use of jQuery and AJAX based techniques for communicating with the server, it has become important for any ASP.NET developer to have good grasp of jQuery AJAX techniques that can be used in ASP.NET. AJAX allows you to communicate with the server without requiring full page post back. AJAX requests perform some operation in the background while a user is still working with a page. AJAX techniques not only improve the overall performance of your web application but they can also make your web pages more responsive. jQuery offers a variety of ways to make AJAX calls to the server and this article discusses many of them as applicable to ASP.NET.
Posted On : 06 Apr 2012
Add a notification bar to your website using jQuery
Many websites display notifications or prompts in what is called as information bar or notification bar. Such an information bar typically contains some text, graphics or any other HTML markup along with a close button. The information bar is always visible and is flushed with the top edge of the browser window. Once user closes it it remains hidden for the active session. Such an information bar can be easily developed using jQuery. The remainder of this article explains how.
Posted On : 20 Jan 2012
Create a Simple Task-List Application Using ASP.NET, WCF, and jQuery, Part 2
In the first part of this two-part series, published in the June 2011 issue, we developed a Windows Communication Foundation (WCF) service that takes data in and out of the Tasks table. We created a web form for displaying the tasks in a tabular format using the jQuery Templates plug-in. Finally, we developed a DatePicker plug-in to pick due dates. In this second part, we'll make the task-list application functional by writing jQuery code, including a few helper functions, code to call WCF service methods, and code to filter the task-list table.
Posted On : 15 Jul 2011