J
Jeremy
I have an ASPX page with a bunch of System.Web.UI.WebControls.Button
controls on it. By default, clicking on any of these causes a Postback. I'd
like to have it so that for a couple of these buttons, no PostBack occurs -
and rather some client-side script is executed (with no postback
subsequently occuring). I have wired up the client-side script to the
Buttons in question using Attributes.Add(blah blah blah) - now I just need
to somehow prevent the Postback from occuring. I looked to set
AutoPostBack="false" - but that isn't apparently an option. How can I have
Buttons that do not trigger a postback?
Thanks.
controls on it. By default, clicking on any of these causes a Postback. I'd
like to have it so that for a couple of these buttons, no PostBack occurs -
and rather some client-side script is executed (with no postback
subsequently occuring). I have wired up the client-side script to the
Buttons in question using Attributes.Add(blah blah blah) - now I just need
to somehow prevent the Postback from occuring. I looked to set
AutoPostBack="false" - but that isn't apparently an option. How can I have
Buttons that do not trigger a postback?
Thanks.