How to stop asp control from posting back?

  • Thread starter Thread starter Charlie
  • Start date Start date
C

Charlie

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
 
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.
 
Back
Top