Posted on: 1/31/2014 2:02:12 PM | Views : 603

Hi,
I have a GridView with an ItemTemplate.  Inside the ItemTemplate I have an anchor tag, which is wrapped around an ImageButton:
 <a href="#results">
 <asp:ImageButton ID="btnSelect" OnClick="btnSelect_Click" CommandName="Select" ImageUrl="~/Images/view-report.png" runat="server" />
 </a>
When I click the button, I want some server-side code to execute, and then I want the page to jump to the generated results (which appear further down the page).  The server code is working, but it isn't navigating to the results grid.  If I replace the above with a simple anchor, it jumps to the right place, but obviously the server code isn't executed.
Anyone got any ideas as to how I can execute the server side code AND jump to the results grid?

Go to the complete details ...