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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top