Hi DaveDave,
I have created sample that full-fill your requirement.
HTML
<div class="thumbnail">
<a href="" rel="#slidingDiv" id="hrefLiveFeedsOne" runat="server" onserverclick="LiveFeedClicked">
<img src="~/images/Portfolio01.png" alt="project 1" id="imgLiveFeedsTwo" runat="server"
class="dashboardimages" />
<h3>
<asp:Label ID="lblLiveFeedsTwo" runat="server" Text="LiveFeeds TWO"></asp:Label>
</h3>
</a>
</div>
Code
protected void LiveFeedClicked(object sender, EventArgs e)
{
DataTable dt = new DataTable();
dt.Columns.Add("Id");
dt.Columns.Add("Identity");
dt.Rows.Add("1", "http://timesofindia.indiatimes.com/articleshow/50354795.cms");
string link = string.Empty; ;
for (int i = 0; i < dt.Rows.Count; i++)
{
link = dt.Rows[0]["Identity"].ToString();
hrefLiveFeedsOne.HRef = link;
}
string id = link.Split('/', ' ').Last().Split('.', ' ')[0];
}
Screenshot
