RssFeed Demo

This demo illustrates using the RssFeed control to display the items from an RSS syndication feed. Note that it doesn't look particularly pretty - in the next demo we'll see how to use the RssFeed control's properties to improve the aesthetic appearance.


Scott On Writing.NET
ERROR: “Index was out of range” when Accessing the DataKeys Collection in a Paged GridView11/14/2013 12:45 PM
ASP.NET Bundling and Minification Returning File Not Found (404)10/18/2013 8:19 PM
Rendering Lists in Irregular Columns Using iText / iTextSharp10/15/2013 2:35 PM
IIS7, Global Themes, CSS Files and Subfolders8/2/2012 11:12 AM
ERROR: Resource name XXX cannot be used more than once5/2/2012 2:43 PM
Using Log Parser to List All Blocked IP Requests4/7/2012 9:02 PM
Uploading a Variable Number of Files from an ASP.NET Web Page3/30/2012 4:15 PM
Using Templates to Display Boolean Values as Yes/No Options11/21/2011 5:11 PM
Searching SQL Server Stored Procedure and Trigger Text9/30/2011 9:16 AM
ASP.NET Training in San Diego on Saturday, September 24th9/15/2011 11:19 AM


Source Code
<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %>
<script language="C#" runat=server>
   private void Page_Load(object sender, System.EventArgs e)
   {
      if (!Page.IsPostBack)
      {
         sow.DataSource = "http://scottonwriting.net/sowblog/Rss.aspx";
         sow.DataBind();
      }
   }
</script>

<skm:RssFeed id="sow" runat="server"></skm:RssFeed>


[Return to the article...]