title: how do i redirect from ItemDataBound event of repeater to another page by passing values
body: <p>i have a repeater control and on ItemDataBound event i want  fetch values in the repeater control and redirect to another page by passing those values as parameter.
  i have written the following code</p>
  
  <pre><code>Protected Sub rptData_ItemDataBound(ByVal source As Object, ByVal e As RepeaterItemEventArgs)
  
          Dim content As String = ""
          Dim url As String = ""
          Dim lbl1 As Label = TryCast(e.Item.FindControl("content"), Label)
          Dim lbl2 As Label = TryCast(e.Item.FindControl("url"), Label)
          content = lbl1.Text
          url = lbl2.Text
          Dim btn As LinkButton = CType(e.Item.FindControl("glossary"), LinkButton)
          btn.Attributes.Add("onclick", "Response.Redirect('glossary.aspx?cont=' + content + 'url=' + url)return true;")
  end su
  </code></pre>