ASPxNewsControl - Data Binding

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

The ASPxNewsControl control was primarily designed to display a list of news/product announcements on a web page.

In this demo, the ASPxNewsControl control 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 ItemSettings.NavigateUrlFormatString property of the ASPxNewsControl is set in a specific manner in order to define the desired URLs for tail texts. (See ASPX code)

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