title: dynamically assign click event for anchor tag in asp.net
body: <p>hey guys, recently i was working on an application where i was having large string and need to be divided in chuck of string, and should be kept in a div, just the purpose was giving pagination to the large string, so i wrote code to split the whole string into multiple chunks and added the chunk of string in a div created at runtime, and also disabled all the other div's except the first, and also given page numbers in the footer for changing pages, but now my issue is i am using anchor tags using HTMLAnchor from code behind, now whenever user clicks on any page that div should be set to display and other all should get hide, i am not getting how should i do this from code behind, i have done everything from code behind, from creating div to hidding div... </p>
  
  <p>Please help how should i assign links for the anchor tag, to make it work..</p>
  
  <p>Thanks and regards
  Abbas Electricwala.</p>