A common way of displaying a list is by making a table in html. I have made a table in html and using the <% %> tags to put the values for the list. like so (example),
<table>
<tr><td>First Name</td><td>LastName</td><td>Phone</td></tr>
<% for each item in employees %>
<tr>
<td><% =item.FirstName %></td><td><% =item.LastName %></td><td><% =item.Phone %></td>
</tr>
<% next %>
</table>
Now I don't want to do this each time I post back or click buttons. Therefore I used if autopostback = false then execute the code.
What I want to do is hit a specific button to execute this piece of client-side code. I am new to using asp.net, vb.net is my primary language but I have also done some php.