19 items found in the Javascript Category

What ASP.NET Can And Cannot Do

Monday, November 23, 2009 10:26 PM

Javascript General ASP.NET 3.5

If you are new to web development and choose ASP.NET Web Forms as your starting point, you may be forgiven for not understanding how ASP.NET works, and what its role is. This article covers the basics which should help you discover your limits.

Click to read more about What ASP.NET Can And Cannot Do ...

Viewed 30625 times

3 Comments for this item

jQuery Star Rating with ASP.NET MVC

Tuesday, September 8, 2009 1:40 PM

AJAX Javascript jQuery ASP.NET MVC

There are a number of jQuery star rating plugins to choose from. All have their pros and cons. For this site, I decided to implement the one from FyneWorks because it allows for split stars. Here's how I did it.

Click to read more about jQuery Star Rating with ASP.NET MVC ...

Viewed 52537 times

13 Comments for this item

Build your own Whois Lookup with ASP.NET and jQuery

Tuesday, April 14, 2009 10:39 PM

AJAX Javascript ASP.NET 3.5 jQuery

IP addresses can reveal a lot about your web visitors. For an ecommerce site, the owner or registrant of the visitor's IP address can be very useful information. You could paste each visitor IP address into one of the many free IP Lookup sites available, but that can be time-consuming and tedious. Or you could build your own lookup. This article shows how this can be done pretty quickly.

Click to read more about Build your own Whois Lookup with ASP.NET and jQuery ...

Viewed 71653 times

9 Comments for this item

Lazy Loading jQuery Tabs with ASP.NET

Monday, March 2, 2009 7:30 AM

AJAX Javascript ASP.NET 3.5 jQuery

This article looks at efficient use of jQuery tabs when displaying data. Specifically, it covers how to lazy-load data, so that it is only accessed and displayed if the tab is clicked.

Click to read more about Lazy Loading jQuery Tabs with ASP.NET ...

Viewed 118000 times

28 Comments for this item

Persisting the position of jQuery Draggables in ASP.NET

Wednesday, February 4, 2009 10:29 PM

AJAX Javascript ASP.NET 3.5 jQuery

It was bound to happen - you knock up an article on jQuery draggables one day, and the next, someone like Jim ;-) comes along and asks about persisting the position of the dragged item across Postbacks, or even sessions. I suppose it's my fault - I mentioned using draggables in a previous life in the context of saving the position, so it's only fair I share how that's done.

Click to read more about Persisting the position of jQuery Draggables in ASP.NET ...

Viewed 32113 times

16 Comments for this item

Experimenting with jQuery Draggables and ASP.NET

Sunday, February 1, 2009 8:12 AM

Javascript ASP.NET 3.5 jQuery

One of the keystones of modern AJAX-enabled web sites is Drag and Drop. This article looks at the current state of Draggables that form part of the jQuery UI Library.

Click to read more about Experimenting with jQuery Draggables and ASP.NET ...

Viewed 44180 times

6 Comments for this item

Preventing duplicate User Names with ASP.NET and jQuery

Saturday, January 24, 2009 6:18 PM

AJAX Javascript ASP.NET 3.5 jQuery

It's a common problem: you have a registration form, but you want to prevent user names or other values from being used more than once. You need a user-friendly way to prevent duplicate values being submitted. This is where the simplicity of jQuery excels.

Click to read more about Preventing duplicate User Names with ASP.NET and jQuery ...

Viewed 39013 times

24 Comments for this item

Ajax with Classic ASP using jQuery

Saturday, January 17, 2009 11:13 PM

Classic ASP VBScript AJAX Javascript jQuery

My simple article on Ajax with Classic ASP is one of the most popular on this site. So I thought it's about time I updated it to show how to use jQuery to Ajaxify a Classic ASP page. Since I did that, the jQuery version became even more popular but needed to be brought up to date. This latest version uses a couple of suggestions that have been provided by commentors to improve the code. I have also added a download which contains all the code needed to run the samples.

Click to read more about Ajax with Classic ASP using jQuery ...

Viewed 150031 times

12 Comments for this item

Cascading DropDownLists with jQuery and ASP.NET

Tuesday, January 13, 2009 8:47 AM

AJAX Javascript ASP.NET 3.5 jQuery

Cascading DropDownLists or dependent dropdowns are the signature dish for AJAX applications. I spent quite a while fiddling to try to get some to work, before stumbling across a life-saving jQuery plugin that makes working with DropDownLists on the client-side a breeze. This article shows how it all works, and makes use of the WebService I introduced in my previous jQuery article.

Click to read more about Cascading DropDownLists with jQuery and ASP.NET ...

Viewed 111491 times

13 Comments for this item

Handling JSON Arrays returned from ASP.NET Web Services with jQuery

Saturday, January 10, 2009 9:09 AM

AJAX Javascript ASP.NET 3.5 jQuery ASP.NET Web Forms

There appear to be many articles showing how to use jQuery with ASP.NET Web Services around, but the vast majority of them illustrate the use of PageMethods that return a single value - typically "Hello World!" or the current date and time. Not much use in the real world, where you may more often need to call a service that returns a collection of complex objects. Here are a couple of examples that look at playing with more than just simple values.

Click to read more about Handling JSON Arrays returned from ASP.NET Web Services with jQuery ...

Viewed 252688 times

29 Comments for this item

Upload and Crop Images with jQuery, JCrop and ASP.NET

Monday, January 5, 2009 1:54 PM

C# AJAX Javascript ASP.NET 3.5 jQuery

I got given jQuery In Action for Christmas. By nature, I'm kind of a late adopter, and I'm already regretting this fact. jQuery has been around for some time, and I wished I had looked at it sooner. It's a fantastic library that really simplifies Javascript development, and is already attracting a goodly number of plug-ins. JCrop is one such, and while it hasn't yet reached version 1.0, it is remarkably easy to use as a web based image cropper. Here's how to put jQuery, JCrop and a FileUpload control together to allow users to upload images and crop them.

Click to read more about Upload and Crop Images with jQuery, JCrop and ASP.NET ...

Viewed 225222 times

113 Comments for this item

A DataBound Javascript News Ticker for ASP.NET

Thursday, December 25, 2008 2:18 PM

Javascript ASP.NET 3.5

It's funny how requirements come along like buses in the ASP.NET forums - you suddenly get the same thing asked for by two or more people in quick succession. Recently, a couple of people asked for help creating a Javascript ticker, like the one at the top of the BBC News site, which displays a selected number of headlines drawn from a database. I had adapted the code from the BBC site to create a similar widget that displayed the most recent threads in a message board on an old Classic ASP site some time ago. It's about time I dusted it off and updated it for use in an ASP.NET application.

Click to read more about A DataBound Javascript News Ticker for ASP.NET ...

Viewed 41802 times

27 Comments for this item

ViewState, form fields, labels and Javascript

Saturday, August 25, 2007 12:34 PM

ASP.NET 2.0 Javascript ASP.NET Web Forms

An interesting question came up on the ASP.NET forums asking why a TextBox which has its value changed by client-side Javascript persists those changes across postbacks, while a Label does not. And in a nut shell, this question covered two of the biggest causes of confusion among newcomers to ASP.NET: the difference between ViewState and IPostBackDataHandler; and the difference between client-side operations and server-side operations.

Click to read more about ViewState, form fields, labels and Javascript ...

Viewed 47508 times

5 Comments for this item

Javascript functions for form fields

Saturday, May 12, 2007 10:54 PM

Javascript

A number of useful functions for accessing various properties and values of form fields.

Click to read more about Javascript functions for form fields ...

Viewed 9013 times

3 Comments for this item

ASP.NET and Ajax - using XmlHttpRequest

Tuesday, May 8, 2007 5:32 PM

ASP.NET 2.0 AJAX Javascript

If you are not interested in using the ASP.NET AJAX library offered for ASP.NET, but would like to feature small amounts of AJAX functionality on your pages, you can do this easily with some javascript and a receptive page.

Click to read more about ASP.NET and Ajax - using XmlHttpRequest ...

Viewed 69996 times

9 Comments for this item