Page_Load when using OnClientClick
am 31.01.2008 18:31:08 von Ra Carteri have a standard html button in my ascx control in asp.net 2.0 using
this syntax:
for some reason clicking this button causes a server side event
(OnInit for example) with IsPostBack == false. i also tried using this
syntax to create the button:
this also causes the server side event. my questions are:
1. why does server side code run when clicking this button
2. why is IsPostBack equal to false?
3. how do i prevent the server side events?