469,648 Members | 1,699 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,648 developers. It's quick & easy.

How to stop asp control from posting back?

Hi:

I would just like to run some java script I have added to a linkbutton's
attribute collection, but I don't want it to also post back. How do I stop
it from posting back?

Thanks,
Charlie
Nov 18 '05 #1
1 1110
It sounds like you should use a hyperlink, not a linkbutton.
The only real difference between the two is that the linkbutton does a
postback, so you're using the wrong control.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Charlie" <cf*******@radiustravel.com> wrote in message
news:ei*************@TK2MSFTNGP14.phx.gbl...
Hi:

I would just like to run some java script I have added to a linkbutton's
attribute collection, but I don't want it to also post back. How do I
stop it from posting back?

Thanks,
Charlie

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by brendan | last post: by
2 posts views Thread by Gopal Krish | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.