title: How to auto-refresh a div of webpage
body: <p>I am parsing xml of rss feed and displaying it. I want to refresh a div which shows recent news. I am using update panel and asp timer to do this(please refer the below code)
  but for each refresh entire page is getting refreshed.</p>
  
  <p>Can anyone let me know where i am going wrong</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
  
      string loggedinuser = "experiment4";
      Read_Rss(loggedinuser);
      var rssFeed = from el in doc.Elements("rss").Elements("channel").Elements("item")
                    orderby datetime(el.Element("pubDate").Value) descending
  
                    select new
                    {
                        Title = el.Element("title").Value,
                        Link = el.Element("link").Value,
                        Description = replace_other(el.Element("description").Value),
                        // Image = regex(el.Element("description").Value),
                        Image =
                        el.Element(media + "thumbnail") != null ?
                        el.Element(media + "thumbnail").Attribute("url").Value :
                        el.Element(media + "content") != null ?
                        el.Element(media + "content").Attribute("url").Value :
                        regex(el.Element("description").Value) != null ?
                        regex(el.Element("description").Value) : null,
                        PubDate = datetime(el.Element("pubDate").Value),
                    };
      lvFeed.DataSource = rssFeed;
      lvFeed.DataBind();
      Data_Load(sender, e);
  }   
  
  
  protected void Data_Load()
  {
      //  try
      //{
      string loggedinuser = "experiment4";
      Read_Rss(loggedinuser);
      var rssFeed = from el in doc.Elements("rss").Elements("channel").Elements("item")
                    orderby datetime(el.Element("pubDate").Value) descending
  
                    select new
                    {
                        Title = el.Element("title").Value,
  
                    };
      newFeed.DataSource = rssFeed;
      newFeed.DataBind();
  
  }
  
  
  
    &lt;div id="leftcolumn"&gt;
              &lt;asp:ListView runat="server" ID="lvFeed"&gt;
                  &lt;LayoutTemplate&gt;
                      &lt;ul&gt;
                          &lt;li runat="server" id="itemPlaceHolder"&gt;&lt;a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/LayoutTemplate&gt;
                  &lt;ItemTemplate&gt;
                      &lt;div class="box"&gt;
                          &lt;strong&gt;
                              &lt;%#Eval("Title") %&gt;
                              : &lt;/strong&gt;
                          &lt;br /&gt;
                          &lt;br /&gt;
                          &lt;img src="&lt;%#Eval("Image")%&gt;" alt="" id="photo" class="photo" onload="imageload(this,0,100)"
                              onerror="onImgError(this,0)"&gt;&lt;/img&gt;
                          &lt;%#Eval("Description")%&gt;&lt;a href="&lt;%#Eval("Link") %&gt;"&gt;readmore&lt;/a&gt;&lt;br /&gt;
                          &lt;br /&gt;
                          &lt;br /&gt;
                      &lt;/div&gt;
                  &lt;/ItemTemplate&gt;
              &lt;/asp:ListView&gt;
          &lt;/div&gt;
  
          &lt;div id='rightcolumn'&gt; 
              &lt;div id='side'&gt;
                  &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;
                  &lt;/asp:ScriptManager&gt;
                  &lt;asp:UpdatePanel ID="UpdatePanel2" UpdateMode="Conditional" runat="server"&gt;
                      &lt;ContentTemplate&gt;
                          &lt;asp:Timer ID="Timer2" OnTick="Data_Load" runat="server" Interval="300"&gt;
                          &lt;/asp:Timer&gt;
                          &lt;asp:ListView runat="server" ID="newFeed"&gt;
                              &lt;LayoutTemplate&gt;
                                  &lt;ul&gt;
                                      &lt;li runat="server" id="itemPlaceHolder"&gt;&lt;a&gt;&lt;/li&gt;
                                  &lt;/ul&gt;
                              &lt;/LayoutTemplate&gt;
                              &lt;ItemTemplate&gt;
                              &lt;div class="small"&gt;
                                  &lt;%#Eval("Title") %&gt;
                                  :&lt;a href="&lt;%#Eval("Link") %&gt;"&gt;readmore&lt;/a&gt;&lt;br /&gt;
  
                                  &lt;/div&gt;
                                  &lt;br /&gt;
                              &lt;/ItemTemplate&gt;
                          &lt;/asp:ListView&gt;
                      &lt;/ContentTemplate&gt;
                  &lt;/asp:UpdatePanel&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>