Example #1
0
 public void topics_TopicChanged(object sender, ViewTopicsControl.TopicChangedEventArgs e)
 {
     try
     {
         if (TopicChanged != null)
         {
             TopicChanged(sender, e);
         }
         else
         {
             Response.Redirect(string.Format("?id={0}", e.TopicId));
             // panelTopics.Update();
         }
     }
     catch (Exception ex)
     {
         ReportException(ex);
     }
 }
Example #2
0
 public void topics_TopicChanged(object sender, ViewTopicsControl.TopicChangedEventArgs e)
 {
     try
     {
         TopicId = e.TopicId;
         GetData(sender, e);
         panelPosts.Update();
     }
     catch (Exception ex)
     {
         ReportException(ex);
     }
 }