This example demonstrates how to add hyperlink in repeater control to pass query string on a single click. I will extend my previous article Add Confirm popup and Repeater Server control in ASP.NET using jQuery.
Here’s the code snippet which I have append in my previous article.
<td>
<a href="<%# Eval("Title", "Repeater-Hyperlink.aspx?Title={0}") %>">
<%# ((Book)Container.DataItem).Title %></a>
</td>
The following code link shows you how to get query string from url.
if (Request.QueryString["Title"] != null)
{
string Title = String.Format("<h3>Title: {0}</h3>", Request.QueryString["Title"].ToString());
Response.Write(Title);
}
Output

Download
Repeater-Hyperlink.rar (1.63 kb)
Click here to see live demo