actually if you are using the asp button, the page just refreshes and nothing happens,
<asp:Button ID="btnID" runat="server" Text="Button" />
to get it working i used the html button
<input id="btnID" type="button" value="button" />
i don't know yet on how or why it doesn't able to function if using the asp button.