|
-
Oct 20th, 2011, 02:04 AM
#14
New Member
Re: How to prevent postback on button click.
wow, 6 years and still active...
Paul have you found a solution to your problem? I have the same question...
I have a button whose code behind event I want fired when it's clicked on, but I don't want it to cause a postback... sounds strange (and someone illogical too, I appreciate that!), and there are possibly workarounds as well, but this is an interesting problem and I want to see if it can be resolved as is. anyone any ideas?
Paul, in case nobody's got a bright idea, you may want to take a look at:
http://ryanfarley.com/blog/archive/2005/03/11/1886.aspx
it explains how to determine what control caused the postback and then get creative from there. But I still badly want this question answered!
thanks for yout time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|