.NET news » Search results

Search results for query "jquery" (40):

Use jQuery and ASP.NET to Build a News Ticker

Many websites display a news ticker of one sort or another. A news ticker is a user interface element that displays a subset of a list of items, cycling through them one at a time after a set interval. For example, on Cisco's website there is a news ticker that shows the company's latest news items. Each news item is a one sentence link, such as "Desktop Virtualization Gathers Steam," or "Cisco Reports First Quarter Earnings." Clicking a headline whisks you to a page that shows the full story. Cisco's news ticker shows one headline at a time; every few seconds the currently displayed headline fades out and the next one appears. In total, Cisco has five different headlines - the ticker displays each of the five and then starts back from the beginning.

This article is the first in a series that explores how to create your own news ticker widget using jQuery and ASP.NET. jQuery is a free, popular, open-source JavaScript library that simplifies many common client-side tasks, like event handling, DOM manipulation, and Ajax. This article kicks off the series and shows how to build a fairly simple news ticker whose contents can be specified statically in HTML markup or created dynamically from server-side code. Future installments will explore adding bells and whistles, such as: stopping the news ticker rotation when the mouse is hovered over it; adding controls to start, stop and pause the headlines; loading new headlines dynamically using Ajax; and packaging the JavaScript used by the ticker into a jQuery plugin.

Read on to learn more!

2010-11-30 18:00:00   Source: Use jQuery and ASP.NET to Build a...   Tags: Examples

Ajax with jQuery

A chapter excerpt from ASP.NET MVC 4 in Action
2012-06-01 14:04:00   Source: Ajax with jQuery   Tags: Ajax

MVC Bricks for ASP.net

Learn how to create a simple game using ASP.net MVC, jQuery, State Machine and CSS3 gradients
2011-04-28 22:48:00   Source: MVC Bricks for ASP.net   Tags: ASP.NET

Developing and Unit Testing an ASP.NET MVC 2 Application

An introduction with AJAX, jQuery, JSON, MvcContrib and NUnit
2010-06-15 13:37:00   Source: Developing and Unit Testing an ASP.NET MVC 2 Application   Tags: Testing

Pausing and Resuming the jQuery / ASP.NET News Ticker

Many websites display a news ticker of one sort or another. A news ticker is a user interface element that displays a subset of a list of items, cycling through them one at a time after a set interval. In December 2010 I wrote an article titled Use jQuery and ASP.NET to Build a News Ticker that explored how to create your own news ticker widget using jQuery and ASP.NET. The news ticker's content is defined as an unordered list (<ul>) where each list item (<li>) represents a news headline. Once the ticker's content is defined, having it cycle through the head lines is as simple as calling the JavaScript function startTicker(id, numberToShow, duration), which begins cycling the headlines in the unordered list with the specified id, showing numberToShow headlines at a time and cycling to the next headline every duration number of milliseconds.

This installment shows how to enhance the news ticker to enable pausing and resuming. With these enhancements, the ticker can be configured to automatically pause rotating its headlines when the user mouses over it, and to resume rotating them once the user mouses out. Similarly, with a bit of additional markup and script you can add pause and play buttons to a ticker, allowing a user to start and stop the ticker by clicking an image or button. Read on to learn more!

2011-02-01 18:00:00   Source: Pausing and Resuming the jQuery /...   Tags: GUI

Audio-Gallery-Suite (A complete audio gallery solution made with HTML5/CSS3/jQuery-JS/C#)

Audio-Gallery-Suite is a complete audio gallery solution made with HTML5/CSS3/Jquery-JS/C# that includes a web audio gallery and a software for managing the web audio gallery.
2012-03-09 15:40:00   Source: Audio-Gallery-Suite (A complete audio gallery solution...   Tags: Software

ASP.NET MVC Application In Action - DailyJournal

A simple visual task manager application using asp.net mvc and jquery.
2010-05-20 05:51:00   Source: ASP.NET MVC Application In Action - DailyJournal   Tags: ASP.NET

Cutting Edge: Build a Progress Bar with SignalR

SignalR, a jQuery plug-in being developed by the ASP.NET MVC team, presents some extremely promising functionality currently missing from the Microsoft .NET Framework.
2012-02-29 17:00:00   Source: Cutting Edge: Build a Progress Bar with SignalR   Tags: Build

Updating My Online Boggle Solver Using jQuery Templates and WCF

With WebForms, each ASP.NET page's rendered output includes a <form> element that performs a postback to the same page whenever a Button control within the form is clicked, or whenever the user modifies a control whose AutoPostBack property is set to True. This model simplifies web page development, but carries with it some costs - namely, the large amount of data exchanged between the client and the server during a postback. On postback the browser sends the values of all of its form fields (including hidden ones, like view state, which may be quite large) to the server; the server then sends back the entire contents of the web page. While there are some scenarios where this amount of information needs to be exchanged, in many cases the user has performed some action that requires far less information to be exchanged. With a little bit of forethought and code we can have the browser and server exchange much less data, which leads to more responsive web pages and an improved user experience.

Over the past several weeks I've been writing an article series on accessing server-side data from client script. Rather than rely solely on forms and postbacks, many websites use JavaScript code to asynchronously communicate with the server in response to the page loading or some other user action. The server, upon receiving the JavaScript-initiated request, returns just the data needed by the browser, which the browser then seamlessly integrates into the web page. There are a variety of technologies and techniques that can be employed to provide both the needed server- and client-side functionality. Last week's article, Using WCF Services with jQuery and the ASP.NET Ajax Library, explored using the Windows Communication Foundation, or WCF, to serve data from the web server and showed how to consume such a service using both the ASP.NET Ajax Library and jQuery.

In a previous 4Guys article, Creating an Online Boggle Solver, I built an application to find all solutions in a game of Boggle. (Boggle is a word game trademarked by Parker Brothers and Hasbro that involves several players trying to find as many words as they can in a 4x4 grid of letters.) This article takes the lessons learned in Using WCF Services with jQuery and the ASP.NET Ajax Library and uses them to update the user interface for my online Boggle solver, replacing the existing WebForms-based user interface with a more modern and responsive interface. I also used jQuery Templates, a JavaScript-based templating library that is useful for displaying the results from a server-side service.

Windows Azure Insider: Implementing Pub/Sub Applications with SignalR

In this second installment of her Web Development Report, Rachel Appel shows you how to create mobile-friendly HTML5 forms in ASP.NET MVC 4 projects that also use jQuery Mobile.
2012-04-01 18:00:00   Source: Windows Azure Insider: Implementing Pub/Sub Applications...   Tags: ASP.NET