RainforesNET News Scroller

A new start

A FREE ASP.net web control is now available. There are TWO news scroller web controls that you can use it in any of your ASP.net page.
If you found any bug, incompatibity in any web browser or suggestions, Please feel free to drop a message in the forum.

Basic News Scroller Page News Scroller
Download
Download News Scroller assembly file (32kb) -
aspnetcs_NewsScroller.dll for ASP.NET 1.1.
aspnetcs_NewsScroller.dll for ASP.NET 2.0.

If you are looking for a sample VS.net sample project file (Visual Studio 2003). Here you are! Just click here (38kb) and follow the simple guide in Quick Guide.txt.
Web Server Requirements
Having problem using News Scroller in ASP.NET 2.0?

Let's discuss in here!

How to install into your Visual Studio 2002/2003 ?
  • Save aspnetcs_NewsScroller.dll into any folder.
  • Open your development solution(.sln) or project in Visual Studio.
  • Open the Web Form that you intended to add News Scroller web control.
  • right click on the toolbox, then click 'Add/Remove Items..'
  • Click Browse button and browse to the folder that you placed aspnetcs_NewsScroller.dll file.
  • Select the aspnetcs_NewsScroller.dll file, then click 'Open'
  • Click 'OK' on the Customize Toolbox dialog.
  • There will be 2 new web controls added into your toolbox. "PageNews" and "BasicNews".
  • Drag "PageNews" or "BasicNews" News Scroller into your web form and have fun!
How to install into your Visual Studio 2005 Express ?
  • Well, it is nothing much different from Visual 2002/2003 but Microsoft usually likes make some changes so that you know you are using a new version.
  • Save aspnetcs_NewsScroller.dll into any folder.
  • Open your development solution(.sln) or project in Visual Studio.
  • Open the Web Form that you intended to add News Scroller web control.
  • right click on the toolbox, then click 'Choose Items...'
  • Click Browse button and browse to the folder that you placed aspnetcs_NewsScroller.dll file.
  • Select the aspnetcs_NewsScroller.dll file, then click 'Open'
  • Click 'OK' on the Customize Toolbox dialog.
  • There will be 2 new web controls added into your toolbox. "PageNews" and "BasicNews".
  • Drag "PageNews" or "BasicNews" News Scroller into your web form and have fun!
But how to use it ?
1. Let's first look at Basic News Scroller (BasicNews) and learn by example.

The most important property is "NewsMessage" property. In order to produce the news message as above, you need modify the "NewsMessage" property. You can either modify it from Properties or from the code behind file (.cs or .vb).

Example of assigning "NewsMessage" property in C# code behind file.
BasicNews1.NewsMessage="<font face=\"Georgia\" size=\"2\">This is <font color=\"#FF0000\"><b>Basic News Scroller</b></font>. <br>It is given from RainForestnet.com.<hr> If you would like express your gratitude on my work, <br>try to figure out how to save our rainforest. We have done bad enough to our mother earth.<p><font face=\"Arial Black\" size=\"6\">Thank You!</font></p></font>";

2. About Page New Scroller, you need to have a XML file to maintain the contents of news. Just download this sample XML file into your web directory. - xmlfile1.xml.

Include the xmlfile1.xml into your project and followed by set the "NewsFile" property to the desired XML file in your web directory.

Last but not least, Preview in your web browser.

Release History
Date Version Descriptions
27.Sep.2005 Beta First Beta Release.
27.Feb.2006 1.0.2096.40564 1.0 Release.
19.Jul.2006 1.0.2391.35375 Recompile for .net 2.0
Also listed in..
411ASP.NET ASP.NET