.NET news » Search results

Search results for query "news headlines" (10):

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 / ASP.NET News Ticker   Tags: GUI

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 News Ticker   Tags: Examples

Making Sense of the XML DataType in SQL Server 2005

As database developers, many of us have had to dip our feet into the wide ocean of XML.It should come as good news that in SQL Server 2005, you can store XML in the database with a new XML datatype. Although this is good news, many developers have been storing XML in the database for some time now. Without implicit support for XML, developers have been shoving XML documents into text fields since XML's inception.
2006-04-20 19:00:00   Source: Making Sense of the XML DataType in SQL Server 2005   Tags: XML Database

Bulky Data Is No Problem Thanks to Compression/Decompression in .NET 2.0

If you never need to use compression for your applications, consider yourself lucky. For the rest of us, the good news is that .NET 2.0 has two new classes to handle compression and decompression streams. Find out when, and how, to use these valuable facilities.
2006-06-20 23:08:32   Source: Bulky Data Is No Problem Thanks to...   Tags: Examples

Consuming External Web Services with Microsoft Atlas

To consume external Web services in Atlas, you build a server-based Web service proxy to the service. The good news is that you can leverage Visual Studio and Atlas features to handle most of the work.

Working Around ASP.NET's HyperLink ImageUrl Bug

This article shines the light on a bug I came across in the ASP.NET HyperLink control implementation. In particular, when using URL rewriting the HyperLink control's ImageUrl property can be, in certain circumstances, incorrectly rewritten. The good news is that there is a simple workaround that's made possible by the flexible architecture of ASP.NET.
2008-01-29 18:00:00   Source: Working Around ASP.NET's HyperLink ImageUrl Bug   Tags: Bugs ASP.NET

Super Context Menu

Long time ago, I wondered how Microsoft Access put an Edit control on the context menu! Then I got another idea ... why don't we use any control(s) on the context menu? This will make the user interface easier to use, learn and increase productivity. The good news here is that, you can make it the same way you design a user control or a form using the Visual Studio designer..
2008-06-11 12:12:00   Source: Super Context Menu   Tags: Visual Studio Addins

Online Article: ASP.NET 2.0 Web Part Infrastructure

Online Article: ASP.NET 2.0 Web Part Infrastructure

Web applications today do a number of things. They could be a banking site, a content management system, or a news Web site. In spite of the diversity of Web applications available today, it almost always makes sense to break a Web page into smaller, reusable widgets

2006-10-19 19:00:00   Source: Online Article: ASP.NET 2.0 Web Part Infrastructure   Tags: ASP.NET

Windows with C++: Thread Pool Synchronization

Blocking operations are bad news for concurrency. You need a way for the thread pool to wait on your behalf without affecting its concurrency limits. It can then queue a callback once the resource is available or the time has elapsed. Along with work objects, the thread pool API provides a number of other callback-generating objects. Here, Kenny Kerr shows how to use wait objects.
2011-10-25 19:00:00   Source: Windows with C++: Thread Pool Synchronization   Tags: Other

Converting XAML-Based Applications to Windows 8

The big news about Windows 8 is its new mode based on the Metro design language and UI paradigm. Metro apps are based on the new WinRT (Windows Runtime) and can be built in two distinct ways. One utilizes HTML5 and JavaScript, while the other uses XAML for the user interface definition and C#, Visual Basic, or native C++ as the language behind the scenes. Not surprisingly, the later has often been compared to other XAML-based setups, in particular Silverlight, but also WPF. After all, “XAML is XAML,” the reasoning goes, so it should not be difficult to move both WPF/Silverlight skills as well as actual applications into the new world of WinRT. But is that really so?

2012-06-26 18:00:00   Source: Converting XAML-Based Applications to Windows 8   Tags: Silverlight
1