Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Data Binding

4/12/1961 Soviets Launch First Man in Space
Major Yuri Alexeyevich Gagarin was fired from the Baikonur launch pad in Kazakhstan, Soviet central Asia, in the space craft… Details
5/29/1968 Manchester Utd win European Cup
Manchester United have become the first English club to win the European Cup beating Portuguese side Benfica by four goals… Details
7/16/1969 Astronaut Neil Armstrong's Speech on the Moon
The first human journey to the surface of the Moon began at Pad A, Launch Complex 39, Kennedy Space Center, Florida with… Details

The DevExpress ASP.NET News Control (ASPxNewsControl) control was primarily designed to display a list of news/product announcements on a web page.

In this demo, the ASPxNewsControl obtains its items from an XML file through an XmlDataSource component. The XML file (NewsControlRSS.xml) conforms to RSS 2.0 specifications. A click on any news item's tail text invokes a popup (ASPxPopupControl) window containing the full text of the news entry. The ASPxPopupControl is bound to the same data source as the ASPxNewsControl. The ASPxPopupControl's popup window is invoked via the client ShowWindow method, which is passed with the popup window's name as a parameter.

The NavigateUrlFormatString property of the ASPxNewsControl is set in a specific manner in order to define the desired URLs for tail text. (See the ASPX code.)

The ItemSettings.TailPosition property of the ASPxNewsControl is set to KeepWithLastWord. (See the ASPX code.)

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxImageAndDataNavigationDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxImageAndDataNavigationDemos