how can a post-back be prevented for a button?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

my web page consists of a timer along with a number of buttons ( application
for tambola game). the timer raises an event on it's expiry time. that is
fine. but i doun't what some of the buttons to throw the post-back(refreshing
of page every time). i need only the page to refresh only when the timer
expires. but not for the (some) button clicks.

this web application is developed in asp.net present version.
 
On of the solutions can be declaring buttons that do not need to throw
postback as client ones ( do not write runat="server" ) and then control
everything from js on the client-side.
 
Back
Top